Closed mike-kfed closed 10 months ago
As https://github.com/xianyi/OpenBLAS/issues/4011, sometimes, we also need to add RANLIB=ranlib
to cross compile on some systems.
Could you help add OPENBLAS_RANLIB to the list?
I added OPENBLAS_RANLIB
now, but you @Dirreke will have to test it, as ranlib is not my usecase. please let me know if that works for you ^^
It works! Thanks!
I think it will be great if we add some default parameter to this. Would you like to do this? Or would you like to give me auth to edit this PR?
I don't think that there is a meaningful default for cross compiling, the build script cannot read the devs mind which target to pick. And for compiling onto the host platform this crate works fine.
Maybe we can get the parameters by cc
.
On the other hand, you are right. It's enough for crossing compile
@mike-kfed Do you have time to rebase this PR? @termoshtt Would you like to mearge this PR? It can really solve the cross-compile issue on many platforms. Thanks
this should fix issue #101
together with PR rust-ndarray/ndarray-linalg#354 I can run this successfully on a x86_64 machine to cross compile for a Raspi 4