Skip to content

[Backport staging-23.11] python3Packages.numpy: fix cross compilation#269645

Merged
wegank merged 2 commits intostaging-23.11from
backport-268587-to-staging-23.11
Nov 30, 2023
Merged

[Backport staging-23.11] python3Packages.numpy: fix cross compilation#269645
wegank merged 2 commits intostaging-23.11from
backport-268587-to-staging-23.11

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Nov 24, 2023

Bot-based backport to staging-23.11, triggered by a label in #268587.

  • Before merging, ensure that this backport is acceptable for the release.
    • Even as a non-commiter, if you find that it is not acceptable, leave a comment.

The full path of the build Python intepreter gets stored in
numpy/__config__.py and thus the built wheel. Leaving the reference is
annoying for regular builds but fatal for cross builds.

(cherry picked from commit 4104fe9)
Add mesonEmulatorHook, along with a small hack to make it function
properly with meson-python.

(cherry picked from commit bad887d)
@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Nov 24, 2023
@ofborg ofborg bot added the 6.topic: cross-compilation Building packages on a different platform than they will be used on label Nov 24, 2023
@ofborg ofborg bot requested a review from FRidh November 24, 2023 14:56
@ofborg ofborg bot added 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. labels Nov 24, 2023
@wegank wegank merged commit b15a72e into staging-23.11 Nov 30, 2023
@wegank wegank deleted the backport-268587-to-staging-23.11 branch November 30, 2023 04:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: cross-compilation Building packages on a different platform than they will be used on 6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants