From 6bd965a067542473b481d573c7dd3b2c4de108c8 Mon Sep 17 00:00:00 2001 From: Kbz-8 Date: Wed, 10 Dec 2025 15:21:24 +0100 Subject: [PATCH] fixing build --- build.zig | 4 ++-- build.zig.zon | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/build.zig b/build.zig index 107d332..01d93bc 100644 --- a/build.zig +++ b/build.zig @@ -174,7 +174,7 @@ fn addCTestRunner(b: *std.Build, impl: *const ImplementationDesc, exe: *std.Buil } fn addCTS(b: *std.Build, target: std.Build.ResolvedTarget, impl: *const ImplementationDesc, impl_lib: *std.Build.Step.Compile, comptime gdb: bool) !*std.Build.Step { - const cts = b.lazyDependency("cts_bin", .{}) orelse return error.CouldNotFetchCTS; + const cts = b.dependency("cts_bin", .{}); const cts_exe_name = cts.path(b.fmt("deqp-vk-{s}", .{ switch (if (target.query.os_tag) |tag| tag else builtin.target.os.tag) { @@ -235,7 +235,7 @@ fn addCTS(b: *std.Build, target: std.Build.ResolvedTarget, impl: *const Implemen } fn addMultithreadedCTS(b: *std.Build, target: std.Build.ResolvedTarget, impl: *const ImplementationDesc, impl_lib: *std.Build.Step.Compile) !*std.Build.Step { - const cts = b.lazyDependency("cts_bin", .{}) orelse return error.CouldNotFetchCTS; + const cts = b.dependency("cts_bin", .{}); const cts_exe_name = cts.path(b.fmt("deqp-vk-{s}", .{ switch (if (target.query.os_tag) |tag| tag else builtin.target.os.tag) { diff --git a/build.zig.zon b/build.zig.zon index dc8ab1b..d0eb740 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -28,7 +28,6 @@ .cts_bin = .{ .url = "git+https://github.com/Kbz-8/Vulkan-CTS-bin#606ee47675ac1ba7a260983f020d6460efe05d2c", .hash = "N-V-__8AAHqjQhpVdUurt2jQc9gRHwT3_pugIvimGEu8iyrQ", - .lazy = true, }, .cpuinfo = .{ .url = "git+https://github.com/Kbz-8/cpuinfo#4883954cfcec3f6c9ca9c4aaddfc26107e08726f",