Closed lun-4 closed 1 year ago
Perhaps this is the commit you need? https://github.com/ziglang/zig/pull/13299/commits/8fc7b4d1401a70358bf54023363178d9c3e1f9de
It's part of https://github.com/ziglang/zig/pull/13299 which I'm planning to merge as soon as passes the CI.
That sounds about it, will test once I'm available! The compile times are a monster against time itself.
Indeed. You're talking to someone who built LLVM 7 times today alone
The mentioned commit is for CMake, not build.zig
, so the one I cherry picked was https://github.com/ziglang/zig/pull/13299/commits/73c2e91a0dee356048898d5b72e01969af9097e3. That fixes the mentioned error!
On unrelated news,
Running from Mac OS 12:
./build -j12 x86_64-linux-musl baseline
It compiled LLVM for the host, Zig for the host, LLVM for the target, but failed on the last step: Zig for the target (added
-x
to set for the debug command output).The
libzstd.a
archive that is in the--search-prefix
does contain symbols that the linker called missing, likeZSTD_compress
: