diff options
author | Matti Picus <matti.picus@gmail.com> | 2020-06-17 21:35:26 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-17 21:35:26 +0300 |
commit | 8245b392a344a1ae0db6e569ab68b368ad8883c1 (patch) | |
tree | e1c5325e8d9114b69e59b3b3ba0cb538fdcbc1e0 /numpy/core/setup.py | |
parent | 02883d85b5d3f68c12cb1df75f96e0fed741d4a4 (diff) | |
parent | e72653810f470415f4d78c8a9ea874370a526126 (diff) | |
download | numpy-8245b392a344a1ae0db6e569ab68b368ad8883c1.tar.gz |
Merge pull request #13516 from seiko2plus/core_improve_infa_build
ENH: enable multi-platform SIMD compiler optimizations
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r-- | numpy/core/setup.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py index 5351b30bf..549860179 100644 --- a/numpy/core/setup.py +++ b/numpy/core/setup.py @@ -738,6 +738,7 @@ def configuration(parent_package='',top_path=None): join('src', 'common', 'ufunc_override.h'), join('src', 'common', 'umathmodule.h'), join('src', 'common', 'numpyos.h'), + join('src', 'common', 'npy_cpu_dispatch.h'), ] common_src = [ @@ -939,8 +940,11 @@ def configuration(parent_package='',top_path=None): # umath_tests module # ####################################################################### - config.add_extension('_umath_tests', - sources=[join('src', 'umath', '_umath_tests.c.src')]) + config.add_extension('_umath_tests', sources=[ + join('src', 'umath', '_umath_tests.c.src'), + join('src', 'umath', '_umath_tests.dispatch.c'), + join('src', 'common', 'npy_cpu_features.c.src'), + ]) ####################################################################### # custom rational dtype module # |