-
Notifications
You must be signed in to change notification settings - Fork 97
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
Building on M1 mac (osx 12.2.1) #61
Comments
I don't know what goes wrong. Can you try to use 'cmake' to install it? See instruction on this page: |
I can confirm that the cmake instructions work on an M1 mac: mkdir build ; cd build
cmake -Denable_internal_blaslib=YES ..
make Then run one of the tests to confirm:
Note that the Readme says |
Ah, I see @maczikasz was specifically referring to using brew's OpenBLAS on M1. That still works, though the Readme instructions are incomplete. One must manually append the link path so the linker can find mkdir build ; cd build
cmake -DTPL_BLAS_LIBRARIES=openblas ..
LIBRARY_PATH="/opt/homebrew/opt/openblas/lib/" make @xiaoyeli have you considered CMake's |
CMakeLists.txt does use find_package(BLAS). What more needs to be done? |
Hi
I am trying to build SuperLu from source on my m1 macbook. I copied over the mac make.inc but I am getting the following errors:
I changed
BLASLIB = /opt/homebrew/opt/openblas/lib/libopenblas.a
to point to the openblas installation on my mac, but to no availThe text was updated successfully, but these errors were encountered: