-
Notifications
You must be signed in to change notification settings - Fork 39
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
Issue/347/llvmpath #413
Issue/347/llvmpath #413
Conversation
- .github/workflows/dev_version_script.py - .github/workflows/vb_script.py - bin/utils.py - doc/conf.py - setup.py
…on Darwin systems.
Hello. You may have forgotten to update the changelog!
|
Codecov Report
@@ Coverage Diff @@
## master #413 +/- ##
=======================================
Coverage 99.82% 99.82%
=======================================
Files 49 49
Lines 4517 4517
=======================================
Hits 4509 4509
Misses 8 8
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
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.
Thanks @vincentmr
I'll aim to test this against a non brew LLVM installation with the env var and confirm all is well.
Also, did the linter make the quote/whitespace/newline changes?
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.
Thank you for tackling this issue.
Co-authored-by: Amintor Dusko <87949283+AmintorDusko@users.noreply.github.com>
Conflicts: doc/conf.py pennylane_lightning/_version.py setup.py
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.
Thanks @vincentmr
Happy to approve
@mlxd I had in mind that the compiler would necessarily by |
I think it is fine to assume the path will be |
Co-authored-by: Amintor Dusko <87949283+AmintorDusko@users.noreply.github.com>
I agree, but I was wondering since the conda-forge build outputs paths such as
and in the Anaconda doc compilers include platform-dependent prefixes/suffixes. After spawning a container, I'm not quite able to reproduce all the build steps and I'm wondering whether the proper symlinks are created down the line. |
Ah, I understand now. In that case, since we cannot control the compiler triples/paths, it probably is the path of least resistance to just pass in the direct path to |
Since we are modifying |
Sounds good. I'll revoke approval and review again once the new path changes are added. |
I have not had specific feedback from Bastian on the changes here, but the changes allow building PL and PLL on conda-forge, which was the main goal (see conda-forge/pennylane-lightning-feedstock#16). So I think the PR could move forward and be merged when ready. |
We need #416 merged before reviewing this one. |
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.
Thanks for the work here @vincentmr
If this solves the issues #347 happy to approve
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.
Thank you, @vincentmr!
Hey @vincentmr, don't forget to update the branch reference in conda-forge after merging this PR. |
Good point. I'll make a few more tests, then merge. Thanks for your reviews. |
Context:
conda-forge
builders cannot usebrew
to get the root of thellvm
installation which prevents creating up-to-date PL-Lightning Conda-Forge packages.Description of the Change:
Allow getting the
llvm
installation root from the environment variableLLVM_ROOT_DIR
.Benefits:
Maintain PL-Lightning Conda-Forge packages.
Possible Drawbacks:
None.
Related GitHub Issues:
#347