summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python-numpy/files/x86/numpyconfig.h
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2019-10-27 19:36:48 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-08-04 23:17:38 +0100
commitc65ad03f2bd06223dc833009724533dde38cddc5 (patch)
treece606077e186d729c9cddcee95236c28f7f6619a /meta/recipes-devtools/python-numpy/files/x86/numpyconfig.h
parent3b60ea0339d24f195c9537ae6e3e10b355278fed (diff)
downloadpoky-c65ad03f2bd06223dc833009724533dde38cddc5.tar.gz
python3-numpy: Stop shipping manual config files
Automatic generation seems to work fine, and does not become outdated. (From OE-Core rev: 49a9b38bb8355aa6b3413335851b7b609356e33b) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8993270f8bc65e152418d84fde03f8ead83c054b) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python-numpy/files/x86/numpyconfig.h')
-rw-r--r--meta/recipes-devtools/python-numpy/files/x86/numpyconfig.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/meta/recipes-devtools/python-numpy/files/x86/numpyconfig.h b/meta/recipes-devtools/python-numpy/files/x86/numpyconfig.h
deleted file mode 100644
index ff7938cd96..0000000000
--- a/meta/recipes-devtools/python-numpy/files/x86/numpyconfig.h
+++ /dev/null
@@ -1,24 +0,0 @@
1#ifndef _NPY_NUMPYCONFIG_H_
2#define _NPY_NUMPYCONFIG_H_
3
4#include "_numpyconfig.h"
5
6/*
7 * On Mac OS X, because there is only one configuration stage for all the archs
8 * in universal builds, any macro which depends on the arch needs to be
9 * harcoded
10 */
11#ifdef __APPLE__
12 #undef NPY_SIZEOF_LONG
13 #undef NPY_SIZEOF_PY_INTPTR_T
14
15 #ifdef __LP64__
16 #define NPY_SIZEOF_LONG 8
17 #define NPY_SIZEOF_PY_INTPTR_T 8
18 #else
19 #define NPY_SIZEOF_LONG 4
20 #define NPY_SIZEOF_PY_INTPTR_T 4
21 #endif
22#endif
23
24#endif