|
|
@@ -230,7 +230,11 @@ if (LLAMA_BLAS)
|
|
|
if (${LLAMA_BLAS_VENDOR} MATCHES "Generic")
|
|
|
pkg_check_modules(DepBLAS REQUIRED blas)
|
|
|
elseif (${LLAMA_BLAS_VENDOR} MATCHES "OpenBLAS")
|
|
|
- pkg_check_modules(DepBLAS REQUIRED openblas)
|
|
|
+ # As of openblas v0.3.22, the 64-bit is named openblas64.pc
|
|
|
+ pkg_check_modules(DepBLAS openblas64)
|
|
|
+ if (NOT DepBLAS_FOUND)
|
|
|
+ pkg_check_modules(DepBLAS REQUIRED openblas)
|
|
|
+ endif()
|
|
|
elseif (${LLAMA_BLAS_VENDOR} MATCHES "FLAME")
|
|
|
pkg_check_modules(DepBLAS REQUIRED blis)
|
|
|
elseif (${LLAMA_BLAS_VENDOR} MATCHES "ATLAS")
|