-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Enhancement request: lapack recipe using OpenBLAS #2824
Comments
Oh, that's nice! +1 for getting rid of Are you considering trying yourself or we should schedule/advertise the proposal? 😁 |
Advertise, I have external things going on. And I look at all the issues I just posted as possible training projects to allow other people to get inside the tools a little (one more enhancement request to come). |
Hi @mzakharo! (sorry for the ping) I do not know if it happen that you're still active on I was wondering if you may be interested in working on this proposal, as you're the #2615 author, and you're likely (100% sure) most knowledgeable than me on |
Lapack is not the end goal. Scipy needs Fortran last time I checked. Is this no longer the case? |
You're right. As I said, you're more knowledgeable than me on |
Will Scipy run through f2c? If not a built cache would address the complexity issue for most users. #2823 |
Currently, Scipy is relying on Meson for their cross-compilation and meson seems to be supporting ios and android. So may be we can try to venture into Meson and try out the cross-compilation for scipy. Next, we have the open-sourced methodology for cross -compilation for android by Chaquopy and for ios through Beeware. They have been successful in cross-compiling their own gfortran used for cross compiling scipy. Old repo but possibly showing the methodology for cross-compilation for android irrespective of ndk version (??): |
Hi, I'm a member of the Chaquopy and BeeWare projects. We're actually not compiling our own gfortran for Android anymore; we're doing the same as Kivy and using the prebuilt gfortran from @mzakharo. But as I've just posted at #2615 (comment), I'm not sure how long this will continue to be feasible. On iOS we haven't found any adequate Fortran compiler yet – see beeware/mobile-forge#10. |
Description
The current
lapack
recipe implementation usingLEGACY_NDK
is clever but somewhat baroque. And not all users can navigate the steps.Consider using
lapack
fromOpenBLAS
, it containslapack
(the same version 3.10.1) that has been run throughf2c
.So
lapack
can be be built with a C compiler, no extra NDK!This is now the default behavior of OpenBLAS, so we might reasonably think it is stable.
From https://www.openblas.net/Changelog.txt
An alternative might be to use f2c directly, since OpenBLAS contains C not Fortran it is possible this translation has issues with automation. Impossible to know without trying it.
The text was updated successfully, but these errors were encountered: