Closed justdan96 closed 1 year ago
I've tested this a few times, please review and let me know.
@justdan96 so I run the script to compile the latest Apple Clang 12 compiler. At the end got:
Done!
cd into '[...]/osxcross/build/' and type 'make install' to install clang/llvm to '/usr/local'
but there is no Makefile in that directory
It actually should be:
cd build/build_stage && make install
Ah, looks like line 196 needs to be corrected.
Edit: this has now been fixed.
This PR updates the build_clang.sh script to build Clang releases from Apple or LLVM Org GitHub repos. I've successfully tested with official LLVM and Apple sources, which can now be switched through the
GITPROJECT
variable.I've also added comments here and there to help with maintainability.