-
Notifications
You must be signed in to change notification settings - Fork 41
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
LLVM 13 Updates #73
LLVM 13 Updates #73
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
LIST(GET llvm_version_dir 0 llvm_to_use) | ||
# we detect the install location with brew --prefix llvm | ||
execute_process( | ||
COMMAND brew --prefix llvm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great. Have you tested it with older versions and multiple versions installed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With older versions, lets just call 13 the new minimum and dump an error if we are earlier. Out of scope for this PR, so if this works with multiple versions we are good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It appears to work as expected.
$ brew install llvm@12
$ mkdir build && cd build
$ cmake .. -GNinja
$ cmake --build .
Compiles and points to the right llvm.
Looks good to me, just one question. Let me know if you want me to tets that for you. |
@jaredwy Thanks for the suggestion to test multiple versions. It works as expected on my machine with multiple versions of LLVM installed. If you're satisfied, please merge at your earliest convenience. |
Description
This change builds off of @fosterbrereton's branch
fosterbrereton/llvm13-updates
.llvm
..gitignore
to ignorebuild*/
boost::filesystem
change.Related Issue
Motivation and Context
Required to build with LLVM 13.
How Has This Been Tested?
Tested by running a ninja-powered build on my M1 laptop.
Screenshots (if appropriate):
Types of changes
Checklist: