authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-08-17 18:02:03-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-08-19 12:39:36-07:00
loge4b624eb7663ff3f3e10bff48024e7955d92b204
treedc7bf25e7fe3bec55b4747f59ca75093d643fe3a
parent83d41cf04dcec3d66a84b6c2a727621c076e971e

Maker: pass --build-root to configurer

also make --verbose work for compiling configurer

1 files changed, 2 insertions(+), 0 deletions(-)

lib/compiler/Maker.zig+2
......@@ -1120,6 +1120,7 @@ fn configure(graph: *Graph, options: ConfigureOptions) !ScannedConfig {
11201120 graph.zig_exe, "build-exe", //
11211121 "--cache-dir", graph.local_cache_root.path orelse ".", //
11221122 "--global-cache-dir", graph.global_cache_root.path orelse ".", //
1123 "--build-root", graph.build_root_directory.path orelse ".", //
11231124 "--zig-lib-dir", graph.zig_lib_directory.path orelse ".", //
11241125 "--name", configurer_exe_name, //
11251126 "-fsingle-threaded", //
......@@ -1424,6 +1425,7 @@ fn configure(graph: *Graph, options: ConfigureOptions) !ScannedConfig {
14241425 break :cp .{ path, man.toOwnedLock() };
14251426 }
14261427 }
1428 try graph.handleVerbose(null, null, build_configurer_argv.items);
14271429 const configure_exe_path: Path = if (std.zig.buildExeSubprocess(gpa, io, .{
14281430 .argv = build_configurer_argv.items,
14291431 .cache_root = graph.local_cache_root,