Skip to content

Commit 1ebf711

Browse files
Merge pull request numpy#14878 from mattip/remove-sse2
BUILD: remove SSE2 flag from numpy.random builds
2 parents d1d9dd5 + 4708211 commit 1ebf711

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

numpy/random/setup.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,6 @@ def generate_libraries(ext, build_dir):
4747
elif not is_msvc:
4848
# Some bit generators require c99
4949
EXTRA_COMPILE_ARGS += ['-std=c99']
50-
INTEL_LIKE = any(arch in platform.machine()
51-
for arch in ('x86', 'i686', 'i386', 'amd64'))
52-
if INTEL_LIKE:
53-
# Assumes GCC or GCC-like compiler
54-
EXTRA_COMPILE_ARGS += ['-msse2']
5550

5651
# Use legacy integer variable sizes
5752
LEGACY_DEFS = [('NP_RANDOM_LEGACY', '1')]

0 commit comments

Comments
 (0)