diff options
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 # |