Skip to content

Commit

Permalink
ppc64le SSE2 support now detected, -DUSESSE2 no longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
t20100 committed Jan 6, 2023
1 parent 0e3fc2b commit 8f88193
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -880,10 +880,6 @@ def get_bitshuffle_plugin():
extra_compile_args = ['-O3', '-ffast-math', '-std=c99', '-fopenmp']
extra_compile_args += ['/Ox', '/fp:fast', '/openmp']
extra_link_args = ['-fopenmp', '/openmp']
if platform.machine() == "ppc64le":
sse2_options = {'extra_compile_args': ['-DUSESSE2']}
else:
sse2_options = {}

return HDF5PluginExtension(
"hdf5plugin.plugins.libh5bshuf",
Expand All @@ -899,7 +895,6 @@ def get_bitshuffle_plugin():
define_macros=[("ZSTD_SUPPORT", 1)],
extra_compile_args=extra_compile_args,
extra_link_args=extra_link_args,
sse2=sse2_options,
)


Expand Down

0 comments on commit 8f88193

Please sign in to comment.