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: Help raspian arm + clang 13 about __builtin_mul_overflow #22857

Merged
merged 1 commit into from Dec 21, 2022

Conversation

charris
Copy link
Member

@charris charris commented Dec 21, 2022

Backport of #22856.

It seems on raspian arm with clang 13 `__builtin_mul_overflow` is
defined for `int` but doesn't work for `ptrdiff_t` (and maybe others).
This checks for `ptrdiff_t` instead of int, which was reported to
work-around the issue.

Closes numpygh-22811
@charris charris added 08 - Backport Used to tag backport PRs 36 - Build Build related PR labels Dec 21, 2022
@charris charris added this to the 1.24.1 release milestone Dec 21, 2022
@charris charris changed the base branch from main to maintenance/1.24.x December 21, 2022 15:42
@charris charris changed the title Backport 22856 BLD: Help raspian arm + clang 13 about __builtin_mul_overflow Dec 21, 2022
@charris
Copy link
Member Author

charris commented Dec 21, 2022

close/reopen

@charris charris closed this Dec 21, 2022
@charris charris reopened this Dec 21, 2022
@charris charris merged commit 9bbf8c1 into numpy:maintenance/1.24.x Dec 21, 2022
67 of 68 checks passed
@charris charris deleted the backport-22856 branch December 21, 2022 18:56
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants