Description
Hi,
Im using OpenBLAS version v0.3.5.
I tried following instructions from here. I also tried followed discussion from #804. All these seemed quite complicated to build libopenblas.so for Android. I got errors like, "crtbegin_so.o not found", etc.
Later I built libopenblas.so using the below simple commands, and libopenblas.so was built like a charm.
Step 1: Install standalone toolchain as given here (Choose your API level accordingly)
Step 2: export PATH=$PATH:/your/toolchain_dir/bin/
Step 3: Make OpenBLAS using the below make command
make TARGET=ARMV8 ONLY_CBLAS=1 AR=aarch64-linux-android-ar CC="aarch64-linux-android-clang" HOSTCC=gcc -j4
No errors while building libopenblas.so.
I believe this is the right way to build libopenblas.so for Android. Request you to review the above commans and upate the Android build Wiki instructions accordingly.
Thanks,
San