Title: gh-152902: Update Intel compiler from `icc` to `icx` by hpkfft · Pull Request #152825 · python/cpython · GitHub
Open Graph Title: gh-152902: Update Intel compiler from `icc` to `icx` by hpkfft · Pull Request #152825 · python/cpython
X Title: gh-152902: Update Intel compiler from `icc` to `icx` by hpkfft · Pull Request #152825 · python/cpython
Description: The Intel(R) oneAPI DPC++/C++ Compiler 2026.0.0 is not officially supported by CPython, and I am not suggesting to change that. However, I see that there is code in configure.ac that applies to the Intel classic compiler (icc for C and icpc for C++). The last version of the classic compiler was 2021.10 and it stopped shipping in 2023. I would like to suggest updating icc to icx in configure.ac. Note that not all tests pass. In particular: File "/tmp/Lib/test/test_cmath.py", line 412, in test_phase self.assertAlmostEqual(phase(0), 0.) ~~~~~^^^ ValueError: math domain error and File "/tmp/Lib/test/test_math.py", line 304, in testAtan2 self.ftest('atan2(0., -0.)', math.atan2(0., -0.), math.pi) ~~~~~~~~~~^^^^^^^^^ ValueError: math domain error I do not think the Intel math library is wrong here; it's OK to set errno to EDOM for atan2(0.0, 0.0). GCC using glibc does not, and that's OK too. Both libraries return 0.0 for atan2(0.0, 0.0) and math.pi for atan2(0.0, -0.0). If I comment out those tests, I can compile locally with PGO. Also, icx does support -Wno-unused-result, and -ffp-model=precise is needed or else other floating-point tests will fail. (As noted in the comment, clang uses precise by default. The Intel compiler is based on clang, but it has changed the default to fast.) Issue: gh-152902
Open Graph Description: The Intel(R) oneAPI DPC++/C++ Compiler 2026.0.0 is not officially supported by CPython, and I am not suggesting to change that. However, I see that there is code in configure.ac that applies to the...
X Description: The Intel(R) oneAPI DPC++/C++ Compiler 2026.0.0 is not officially supported by CPython, and I am not suggesting to change that. However, I see that there is code in configure.ac that applies to the...
Opengraph URL: https://github.com/python/cpython/pull/152825
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:7bd9e753-51e4-5721-f63a-c24a2b41a2a2 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E60E:3F7705:3A09DA:5110B8:6A5374F1 |
| html-safe-nonce | f0eebf13b53a8b75d1618de2620e8b77d98aba20147d8779ef120e4493e24865 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjBFOjNGNzcwNTozQTA5REE6NTExMEI4OjZBNTM3NEYxIiwidmlzaXRvcl9pZCI6IjU2OTYyNzg2OTE0MTIzNDkyOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 81519cf52c29478a8628fd2293e0e0acf8157a846144775d1999103f91256e26 |
| hovercard-subject-tag | pull_request:3973874525 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/152825/files |
| twitter:image | https://avatars.githubusercontent.com/u/142685350?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/142685350?s=400&v=4 |
| og:image:alt | The Intel(R) oneAPI DPC++/C++ Compiler 2026.0.0 is not officially supported by CPython, and I am not suggesting to change that. However, I see that there is code in configure.ac that applies to the... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width