Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[24.10] numpy: bump to version 2.2.1 #25635

Open
wants to merge 1 commit into
base: openwrt-24.10
Choose a base branch
from

Conversation

commodo
Copy link
Contributor

@commodo commodo commented Dec 28, 2024

Maintainer: me
Compile tested: no
Run tested: no

Dropped:
003-without-vendored-meson.patch
004-workaround-for-multiple-top-level-packages-discovered.patch

This time, we really need to use meson to build numpy. And to make things more complicated, the 'vendored' meson package (that comes with numpy) must be used. This is because they have some special logic in there that's specific to numpy.

With this change, we also need to keep a special/internal 'openwrt-cross.txt.in' file, because cross-compiling numpy also requires that a 'longdouble_format' property be added.
More details about this:
numpy/numpy#23972
https://github.com/numpy/numpy/blob/maintenance/2.2.x/doc/source/building/cross_compilation.rst

Removing quirk fix for x86_64 with detecting 'avx512f'. This should work with the new meson stuff.

And finally, added a test.sh script.
This should make sure that this package works fine during upgrades.

Signed-off-by: Alexandru Ardelean [email protected]
(cherry picked from commit 7b4ee2d)

Dropped:
  003-without-vendored-meson.patch
  004-workaround-for-multiple-top-level-packages-discovered.patch

This time, we really need to use meson to build numpy.
And to make things more complicated, the 'vendored' meson package (that
comes with numpy) must be used. This is because they have some special
logic in there that's specific to numpy.

With this change, we also need to keep a special/internal
'openwrt-cross.txt.in' file, because cross-compiling numpy also requires
that a 'longdouble_format' property be added.
More details about this:
   numpy/numpy#23972
   https://github.com/numpy/numpy/blob/maintenance/2.2.x/doc/source/building/cross_compilation.rst

Removing quirk fix for x86_64 with detecting 'avx512f'.
This should work with the new meson stuff.

And finally, added a test.sh script.
This should make sure that this package works fine during upgrades.

Signed-off-by: Alexandru Ardelean <[email protected]>
(cherry picked from commit 7b4ee2d)
@commodo commodo added the OpenWrt 24.10 Issue/PR on branch 24.10 label Dec 28, 2024
@commodo commodo changed the title numpy: bump to version 2.2.1 [24.10] numpy: bump to version 2.2.1 Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OpenWrt 24.10 Issue/PR on branch 24.10
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant