Skip to content

Conversation

@tiran
Copy link
Member

@tiran tiran commented Oct 25, 2021

HAVE_FINITE and HAVE_*GAMMA are not used any more. This fixes a build
issue. Configure doesn't detect finite and gamma on macOS.

Signed-off-by: Christian Heimes [email protected]

https://bugs.python.org/issue45548

Automerge-Triggered-By: GH:tiran

HAVE_FINITE and HAVE_*GAMMA are not used any more. This fixes a build
issue. Configure doesn't detect finite and gamma on macOS.

Signed-off-by: Christian Heimes <[email protected]>
@tiran
Copy link
Member Author

tiran commented Oct 25, 2021

@mdickinson ARM64 macOS does not have finite and gamma functions:

https://buildbot.python.org/all/#/builders/721/builds/63/steps/2/logs/stdio

checking for x87-style double rounding... no
checking for acosh... yes
checking for asinh... yes
checking for atanh... yes
checking for erf... yes
checking for erfc... yes
checking for expm1... yes
checking for finite... no
checking for gamma... no
checking for lgamma... yes
checking for log1p... yes
checking for log2... yes
checking for tgamma... yes

@tiran tiran added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Oct 25, 2021
@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @tiran for commit 745e1b0 🤖

If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Oct 25, 2021
@mdickinson
Copy link
Member

ARM64 macOS does not have finite and gamma functions:

Makes sense; I don't think either of those is standard. C99 specifies lgamma and tgamma but not gamma, and an isfinite macro but not finite.

Copy link
Member

@mdickinson mdickinson left a comment

Choose a reason for hiding this comment

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

LGTM

@tiran tiran changed the title bpo-45548: Remove checks for finite and gamma bpo-45548: Remove checks for finite and gamma (GH-29206) Oct 25, 2021
@tiran tiran merged commit 77e3f22 into python:main Oct 25, 2021
@tiran tiran deleted the bpo-45548-gamma branch October 25, 2021 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants