Skip to content

use trapping-math with clang #209

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 3 commits into from
Jul 2, 2025
Merged

use trapping-math with clang #209

merged 3 commits into from
Jul 2, 2025

Conversation

mattip
Copy link
Collaborator

@mattip mattip commented Jul 2, 2025

  • I updated the package version in pyproject.toml and made sure the first 3 numbers match git describe --tags --abbrev=8 in OpenBLAS at the OPENBLAS_COMMIT. If I did not update OPENBLAS_COMMIT, I incremented the wheel build number (i.e. 0.3.29.0.0 to 0.3.29.0.1)
  • Use -ftrapping-math when building on macos-arm64 with clang to prevent spurious floating point errors
  • Use macos-latest CI image.

@mattip
Copy link
Collaborator Author

mattip commented Jul 2, 2025

Moving from macos-13 to macos-latest means that now the native build is arm64 and x86_64 is a cross-compile. Let's leave that for another PR.

@mattip mattip merged commit 24557b4 into MacPython:main Jul 2, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant