Skip to content

BLD: restore 'setup-args=-Duse-ilp64=true' in cibuildwheel [wheel build] #25803

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

Merged
merged 1 commit into from
Feb 11, 2024

Conversation

mattip
Copy link
Member

@mattip mattip commented Feb 11, 2024

Fixes line changed in #25505

Motivated by this comment, cc @rgommers

@github-actions github-actions bot added the 36 - Build Build related PR label Feb 11, 2024
@charris
Copy link
Member

charris commented Feb 11, 2024

Hmm, the test failures look like a case of tolerances being too tight. Why it should manifest now is another question.

@mattip
Copy link
Member Author

mattip commented Feb 11, 2024

Comparing the log file with the failure to a older passing scheduled wheel build (before #25505), I see these differences:

Other than that, the meson configuration and build looks identical, down to the warnings in the templated function

../numpy/_core/src/umath/scalarmath.c.src:1414:15: warning: 'other_val_conv' may be used uninitialized in this function [-Wmaybe-uninitialized]
 1414 |     other_val = other_val_conv;  /* Need a float value */
      |     ~~~~~~~~~~^~~~~~~~~~~~~~~~
.

@rgommers rgommers added this to the 2.0.0 release milestone Feb 11, 2024
Copy link
Member

@rgommers rgommers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes the problem:

# Accelerate build:
Run-time dependency accelerate found: YES
Message: BLAS symbol suffix: $NEWLAPACK$ILP64

# OpenBLAS build
Run-time dependency scipy-openblas found: YES 0.3.26
Message: BLAS symbol suffix: 64_

The TestFFT1D.test_identity_long_short_reversed[longdouble] is unrelated, and almost certainly due to gh-25711; wheel builds probably weren't tested there. So let's open a new issue for that, and get this fix in.

Thanks Matti.

@rgommers rgommers merged commit f278a5a into numpy:main Feb 11, 2024
@mattip mattip deleted the ipl64 branch May 5, 2025 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
36 - Build Build related PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants