-
Notifications
You must be signed in to change notification settings - Fork 1.6k
OpenBLAS with ILP64 using conda appends a _ at the end of the library name #5257
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
Comments
Dumb question - which OpenBLAS version does this install, and is that a source or binary install ? |
I am a conda novice so bear with me...it installs 0.3.29 https://anaconda.org/anaconda/openblas and I believe it does a binary install, it is too quick to have built from source. |
We've been through a round of bugs with library naming after I tried to integrate new options for pre- and postfixing both default function and library names. But I think having a trailing underscore on the library name must be due to some unfortunate choice of build option rather than a wrong default in the build files @h-vetinari ? |
I cannot speak for the packages from the official Anaconda channels, I only help take care of the conda-forge side (built here, artefacts here). The whole LP/ILP integer model handling is of course a major PITA (thank C89 for making wobbly-sized integers the default). In conda-forge, we simply pass We could presumably patch the way that openblas creates the library name from the SYMBOLSUFFIX (or openblas could do it themselves), but IMO this sounds more like a problem of the expectations of CMake's You can check out here how the sausage is made. If you have some improvements to suggest, feel free to open a PR (or an issue with a fully filled issue template). For the anaconda channels, the recipe is elsewhere. |
hmmm.... yeah from the issue you posted it seems that the Keep up the good work! |
Feel free to close this if not relevant to the main openblas repo. When I install openblas via conda using:
conda install conda-forge::openblas-ilp64
it installs perfectly but the library name islibopenblas64_.a
which makes the nativefind_package(BLAS)
fail because it specifically looks for libopenblas64.aI can change the behaviour of my CMake to account for this but it would be ideal if it is not too big of a deal to also create
libopenblas64.a
Thanks in advance :)
The text was updated successfully, but these errors were encountered: