-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Unable to build for MIPS #902
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
Comments
You need to add -march=mips32r5 to permit assembly instructions that your cpu has |
Thanks a lot! It works perfectly now |
Let @xianyi close just in case this can/should be integrated in build system |
Build instructions for P5600 (and other MIPS targets) as provided by ksraste in #949 have been included in the faq since then, so closing now |
I build 0.3.3 on mips64el there had something wrong: 1.msaflags unrecognized: |
Can you try with current 0.3.7 please ? I believe I fixed the axpy failure some time ago. (And I think you need a toolchain with gcc 4.9 or newer for the -msched-weight option to be recognized ). |
thanks a lot.. there is failed test on cblas_cherk : ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* ******* FATAL ERROR - TESTS ABANDONED ******* |
I think test is faulty, it is just one bit change in first |
@brada4 test is the same on all platforms, and every bit counts (could be an overflow or register overwrite) |
Hmmm. I have to admit now that the error does look suspiciously similar to #46 - @zhongtianxie could you please check if adding
after line 1505 in ctest/c_cblat3.f (as was done in test/cblat3.f years ago) makes the error go away ? (This would probably be needed in the same location in c_zblat3.f as well to avoid false errors for cblas_zherk) |
Hi,
Hi, I have followed the instructions to build OpenBLAS for Android and made a GNU toolchain for Android with Fortran support following the guide here: https://github.com/buffer51/android-gfortran
When I use
make TARGET=P5600 HOSTCC=gcc CC=mipsel-linux-android-gcc FC=mipsel-linux-android-gfortran
, I get the error: http://paste.ubuntu.com/16884117/Can you help me please. Thank you very much!
The text was updated successfully, but these errors were encountered: