Skip to content

Commit 55a3627

Browse files
authored
Merge pull request scipy#21857 from tylerjereddy/treddy_issue_21829
BLD: warn on accelerate + non-native
2 parents bcdcb51 + 18f293b commit 55a3627

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scipy/meson.build

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,9 @@ if blas_name == 'accelerate'
199199
if not macOS13_3_or_later
200200
error('macOS Accelerate is only supported on macOS >=13.3')
201201
endif
202+
if cc.get_id() != 'clang'
203+
warning('accelerate may not be properly detected with non-native Apple compiler due to https://github.com/mesonbuild/meson/issues/13608')
204+
endif
202205
_args_blas_lapack += ['-DACCELERATE_NEW_LAPACK']
203206
generate_blas_wrappers = true
204207
accelerate_flag = '-a'

0 commit comments

Comments
 (0)