-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
BUG: SciPy requires OpenBLAS even when building against a different library #17736
Comments
Hi @AndreaCogliati, thank you for reporting. I would suggest you have a read at our developer documentation: https://scipy.github.io/devdocs/dev/contributor/contributor_toc.html#development-environment There are a few build dependencies to install. You should not have to define a |
To expand on what @tupui said, we're in the middle of a build system transition from distutils to Meson.
If there's no pkg-config or CMake detection support for ArmPL, then craft your own The instructions in https://scipy.github.io/devdocs/dev/contributor/meson_advanced.html#select-a-different-blas-or-lapack-library for this need a tweak, the |
@rgommers thanks! That saved me a lot of reading! I was confused by the I tried your suggestion, but now the build fails with the error I downloaded version 1.9.3 source code files because it's the latest version supporting GCC 7.5.0, which I have to use on my system. Do I have to clone the git repo for the build to work? The build ends in:
Full log:
|
It should work from an sdist too. To be sure: you did download an sdist (so |
@rgommers I downloaded |
Okay, let me look into that now. We build wheels via sdists regularly, so I'm not sure what is going on there. In the meantime, cloning the git repo and checking out the |
Closes scipygh-17736 [skip cirrus] [skip azp] [skip actions]
Not sure if it’s relevant, but I was able to build from the same folder (with OpenBLAS) with `pip install .`On Jan 7, 2023, at 12:11 PM, Ralf Gommers ***@***.***> wrote:
Okay, let me look into that now. We build wheels via sdists regularly, so I'm not sure what is going on there. In the meantime, cloning the git repo and checking out the v1.9.3 tag should get you past this hurdle.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
To test I downloaded that same sdist and then tried:
That reminded me that |
I opened gh-17743 with doc updates for this issue. |
I did that, and it built succesfully. However, it doesn't seem to have linked the ArmPL libraries. Here's the output of
|
That |
I see. I think I saw the build output mentioning ArmPL. However, I don't have the log anymore. And the |
You can do |
Closes gh-17736 [skip cirrus] [skip azp] [skip actions]
…y#17743) Closes scipygh-17736 [skip cirrus] [skip azp] [skip actions]
Describe your issue.
I tried to build SciPy against Arm Performance Libraries (ArmPL); however, the build fails because of missing OpenBLAS.
For context, I was able to build NumPy against ArmPL using the same
site.cfg
.Reproducing Code Example
Build with
pip install .
SciPy/NumPy/Python version information
The text was updated successfully, but these errors were encountered: