Skip to content

Commit 89a9ec3

Browse files
borg323mooskagh
authored andcommitted
make eigen the last blas option (#1025)
1 parent 65e13d8 commit 89a9ec3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

meson.build

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -228,12 +228,7 @@ if get_option('build_backends')
228228
endif
229229

230230
if get_option('blas')
231-
if get_option('eigen')
232-
add_project_arguments('-DUSE_EIGEN', language : 'cpp')
233-
has_blas = true
234-
deps += subproject('eigen').get_variable('eigen_dep')
235-
236-
elif get_option('mkl') and mkl_lib.found()
231+
if get_option('mkl') and mkl_lib.found()
237232
add_project_arguments('-DUSE_MKL', language : 'cpp')
238233
includes += include_directories(get_option('mkl_include'))
239234
deps += [ mkl_lib ]
@@ -271,6 +266,11 @@ if get_option('build_backends')
271266

272267
deps += [ openblas_lib ]
273268
has_blas = true
269+
270+
elif get_option('eigen')
271+
add_project_arguments('-DUSE_EIGEN', language : 'cpp')
272+
has_blas = true
273+
deps += subproject('eigen').get_variable('eigen_dep')
274274
endif
275275

276276
ispc = find_program('ispc', required: false)

0 commit comments

Comments
 (0)