-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build LLVM on Linux from Official Release Tarball. #1735
base: master
Are you sure you want to change the base?
Conversation
…oning the git repo.
did not verify, but this is the way its supposed to be done. |
Also I found a simpler/faster way to build on linux with standard clang-llvm-13 binaries see here #1738 (comment) |
@mingodad: i modified my master branch to use distro llvm for building beef. have only tried on arch linux tho. feel free to add build instructions for ubuntu, if this is relevant for you. chances are, you gotta set a different CMAKE_PREFIX_PATH to have cmake find the right llvm version on ubuntu. |
Hello @flying-dude I don't see that you have added any conditional macro on the source files that reference
Also I didn't found any mention to the missing
|
i commented all the manual inclusion of llvm facilities from the cmake files. instead i use cmake feature for libffi i didn't do any changes. it's just done the same way how upstream does it, which is to compile manually. see here. i did deactivate the custom backend. everything still works but it will always use llvm. the macros for deactivating the custom backend are here. |
For building llvm, this will download the official release tarball and verify the download.
Previously, it was just cloning the git repo at the release tag. And then proceeded without verifying the download.