Skip to content

BLD/MAINT: improve support for Intel LLVM compilers#31391

Merged
charris merged 1 commit into
numpy:maintenance/2.4.xfrom
charris:backport-31389
May 5, 2026
Merged

BLD/MAINT: improve support for Intel LLVM compilers#31391
charris merged 1 commit into
numpy:maintenance/2.4.xfrom
charris:backport-31389

Conversation

@charris
Copy link
Copy Markdown
Member

@charris charris commented May 5, 2026

Backport of #31389.

With these changes, downstream users wanting to use the Intel compilers can do so when linking against NumPy headers.

Also include a build change for NumPy itself that is clearly correct: Intel compilers do not use _Fcomplex & co for complex types, but the regular C99 complex.h types.

Taken over from PR gh-25044

Closes gh-25044
Closes gh-31337 (reports the same _Fcomplex issue)

Note: I decided to start fresh because gh-25044 accumulated a conflict, and while most of that PR should no longer be relevant, I didn't want to just push a commit to remove that code. This is the most important and the clearly correct part of that PR, and there's no reason that wasn't merged already.

AI Disclosure

No AI usage

With these changes, downstream users wanting to use the Intel compilers
can do so when linking against NumPy headers.

Also include a build change for NumPy itself that is clearly correct:
Intel compilers do not use `_Fcomplex` & co for complex types, but
the regular C99 complex.h types.

Taken over from PR 25044

Closes numpygh-25044
Closes numpygh-31337 (reports the same `_Fcomplex` issue)

Co-authored-by: Matti Picus <[email protected]>
@charris charris added this to the 2.4.5 release milestone May 5, 2026
@charris charris added 00 - Bug 08 - Backport Used to tag backport PRs 36 - Build Build related PR labels May 5, 2026
@charris charris merged commit 731ce45 into numpy:maintenance/2.4.x May 5, 2026
73 of 75 checks passed
@charris charris deleted the backport-31389 branch May 5, 2026 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

00 - Bug 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.

2 participants