Skip to content

Commit

Permalink
revert to dynamic linking of openblas
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoMVale authored Jan 25, 2025
1 parent 92328d6 commit bba2172
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ if host_machine.system() == 'darwin'
add_project_link_arguments('-framework', 'Accelerate', language: ['c', 'fortran'])
blas_dep = declare_dependency()
else
blas_dep = dependency('openblas', required: false, static: true)
# static linking does not work in cibuildwheel
blas_dep = dependency('openblas', required: false)
if not blas_dep.found()
blas_dep = c_compiler.find_library('openblas', required: false, static: true)
blas_dep = c_compiler.find_library('openblas', required: false)
endif
endif

Expand Down

0 comments on commit bba2172

Please sign in to comment.