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
Implement compile-time check for minimum LAPACK version #9659
Comments
If there is a possibility to initially compile a single symbol, |
I guess one can compile and run a simple program in a subprocess? numpy seems to do something fancier at build time: https://github.com/numpy/numpy/blob/master/numpy/core/setup.py#L667 |
Looks like |
One other option is of course to implement the version check as a test. |
Bumping the milestone on this one -- I've had some success doing this kind of thing for OpenBLAS in NumPy in numpy/numpy#12790, but experience there suggests we probably won't want to rush this in before cutting the branch |
bumping milestone |
In v1.2.0 we increased the minimum required LAPACK version to 3.4.1. That created, for the first time in a very long time, a situation where some distros and macOS ship LAPACK implementations that don't meet our requirements. We now don't check for that situation thoroughly, but may fail at import time (e.g. gh-9657).
We should fix this as far as possible. Not completely trivial to do, since there is no API for this. Probably the best way is to do a compile time check for the presence of some function that was introduced in the minimum LAPACK version we require.
The text was updated successfully, but these errors were encountered: