From 1e87b2b78a0fb717e3f2e897c21f04990a274b2e Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Sat, 15 Oct 2022 07:54:29 -0700 Subject: [PATCH] mach: ecs now builds with self-hosted compiler Signed-off-by: Stephen Gutekanst --- build.zig | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/build.zig b/build.zig index dac557ac..5b9b444c 100644 --- a/build.zig +++ b/build.zig @@ -58,8 +58,7 @@ pub fn build(b: *Builder) !void { const all_tests_step = b.step("test", "Run library tests"); const glfw_test_step = b.step("test-glfw", "Run GLFW library tests"); const gpu_test_step = b.step("test-gpu", "Run GPU library tests"); - // TODO(self-hosted) uncomment this - // const ecs_test_step = b.step("test-ecs", "Run ECS library tests"); + const ecs_test_step = b.step("test-ecs", "Run ECS library tests"); const freetype_test_step = b.step("test-freetype", "Run Freetype library tests"); const basisu_test_step = b.step("test-basisu", "Run Basis-Universal library tests"); const sysaudio_test_step = b.step("test-sysaudio", "Run sysaudio library tests"); @@ -68,16 +67,14 @@ pub fn build(b: *Builder) !void { glfw_test_step.dependOn(&(try glfw.testStep(b, mode, target)).step); gpu_test_step.dependOn(&(try gpu.testStep(b, mode, target, options.gpuOptions())).step); freetype_test_step.dependOn(&freetype.testStep(b, mode, target).step); - // TODO(self-hosted) uncomment this - // ecs_test_step.dependOn(&ecs.testStep(b, mode, target).step); + ecs_test_step.dependOn(&ecs.testStep(b, mode, target).step); basisu_test_step.dependOn(&basisu.testStep(b, mode, target).step); sysaudio_test_step.dependOn(&sysaudio.testStep(b, mode, target).step); mach_test_step.dependOn(&testStep(b, mode, target).step); all_tests_step.dependOn(glfw_test_step); all_tests_step.dependOn(gpu_test_step); - // TODO(self-hosted) uncomment this - // all_tests_step.dependOn(ecs_test_step); + all_tests_step.dependOn(ecs_test_step); all_tests_step.dependOn(basisu_test_step); all_tests_step.dependOn(freetype_test_step); all_tests_step.dependOn(sysaudio_test_step); @@ -130,8 +127,7 @@ pub fn build(b: *Builder) !void { .{ .name = "advanced-gen-texture-light", .deps = &.{Packages.zmath} }, .{ .name = "fractal-cube", .deps = &.{Packages.zmath} }, .{ .name = "textured-cube", .deps = &.{ Packages.zmath, Packages.zigimg }, .has_assets = true }, - // TODO(self-hosted) uncomment this - // .{ .name = "ecs-app", .deps = &.{} }, + .{ .name = "ecs-app", .deps = &.{} }, .{ .name = "image-blur", .deps = &.{Packages.zigimg}, .has_assets = true }, .{ .name = "cubemap", .deps = &.{ Packages.zmath, Packages.zigimg }, .has_assets = true }, .{ .name = "map-async", .deps = &.{} },