summaryrefslogtreecommitdiff
path: root/numpy/core
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2018-08-31 15:04:19 -0500
committerGitHub <noreply@github.com>2018-08-31 15:04:19 -0500
commit6c1b6e4e5f58d3501a0d2fbf33e7e506d42a0fbb (patch)
tree7f78529ee03cb4c895a7ee0d30afebab0817aed0 /numpy/core
parentafcc654bf55e47a6463e32240d8c673abe1ba80e (diff)
parent41a494b4ef9324e1af35f6e8c035fc4a92e4cf97 (diff)
downloadnumpy-6c1b6e4e5f58d3501a0d2fbf33e7e506d42a0fbb.tar.gz
Merge pull request #11849 from tylerjereddy/issue_11790_gcov
TST: reorder duplicate mem_overlap.c compile
Diffstat (limited to 'numpy/core')
-rw-r--r--numpy/core/setup.py21
1 files changed, 11 insertions, 10 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py
index b306aa4e8..1588a2634 100644
--- a/numpy/core/setup.py
+++ b/numpy/core/setup.py
@@ -710,6 +710,17 @@ def configuration(parent_package='',top_path=None):
include_dirs=[])
#######################################################################
+ # multiarray_tests module #
+ #######################################################################
+
+ config.add_extension('_multiarray_tests',
+ sources=[join('src', 'multiarray', '_multiarray_tests.c.src'),
+ join('src', 'common', 'mem_overlap.c')],
+ depends=[join('src', 'common', 'mem_overlap.h'),
+ join('src', 'common', 'npy_extint128.h')],
+ libraries=['npymath'])
+
+ #######################################################################
# _multiarray_umath module - common part #
#######################################################################
@@ -933,16 +944,6 @@ def configuration(parent_package='',top_path=None):
config.add_extension('_struct_ufunc_tests',
sources=[join('src', 'umath', '_struct_ufunc_tests.c.src')])
- #######################################################################
- # multiarray_tests module #
- #######################################################################
-
- config.add_extension('_multiarray_tests',
- sources=[join('src', 'multiarray', '_multiarray_tests.c.src'),
- join('src', 'common', 'mem_overlap.c')],
- depends=[join('src', 'common', 'mem_overlap.h'),
- join('src', 'common', 'npy_extint128.h')],
- libraries=['npymath'])
#######################################################################
# operand_flag_tests module #