Commit a4917965 authored by Amir Mohammadi's avatar Amir Mohammadi

search for openblas after mkl

parent aa6ede04
......@@ -90,6 +90,11 @@ if not math_flags['libraries']:
# tries first to find an MKL implementation
lapack = find_library('mkl_lapack64')
if not lapack:
# if that fails, go for openblas
lapack = find_library('openblas')
if not lapack:
# if that fails, go for the default implementation
lapack = find_library('lapack', subpaths=['sse2', ''])
......@@ -100,6 +105,11 @@ if not math_flags['libraries']:
# tries first to find an MKL implementation
blas = find_library('mkl')
if not blas:
# if that fails, go for openblas
blas = find_library('openblas')
if not blas:
# if that fails, go for the default implementation of cblas
blas = find_library('cblas', subpaths=['sse2', ''])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment