-
Notifications
You must be signed in to change notification settings - Fork 24
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
Allowing multiple LLVM versions to be used. #119
Conversation
fc552ba
to
3702251
Compare
876c5c1
to
2c66ef4
Compare
…o ordering issues. Stopping --user as user site-packages are not visible in virtualenv.
a8d2f18
to
682d7cd
Compare
This does not fully address #35, but makes the change very simple. |
Hey @idavis, thanks for this! I've tested building with Let me know there is any other specific surface area I can help test. |
Thanks @nilslice ! I think the issue is that pyo3 isn't marked as an optional dependency. I'll give that a try and push. |
@nilslice Can you please pull and try again? |
@idavis That was it indeed - fixed. |
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.
Just a couple of questions, but overall looks ready to go!
This PR set up the ability to compile against multiple versions of LLVM. Setting
PYQIR_LLVM_FEATURE_VERSION
to one of the following valuesllvm11-0
,llvm12-0
, andllvm13-0
will change the LLVM version for all components.LLVM-IR
doesn't support LLVM 14, so 14 was not added to the build. The default value if the environment variable isn't set isllvm11-0
.I have not added and build configurations for CI. The default LLVM version for
qirlib
is not specified, but the build will fail if the features isn't set.This PR is based off of the work @nilslice did for #114.