Skip to content
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

Fixed LAPACK support for OpenBLAS in Android. #405

Closed
wants to merge 4 commits into from

Conversation

jadarve
Copy link

@jadarve jadarve commented Apr 1, 2017

Patch to support LAPACK in Android as discussed in #402

These changes require to modify the Android NDK and replace the x86 and arm7 toolchains with those provided in https://github.com/buffer51/android-gfortran/releases

@saudet
Copy link
Member

saudet commented Apr 1, 2017

Thanks! Could you move the build instructions to the wiki page for that though?
https://github.com/bytedeco/javacpp-presets/wiki/Build-Environments#android-arm-and-x86

@jadarve
Copy link
Author

jadarve commented Apr 1, 2017

I moved the instructions to the wiki page.

@saudet
Copy link
Member

saudet commented Apr 2, 2017 via email

@jadarve
Copy link
Author

jadarve commented Apr 5, 2017

Oh, actually I have not verified if the other presets build with the modified toolchain. I will try and let you know.

@saudet
Copy link
Member

saudet commented Aug 22, 2017

We now have Travis CI working thanks to @vb216. Could you make those toolchain adjustments in the build script at https://github.com/bytedeco/javacpp-presets/blob/master/ci/install-travis.sh#L127 ? We'll then be able to see easily that everything builds fine with those changes and finally merge this! Thanks a lot

@saudet
Copy link
Member

saudet commented May 26, 2018

android-gfortran hasn't been updated in over a year now. Would you know of any alternative?

@jadarve
Copy link
Author

jadarve commented May 26, 2018

I am not aware of any alternative.

@duanshanchong
Copy link

I have also encountered this problem. Have you solved it?

@saudet
Copy link
Member

saudet commented Apr 22, 2022

It looks like OpenBLAS no longer needs a Fortran compiler to build LAPACK, see pull OpenMathLib/OpenBLAS#3539.
Could you give that a try and update this pull request?

@saudet
Copy link
Member

saudet commented Aug 11, 2022

I've upgraded the presets for OpenBLAS 0.3.21 (see commit 7d9084f), which no longer requires a Fortran compiler to build LAPACK, so it's now available for all platforms, including Android, iOS, and Mac on ARM, so I think we can close this pull request. Please give it a try with the snapshots: http://bytedeco.org/builds/ Let me know if you encounter any issues with them though! Thank you

@saudet saudet closed this Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants