git clone https://github.com/xianyi/OpenBLAS.git
cd OpenBLAS
make
make install PREFIX=your_installation_directory
gcc -o test test.c -I /your_path/OpenBLAS/include/ -L/your_path/OpenBLAS/lib -lopenblas
原文:https://www.cnblogs.com/yaos/p/12122210.html