mirror of
https://github.com/ziglang/zig.git
synced 2024-12-12 14:16:59 +00:00
stage2: fix path to cache artifacts in libcxx,
libtsan, libunwind, and libcxxabi.
This commit is contained in:
parent
d6c5602d46
commit
dbd0a2c35d
@ -219,10 +219,9 @@ pub fn buildLibCXX(comp: *Compilation) !void {
|
||||
|
||||
assert(comp.libcxx_static_lib == null);
|
||||
comp.libcxx_static_lib = Compilation.CRTFile{
|
||||
.full_object_path = try sub_compilation.bin_file.options.emit.?.directory.join(
|
||||
comp.gpa,
|
||||
&[_][]const u8{basename},
|
||||
),
|
||||
.full_object_path = try sub_compilation.bin_file.options.emit.?.directory.join(comp.gpa, &[_][]const u8{
|
||||
sub_compilation.bin_file.options.emit.?.sub_path,
|
||||
}),
|
||||
.lock = sub_compilation.bin_file.toOwnedLock(),
|
||||
};
|
||||
}
|
||||
@ -352,10 +351,9 @@ pub fn buildLibCXXABI(comp: *Compilation) !void {
|
||||
|
||||
assert(comp.libcxxabi_static_lib == null);
|
||||
comp.libcxxabi_static_lib = Compilation.CRTFile{
|
||||
.full_object_path = try sub_compilation.bin_file.options.emit.?.directory.join(
|
||||
comp.gpa,
|
||||
&[_][]const u8{basename},
|
||||
),
|
||||
.full_object_path = try sub_compilation.bin_file.options.emit.?.directory.join(comp.gpa, &[_][]const u8{
|
||||
sub_compilation.bin_file.options.emit.?.sub_path,
|
||||
}),
|
||||
.lock = sub_compilation.bin_file.toOwnedLock(),
|
||||
};
|
||||
}
|
||||
|
@ -238,10 +238,9 @@ pub fn buildTsan(comp: *Compilation) !void {
|
||||
|
||||
assert(comp.tsan_static_lib == null);
|
||||
comp.tsan_static_lib = Compilation.CRTFile{
|
||||
.full_object_path = try sub_compilation.bin_file.options.emit.?.directory.join(
|
||||
comp.gpa,
|
||||
&[_][]const u8{basename},
|
||||
),
|
||||
.full_object_path = try sub_compilation.bin_file.options.emit.?.directory.join(comp.gpa, &[_][]const u8{
|
||||
sub_compilation.bin_file.options.emit.?.sub_path,
|
||||
}),
|
||||
.lock = sub_compilation.bin_file.toOwnedLock(),
|
||||
};
|
||||
}
|
||||
|
@ -142,11 +142,11 @@ pub fn buildStaticLib(comp: *Compilation) !void {
|
||||
try sub_compilation.updateSubCompilation();
|
||||
|
||||
assert(comp.libunwind_static_lib == null);
|
||||
|
||||
comp.libunwind_static_lib = Compilation.CRTFile{
|
||||
.full_object_path = try sub_compilation.bin_file.options.emit.?.directory.join(
|
||||
comp.gpa,
|
||||
&[_][]const u8{basename},
|
||||
),
|
||||
.full_object_path = try sub_compilation.bin_file.options.emit.?.directory.join(comp.gpa, &[_][]const u8{
|
||||
sub_compilation.bin_file.options.emit.?.sub_path,
|
||||
}),
|
||||
.lock = sub_compilation.bin_file.toOwnedLock(),
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user