summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-numpy
Commit message (Collapse)AuthorAgeFilesLines
* python3-numpy: upgrade 1.26.3 -> 1.26.4Trevor Gamblin2024-02-091-51/+0
| | | | | | | | | | | | | | Changelog: https://github.com/numpy/numpy/releases/tag/v1.26.4 Upgrade to pull in a variety of bug fixes. The same number of ptests (6) fail as in 1.26.3, so no regression there. (From OE-Core rev: 0314d2b43701984b5648bce9ca9aaeba5f768b78) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: Use Large File Support version of fallocateOla x Nilsson2024-01-271-0/+51
| | | | | | | | | | This was supposed to always be the case from upstream but was exposed by the 64-bit-time QA checker when file function scanning was enabled. (From OE-Core rev: 3d556e59f658ac29615fb7a14b6ea48533122ff6) Signed-off-by: Ola x Nilsson <olani@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: upgrade 1.26.2 -> 1.26.3Wang Mingyu2024-01-191-6/+4
| | | | | | | | | | | | | | 0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch refreshed for 1.26.3 Changelog: https://github.com/numpy/numpy/releases/tag/v1.26.3 (From OE-Core rev: 04d1c142274702726f8fc7afed7420d9e6f07ddd) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: Fix reproducibility issueRichard Purdie2023-10-012-37/+33
| | | | | | | | | | | | Add a patch to fix the reproducibility issue being seen during testing. The issue is from a poor choice of regex against the compiler flags, being triggered by different path names. Drop the previous attempt at fixing this as it wasn't that. (From OE-Core rev: c4d1dc5e33734b94835e7f5e0e1746d4a6542b55) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: Attempt to fix reproducibility issueRichard Purdie2023-09-051-0/+37
| | | | | | | | | | | | We've seen reproducibility failures where it appears an extra -O3 compiler flag ends up in the multiarray library compilation. This can only really have come through extra_info for BLASS support since it only affects just this library. Rather than try and track down exactly where this came from in a rabbit warren of code, just disable this since we don't have any of the dependencies anyway. (From OE-Core rev: 1d07be514ccacedb4d1ac48e0fdd3a36ae098698) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: upgrade to 1.24.2Martin Jansa2023-02-191-77/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * remove patch applied upstream * FWIW: this version still fails to build with DEBUG_BUILD AND gcc-13 as shown in: http://errors.yoctoproject.org/Errors/Details/689841/ In file included from TOPDIR/tmp-glibc/work/core2-64-oe-linux/python3-numpy/1.24.1-r0/recipe-sysroot-native/usr/lib/x86_64-oe-linux/gcc/x86_64-oe-linux/13.0.1/include/immintrin.h:57, from TOPDIR/tmp-glibc/work/core2-64-oe-linux/python3-numpy/1.24.1-r0/numpy-1.24.1/numpy/distutils/checks/cpu_avx512_knl.c:14: In function '_mm512_mask_prefetch_i64scatter_pd', inlined from 'main' at TOPDIR/tmp-glibc/work/core2-64-oe-linux/python3-numpy/1.24.1-r0/numpy-1.24.1/numpy/distutils/checks/cpu_avx512_knl.c:23:5: TOPDIR/tmp-glibc/work/core2-64-oe-linux/python3-numpy/1.24.1-r0/recipe-sysroot-native/usr/lib/x86_64-oe-linux/gcc/x86_64-oe-linux/13.0.1/include/avx512pfintrin.h:180:3: error: 'base' may be used uninitialized [-Werror=maybe-uninitialized] 180 | __builtin_ia32_scatterpfqpd (__mask, (__v8di) __index, __addr, __scale, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | __hint); | ~~~~~~~ <built-in>: In function 'main': <built-in>: note: by argument 3 of type 'const void *' to '__builtin_ia32_scatterpfqpd' declared here TOPDIR/tmp-glibc/work/core2-64-oe-linux/python3-numpy/1.24.1-r0/numpy-1.24.1/numpy/distutils/checks/cpu_avx512_knl.c:18:9: note: 'base' declared here 18 | int base[128]; | ^~~~ In file included from TOPDIR/tmp-glibc/work/core2-64-oe-linux/python3-numpy/1.24.1-r0/recipe-sysroot-native/usr/lib/x86_64-oe-linux/gcc/x86_64-oe-linux/13.0.1/include/immintrin.h:53, from numpy/core/src/umath/simd.inc.src:25: TOPDIR/tmp-glibc/work/core2-64-oe-linux/python3-numpy/1.24.1-r0/recipe-sysroot-native/usr/lib/x86_64-oe-linux/gcc/x86_64-oe-linux/13.0.1/include/avx512fintrin.h: In function 'AVX512F_square_CFLOAT': TOPDIR/tmp-glibc/work/core2-64-oe-linux/python3-numpy/1.24.1-r0/recipe-sysroot-native/usr/lib/x86_64-oe-linux/gcc/x86_64-oe-linux/13.0.1/include/avx512fintrin.h:314:1: error: inlining failed in call to 'always_inline' '_mm512_setzero_ps': target specific option mismatch 314 | _mm512_setzero_ps (void) | ^~~~~~~~~~~~~~~~~ numpy/core/src/umath/simd.inc.src:977:20: note: called from here 977 | @vtype@ zeros = _mm512_setzero_@vsuffix@(); | ^~~~~~~~~~~~~~~~~~~ numpy/core/src/umath/simd.inc.src:596:1: error: inlining failed in call to 'always_inline' 'avx512_get_full_load_mask_ps': target specific option mismatch 596 | avx512_get_full_load_mask_ps(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ It will be probably resolved in next release from 1.25 as whole simd.inc.src was removed in: https://github.com/numpy/numpy/commit/640e85017aa8eac3e9be68b475acf27d623b16b7 but this PR https://github.com/numpy/numpy/pull/21056 wasn't backported to maintenance/1.24.x and probably isn't worth backporting now as neither DEBUG_BUILD is enabled by default nor gcc-13 merged in oe-core, and the changes don't backport cleanly. (From OE-Core rev: 8596678667797971559aed962b1c204266032186) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: Define _ALIGN using _Alignof when using C11 or newerKhem Raj2023-01-201-0/+77
| | | | | | | | (From OE-Core rev: ceb09d1def7d0f6daa5c2216e9876874ac8261dd) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: upgrade 1.23.4 -> 1.24.1Alexander Kanavin2023-01-061-28/+0
| | | | | | | | (From OE-Core rev: c28b9e57cae7bcc4e97b021f687051f0ecb7821e) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: update 1.22.3 -> 1.22.4Alexander Kanavin2022-06-221-0/+28
| | | | | | | | (From OE-Core rev: 6d87caa86df3109b8f45d287094281b02c7c0ac0) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: update 1.22.1 -> 1.22.2Alexander Kanavin2022-02-081-29/+0
| | | | | | | | | Replace an ad hoc fix via patch with an upstream one. (From OE-Core rev: 991f8617b9ca9680b3f81cb215e3b39095260e7c) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: update 1.21.4 -> 1.22.0Alexander Kanavin2022-01-112-23/+46
| | | | | | | (From OE-Core rev: 6b9f2e078fb5653a1cedd64e90459e2f0780eb7e) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: move recipe to python directoryYi Zhao2021-11-153-0/+133
This recipe had been moved out from python directory since 2016[1] in order to share patches between python2 and python3. But now there is no reason to keep it in its own directory as we only keep python3-nump. Move it back to python directory. [1] https://git.openembedded.org/openembedded-core/commit/?id=9bffe2f9fb4ce6c0b265f27e5b484fbe076c6349 (From OE-Core rev: e5702b8ebd16949c736b8c2f18bf35c0d64d80bd) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>