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

BLD: fix math func feature checks, fix FreeBSD build, add CI job #24879

Merged
merged 1 commit into from Oct 7, 2023

Conversation

charris
Copy link
Member

@charris charris commented Oct 7, 2023

Backport of #24876.

  • BLD: fix incorrect feature checks for mandatory math functions

Should fix the build on FreeBSD and other OSes that are not C99-compliant.

Closes gh-24873

  • CI: add a FreeBSD job on Cirrus CI

  • BUG: define _npy_scaled_cexpl when ccoshl/csinhl are missing

This was a regression in the 1.24.x branch, after a lot of churn in this file. In 1.22.x/1.23.x, the conditional is the same as in this fix.

  • TST: avoid failures for FPE errors/warnings in abs on BSDs

…py#24876)

* BLD: fix incorrect feature checks for mandatory math functions

Should fix the build on FreeBSD and other OSes that are not
C99-compliant.

Closes numpygh-24873

* CI: add a FreeBSD job on Cirrus CI

* BUG: define `_npy_scaled_cexpl` when ccoshl/csinhl are missing

This was a regression in the 1.24.x branch, after a lot of churn
in this file. In 1.22.x/1.23.x, the conditional is the same as in
this fix.

* TST: avoid failures for FPE errors/warnings in `abs` on BSDs
@charris charris added 08 - Backport Used to tag backport PRs 36 - Build Build related PR Meson Items related to the introduction of Meson as the new build system for NumPy labels Oct 7, 2023
@charris charris modified the milestone: 1.26.1 release Oct 7, 2023
@charris charris merged commit c7e073c into numpy:maintenance/1.26.x Oct 7, 2023
78 of 102 checks passed
@charris charris deleted the backport-24876 branch October 10, 2023 21:05
charris added a commit to charris/numpy that referenced this pull request Nov 11, 2023
…py#24876) (numpy#24879)

* BLD: fix incorrect feature checks for mandatory math functions

Should fix the build on FreeBSD and other OSes that are not
C99-compliant.

Closes numpygh-24873

* CI: add a FreeBSD job on Cirrus CI

* BUG: define `_npy_scaled_cexpl` when ccoshl/csinhl are missing

This was a regression in the 1.24.x branch, after a lot of churn
in this file. In 1.22.x/1.23.x, the conditional is the same as in
this fix.

* TST: avoid failures for FPE errors/warnings in `abs` on BSDs

Co-authored-by: Ralf Gommers <ralf.gommers@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
08 - Backport Used to tag backport PRs 36 - Build Build related PR component: build Meson Items related to the introduction of Meson as the new build system for NumPy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants