blas-lapack-rs / openblas-src

Source of BLAS and LAPACK via OpenBLAS
Other
76 stars 47 forks source link

Make openblas-build work on macOS #54

Open termoshtt opened 3 years ago

termoshtt commented 3 years ago

Split from https://github.com/blas-lapack-rs/openblas-src/issues/44#issuecomment-748438531 and merges #49 issue because it is resolved by introducing of openblas-build crate on Linux.

macOS support of openblas-build crate looks have several problems.

maoe commented 3 years ago

I ran into the second error on macOS Big Sur with current master (87c64776). FWIW I was able to work around the issue by using a real gcc instead of the Apple's /usr/bin/gcc which is clang in disguise.

brew install gcc
CC=gcc-10 cargo test
termoshtt commented 7 months ago

We can test M1 macOS on CI #112 and I have MacBook. It's time to resolve this issue.