Closed yay closed 1 year ago
Oops!
I have to check why the build script does not populate this folder.
Hmmm... This is tricky. :-(
The folder is removed here:
The toolchain was intended for generic builds, it looks like you need it to build LLVM derived applications, and in this case you need the full LLVM distribution, not the clang toolchain.
Can you build the project with the Homebrew clang? If so, I can try to use a similar configuration.
If you mean with brew install llvm
? Yes.
Yeah, that's the difference, in HomeBrew it is called llvm
while this one is called clang
...
I'll try a full build, but I don't know how large the resulting archives will be.
I did a test build where I no longer removed the LLVM headers and what I considered less important executables.
Unfortunately the archive size increased from 115.6 to 236.4 MB, which is quite a lot (btw, do you know what c-index-test
and llvm-exegesis
do?)
I don't know yet how it'll end, on one side I'd like to keep the archive sizes within reasonable limits, on the other side I'd like to generally follow the HomeBrew distribution. We'll see...
Thank you for looking into this.
I don't happen to know what those executables do. I had to revert to Homebrew for older LLVM builds and for new ones, they were kind enough to start providing Apple silicon builds: https://github.com/llvm/llvm-project/issues/57575
I'll try to replicate the HomeBrew configuration, but I can't promise anything now.
The linux-x64 archive is larger (272.7 MB), and the Windows archive is usually even larger. :-(
No worries. Feel free to close this issue, if you don't feel comfortable about the bundle size or have other concerns.
For example, can't build Odin: https://github.com/odin-lang/Odin