Skip to content

Commit

Permalink
update c-blosc2 macros
Browse files Browse the repository at this point in the history
  • Loading branch information
t20100 committed Aug 27, 2024
1 parent 3305a76 commit 9db17b9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -942,15 +942,17 @@ def get_blosc2_plugin():
]
define_macros = [
('HAVE_PLUGINS', 1),
('SHUFFLE_SSE2_ENABLED', 1),
('SHUFFLE_AVX2_ENABLED', 1),
('SHUFFLE_AVX512_ENABLED', 1),
('SHUFFLE_NEON_ENABLED', 1),
('SHUFFLE_ALTIVEC_ENABLED', 1),
]
extra_compile_args = []
extra_link_args = []
libraries = []

if platform.machine() == 'ppc64le':
define_macros.append(('SHUFFLE_ALTIVEC_ENABLED', 1))
define_macros.append(('NO_WARN_X86_INTRINSICS', None))
if HostConfig.ARCH == 'ARM_8':
extra_compile_args += ['-flax-vector-conversions']
Expand Down

0 comments on commit 9db17b9

Please sign in to comment.