Skip to content

Commit

Permalink
try different flags for xtensor
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-urban committed Sep 25, 2024
1 parent ae017d3 commit 74762a4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions subprojects/packagefiles/xtensor/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@ xsimd_dep = dependency('xsimd',


if meson.get_compiler('cpp').get_id() == 'msvc'
xtensor_cpp_arg = ['-DXTENSOR_USE_XSIMD', '/EHsc', '/MP', '/bigobj']
xtensor_cpp_arg = ['-DXTENSOR_USE_XSIMD=1', '/EHsc', '/MP', '/bigobj']
elif meson.get_compiler('cpp').get_id() == 'clang-cl'
xtensor_cpp_arg = ['-DXTENSOR_USE_XSIMD=1', '/EHsc', '/MP', '/bigobj']
elif meson.get_compiler('cpp').get_id() == 'clang'
xtensor_cpp_arg = ['-DXTENSOR_USE_XSIMD']
xtensor_cpp_arg = ['-DXTENSOR_USE_XSIMD=1']
else
#xtensor_cpp_arg = ['-DXTENSOR_USE_XSIMD', '-march=native']
xtensor_cpp_arg = ['-DXTENSOR_USE_XSIMD']
xtensor_cpp_arg = ['-DXTENSOR_USE_XSIMD=1']
endif

xtensor_dep = declare_dependency(
Expand Down

0 comments on commit 74762a4

Please sign in to comment.