PR #17319: Fixes XLA build with numpy>=2.1.0 #17713
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR #17319: Fixes XLA build with numpy>=2.1.0
Imported from GitHub PR #17319
When building XLA using the command from dev guide: docs/developer_guide.md
Using numpy==2.1.0 we can have the following linking error:
Which should be related to https://github.com/numpy/numpy/blob/main/doc/source/release/2.1.0-notes.rst#api-symbols-now-hidden-but-customizable
This PR fixes the build issue
Copybara import of the project:
--
2f6e1b3 by vfdev-5 [email protected]:
Fixes XLA build with numpy>=2.1.0
When building XLA using the command from dev guide: docs/developer_guide.md
Using numpy==2.1.0 we can have the following linking error:
Which should be related to https://github.com/numpy/numpy/blob/main/doc/source/release/2.1.0-notes.rst#api-symbols-now-hidden-but-customizable
This PR fixes the build issue
Merging this change closes #17319
FUTURE_COPYBARA_INTEGRATE_REVIEW=#17319 from vfdev-5:fix-build-numpy-2.1.0-and-later 2f6e1b3