Skip to content

Commit

Permalink
Catch empty -Dcustom_libraries for custom LAPACK
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinfriede committed Feb 15, 2025
1 parent 3f59889 commit 7b90751
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ elif lapack_vendor == 'openblas'
elif lapack_vendor == 'custom'
custom_deps = []
libs = get_option('custom_libraries')
if libs.length() == 0
error('Custom LAPACK vendor selected, but no custom libraries were provided. Please specify the custom libraries using the "-Dcustom_libraries" option.')
endif
if libs[0].startswith('-L')
foreach lib: libs
if lib != libs[0]
Expand Down

0 comments on commit 7b90751

Please sign in to comment.