fixing build cts
This commit is contained in:
@@ -243,7 +243,7 @@ fn addMultithreadedCTS(b: *std.Build, target: std.Build.ResolvedTarget, impl: *c
|
||||
run.addArg("run");
|
||||
run.addArg("--deqp");
|
||||
if (std.process.getEnvVarOwned(b.allocator, "ZIG_GLOBAL_CACHE_DIR")) |cache_path| {
|
||||
run.addArg(b.fmt("{s}/{s}", .{ cache_path, cts_exe_path }));
|
||||
run.addArg(b.fmt("{s}/../{s}", .{ cache_path, cts_exe_path }));
|
||||
} else |err| switch (err) {
|
||||
error.EnvironmentVariableNotFound => {
|
||||
run.addArg(cts_exe_path);
|
||||
|
||||
Reference in New Issue
Block a user