-
Notifications
You must be signed in to change notification settings - Fork 44
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
Cannot build on Debian without libatlas #67
Comments
Thanks for the heads up! Time to revisit that old openblas m4 file I guess. The openblas config path still works great on Fedora 40 though. Not sure I understand all the subtleties of the various BLAS avatars on Debian; help from an insider would be much appreciated. |
I'd be happy to help here. The "rule of thumb" is that the libraries on Debian can be found on the standard include resp. library directories, without the need of The library dir is If you have more questions, I'd gladly help. |
How about creating a new set of rules to detect BLAS and LAPACK separately? While Atlas and OpenBLAS have BLAS/LAPACK in the same library files, other modern implementations may have BLAS and LAPACK in separate packages, such the open-source Blis and Libflame libraries, or AMD's AOCL BLAS/LAPACK. Currently it is fairly hard to reuse the configurations for Atlas/OpenBLAs with the new libraries. |
On Debian, the atlas packages are going to be removed with the next release, which also affects the Astromatic packages (see f.e. Debian#1056688). As alternatives, we have openblas and lapack on their standard (Debian) places:
/usr/include/x86_64-linux-gnu/cblas.h
and/usr/lib/x86_64-linux-gnu/libopenblas.so
for openblas,/usr/include/lapacke.h
and/usr/lib/x86_64-linux-gnu/liblapacke.so
for lapacke.all these files are in the standard include resp. lib paths, and therefore no
-I…
or-L…
flags would be needed. However, the configure step fails stating thatand with explicitly searching in
/usr/include/x86_64-linux-gnu/
The mentioned function is however in
lapacke.h
:I think that is a problem with the m4 autoconf macros that they are irritated the different (although standard) directories for
cblas.h
andlapacke.h
. Could they be extended so that they also search in the standard include paths?The text was updated successfully, but these errors were encountered: