summaryrefslogtreecommitdiff
path: root/numpy/core/setup.py
diff options
context:
space:
mode:
authorSayed Adel <seiko@imavr.com>2020-06-13 18:15:52 +0200
committerSayed Adel <seiko@imavr.com>2020-06-16 18:42:02 +0200
commit86d25150c03fcddad5b0446342e2b55b38194053 (patch)
treef2fb6146189337d5dbf41192f4dedc632bb48d55 /numpy/core/setup.py
parent1bd0a621b56ff82f642c4e1f3ef4f05723a6a22a (diff)
downloadnumpy-86d25150c03fcddad5b0446342e2b55b38194053.tar.gz
ENH: [7/7] enable multi-platform SIMD compiler optimizations
Add testing unit for the utilites of CPU dispatcher
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r--numpy/core/setup.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py
index b59e60d9f..549860179 100644
--- a/numpy/core/setup.py
+++ b/numpy/core/setup.py
@@ -940,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 #