summaryrefslogtreecommitdiff
path: root/numpy/core/src
diff options
context:
space:
mode:
authorSayed Adel <seiko@imavr.com>2020-12-30 10:15:55 +0000
committerSayed Adel <seiko@imavr.com>2021-01-03 05:36:30 +0000
commitcaec7f21ce3ca2672e93781a379734295c00debe (patch)
treec765f9be7fb17767f16ec95fe792d46b3474c9ea /numpy/core/src
parent1b8b46b3f2f68f5be8e52e798eb91c2ac5952745 (diff)
downloadnumpy-caec7f21ce3ca2672e93781a379734295c00debe.tar.gz
BUG, BLD: Generate the main dispatcher config header into the build dir
The new path becomes `build/src.*/numpy/distutils/include/npy_cpu_dispatch_config.h` instead of `numpy/core/src/common/_cpu_dispatch.h`. The new path allows other projects to re-use the CPU dispatcher once we decide to expose the following headers: - `numpy/core/src/common/npy_cpu_dispatch.h` - `numpy/core/src/common/npy_cpu_features.h`
Diffstat (limited to 'numpy/core/src')
-rw-r--r--numpy/core/src/common/npy_cpu_dispatch.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/src/common/npy_cpu_dispatch.h b/numpy/core/src/common/npy_cpu_dispatch.h
index a0f82fa3d..f69fd2b2e 100644
--- a/numpy/core/src/common/npy_cpu_dispatch.h
+++ b/numpy/core/src/common/npy_cpu_dispatch.h
@@ -7,7 +7,7 @@
#include "npy_cpu_features.h" // NPY_CPU_HAVE
#include "numpy/utils.h" // NPY_EXPAND, NPY_CAT
/**
- * Bringing the main configration header '_cpu_dispatch.h'.
+ * Bringing the main configration header 'npy_cpu_dispatch_config.h'.
*
* This header is generated by the distutils module 'ccompiler_opt',
* and contains all the #definitions and headers of instruction-sets,
@@ -33,7 +33,7 @@
#define NPY__DISPATCH_DEFBOOL
typedef bool npy__dispatch_bkbool;
#endif
- #include "_cpu_dispatch.h"
+ #include "npy_cpu_dispatch_config.h"
#ifdef NPY_HAVE_VSX
#undef bool
#undef vector