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
Building with no BLAS on Mac #7652
Comments
Best ask this on the mailing list. But if you want to build with no BLAS you can do
I don't know if that works correctly with all the build options (wheels, etc.) |
So, that is what we are trying to do now, but it doesn't seem to work. It still picks up Accelerate on Mac. |
OK, that would be a bug. OSX is special cased, so that probably needs a fix. |
Search for |
As this is something we are eager to have, we will likely come up with a patch that seems to fix our current issues. Though we can submit a PR and iterate on a proper solution once we can get a working building for our more immediate use case. |
The easiest, if hackish, fix might be to add an |
Thanks for all of the advice, @charris. We will give that a try and get back to you. |
This can be taken along or will be fixed when someone (might be me) finally gets around to reworking |
Closing as we no longer will pick up Accelerate. Please reopen if I misunderstood or if it is not clear how to achieve the configuration you desire. |
@mattip, the request in this issue is not about Accelerate, it's about disabling building NumPy with any BLAS. We just happened to have some peculiar issues with Accelerate specifically. This can be handy for space limited environments (e.g. Heroku) where users may want NumPy for basic array operations, but don't care about any BLAS routines. |
Did the suggestions on setting environment variables or using a setup.cfg fail to work? |
And, what does this do now?
|
It failed previously. Was not aware Accelerate is no longer used. So that seems like a good step in the right direction. Have not rechecked. Will try to find some time to do that. |
We also have |
Ok let's go ahead and close then. |
Thanks all for the work here! :) |
We are trying to build a copy of NumPy that uses no BLAS at all on several platforms including Mac. The main reason we are doing this is that most BLAS libraries are quite large and the system BLASes (e.g. Accelerate) are unreliable. So, in situations where space and/or time are heavily constrained downloading a pre-built BLAS is simply not an option. However, this doesn't appear to be an option on Mac even when we follow the recommended best practice based on the current logic. What can we do?
cc @pelson
The text was updated successfully, but these errors were encountered: