-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
load headers in right spot for all versions of clang? #24
Comments
@isuruf @jakirkham for viz This is why the xgboost build with cmake was failing. |
I think adding |
A PR to |
Right, but in the latest gfortran build for osx, you pinned llvm-openmp to 8 Do we need to globally remove all of these pinnings in conda forge? |
Given that we just rebuilt a bunch of packages with that pin, changing it now would require another rebuild of ~100 repos or so. |
Ah, yes. Usually |
I actually think my comment above is wrong. I think the dep is in libgfortran, not the parent package, so I don't think the rebuild would be needed for those. So we could
Then when we update pinnings, we have to make sure to move them together. |
We can't do 1. because a newer llvm-openmp is actually needed. |
:/ ok. Well then I think we need to adjust this repo to patch the right path with an activation script or something. |
And ofc @isuruf has better ideas :) from him:
|
Not sure if this is related or a separate issue. With $ ls ./lib/clang/
16 then $ mamba install llvm-openmp
...
$ ls ./lib/clang/
16 16.0.6
$ find ./lib/clang/16.0.6/
./lib/clang/16.0.6/
./lib/clang/16.0.6/include
./lib/clang/16.0.6/include/omp.h This is causing This looks like a bug in the llvm-openmp package, however... As mentioned, |
compiler-rt uses the same pattern (i.e. 16.0.6, not 16), so I think this is intentional, and should be working. I appreciate that you checked if there are existing open issues for you problem, but in this case it's a really tenuous relation. Please open a new issue and provide all the requested information (principally |
Done in #99 - looks like its mostly down to a change in install location for clang 16. |
Right now, if I have clang 4.0.1 in my env, but am using llvm-openmp 8.0.1, the compiler won't be able to find its headers at
$PREFIX/lib/clang/4.0.1/include/omp.h
because the version numbers differ. (The llvm-openmp package has them at$PREFIX/lib/clang/8.0.1/include/omp.h
in this case.)We should either force the versions to match or we need to link them properly somehow.
The text was updated successfully, but these errors were encountered: