summaryrefslogtreecommitdiff
path: root/numpy/core/src/private
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2018-07-04 09:58:51 -0700
committerGitHub <noreply@github.com>2018-07-04 09:58:51 -0700
commit491ff3eb821199d00fbb9fda4e73c4ded4be518d (patch)
treec368d0933a0018914a85f2350347b890e34454d6 /numpy/core/src/private
parent8eee9b7d3836b8d080b50e2dfb3ba98537a076c0 (diff)
parentfd1addf7b939b5189c24c4d032c454f419432379 (diff)
downloadnumpy-491ff3eb821199d00fbb9fda4e73c4ded4be518d.tar.gz
Merge pull request #11016 from stuartarchibald/wip/armv7_aarch32
ENH: Add AARCH32 support.
Diffstat (limited to 'numpy/core/src/private')
-rw-r--r--numpy/core/src/private/npy_config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/core/src/private/npy_config.h b/numpy/core/src/private/npy_config.h
index 107b3cb5b..8143e7719 100644
--- a/numpy/core/src/private/npy_config.h
+++ b/numpy/core/src/private/npy_config.h
@@ -15,7 +15,8 @@
* amd64 is not harmed much by the bloat as the system provides 16 byte
* alignment by default.
*/
-#if (defined NPY_CPU_X86 || defined _WIN32)
+#if (defined NPY_CPU_X86 || defined _WIN32 || defined NPY_CPU_ARMEL_AARCH32 ||\
+ defined NPY_CPU_ARMEB_AARCH32)
#define NPY_MAX_COPY_ALIGNMENT 8
#else
#define NPY_MAX_COPY_ALIGNMENT 16