-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
[Backport release-24.11] arpack: add ISO C binding and top arpack-mpi attribute #367463
[Backport release-24.11] arpack: add ISO C binding and top arpack-mpi attribute #367463
Conversation
don't backport this yet -- it breaks darwin. it seems to add single precision api which Accelerate doesn't like so darwin needs to link with openblas. |
will need to backport this PR #367594 for darwin |
use ninja, cmakeBool and remove unneeded install_name_tool usage in postFixup as the library name is already properly set by the build (cherry picked from commit 00baa26)
The arpack package included the eigen library and added it to the build inputs but neglected to enable its use by setting `EIGEN=ON` in the build flags. Enable support for eigenvalue-problems solver based on ICB and eigen and disable parallel checking as the tests fail when run in parallel. (cherry picked from commit 89e9ea2)
Copy darwin flags `-ff2c -fno-second-underscore` from workflow to use Accelerate without segfaulting / failing tests and enable the Accelerate framework when `useAccel` is true. https://github.com/opencollab/arpack-ng/blob/804fa3149a0f773064198a8e883bd021832157ca/.github/workflows/jobs.yml#L184-L192 (cherry picked from commit 2f215b7)
Cherry-picked the 4 commits from there in here as well. |
|
aarch64-darwin build fails with:
|
womp womp. linking with flat_namespace exposes a bug somewhere in our stack. this would fix it #370526 as would removing or adding |
oh -- this is only the |
Ah, mh. Maybe that package should be renamed then, because I got the error as something like this:
|
|
k. will fix the linker error too and send the PR to master. [edit] tho tests seem to be failing so maybe not. |
Bot-based backport to
release-24.11
, triggered by a label in #357259.