Skip to content

Fix icx Windows build break - #265

Merged
antonwolfy merged 5 commits into
IntelPython:mainfrom
vchamarthi:main
Sep 3, 2026
Merged

Fix icx Windows build break#265
antonwolfy merged 5 commits into
IntelPython:mainfrom
vchamarthi:main

Conversation

@vchamarthi

Copy link
Copy Markdown
Contributor

numpy 2.4.4+ un-defines _Dcomplex for icx (PR numpy/numpy#31389). UCRT still needs _Dcomplex. Build errors on npy_math.h.

Fix: undef __INTEL_LLVM_COMPILER for icx-cl builds, forces _Dcomplex again.

Verified: reproduced CI fail, patched, clean build + correct runtime output (numpy 2.5.2, icx 2026.2.0, Windows).

Comment thread meson.build Outdated
Comment thread meson.build Outdated
@ndgrigorian ndgrigorian added this to the 0.6.0 release milestone Sep 2, 2026
ndgrigorian
ndgrigorian previously approved these changes Sep 2, 2026

@ndgrigorian ndgrigorian left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

Comment thread meson.build Outdated

@antonwolfy antonwolfy left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thank you @vchamarthi

@antonwolfy
antonwolfy merged commit 5ee2b9a into IntelPython:main Sep 3, 2026
168 of 192 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.

3 participants