Skip to content

add patch to ignore warning about avx10.1 when configuring for recent CMake easyconfigs#25731

Merged
Micket merged 2 commits into
easybuilders:developfrom
stevenvdb:20260410090128_new_pr_CMake403
May 26, 2026
Merged

add patch to ignore warning about avx10.1 when configuring for recent CMake easyconfigs#25731
Micket merged 2 commits into
easybuilders:developfrom
stevenvdb:20260410090128_new_pr_CMake403

Conversation

@stevenvdb

@stevenvdb stevenvdb commented Apr 10, 2026

Copy link
Copy Markdown
Contributor

The configure step of CMake-4.0.3-GCCcore-14.3.0.eb fails on Intel GraniteRapids CPUs, see https://gitlab.kitware.com/cmake/cmake/-/work_items/27745 for a description of the problem and the solution proposed in this PR.

(created using eb --new-pr)

@github-actions github-actions Bot added 2025b issues & PRs related to 2025b common toolchains change labels Apr 10, 2026
@Thyre

Thyre commented Apr 10, 2026

Copy link
Copy Markdown
Collaborator

This probably also affects other CMake versions, like CMake-3.31.3-GCCcore-14.2.0.eb, CMake-3.31.8-GCCcore-14.3.0.eb, CMake-4.2.1-GCCcore-15.2.0.eb and CMake-3.31.11-GCCcore-15.2.0.eb, right?

@Thyre Thyre added bug fix and removed change labels Apr 10, 2026
@Thyre Thyre added this to the release after 5.3.0 milestone Apr 10, 2026
@stevenvdb

Copy link
Copy Markdown
Contributor Author

This probably also affects other CMake versions, like CMake-3.31.3-GCCcore-14.2.0.eb, CMake-3.31.8-GCCcore-14.3.0.eb, CMake-4.2.1-GCCcore-15.2.0.eb and CMake-3.31.11-GCCcore-15.2.0.eb, right?

This warning was not emitted by GCC prior to 14.3.0 and I can confirm CMake/3.29.3-GCCcore-13.3.0 and CMake/3.31.3-GCCcore-14.2.0 do not need this patch. I assume CMake-3.31.8-GCCcore-14.3.0.eb would indeed also be affected. Not sure about CMake-4.2.1-GCCcore-15.2.0.eb and CMake-3.31.11-GCCcore-15.2.0.eb.

@github-actions github-actions Bot added 2026.1 issues & PRs related to 2026.1 common toolchains change labels May 13, 2026
@stevenvdb

Copy link
Copy Markdown
Contributor Author

This probably also affects other CMake versions, like CMake-3.31.3-GCCcore-14.2.0.eb, CMake-3.31.8-GCCcore-14.3.0.eb, CMake-4.2.1-GCCcore-15.2.0.eb and CMake-3.31.11-GCCcore-15.2.0.eb, right?

In 649546c, all version I believe to be affected are patched.

I also changed the patch slightly based on the way in which it was applied upstream in https://gitlab.kitware.com/cmake/cmake/-/merge_requests/11943.

@Micket Micket left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm

@Micket

Micket commented May 26, 2026

Copy link
Copy Markdown
Contributor

Test report by @Micket
SUCCESS
Build succeeded for 4 out of 4 (total: 41 mins 17 secs) (4 easyconfigs in total)
vera-icelake-build - Linux Rocky Linux 9.6, x86_64, Intel(R) Xeon(R) Silver 4316 CPU @ 2.30GHz, Python 3.9.21
See https://gist.github.com/Micket/8dd708fab7819f3e242005945d259a74 for a full test report.

@Micket

Micket commented May 26, 2026

Copy link
Copy Markdown
Contributor

Going in, thanks @stevenvdb!

@Micket Micket merged commit a09acaf into easybuilders:develop May 26, 2026
6 checks passed
@boegel boegel changed the title Ignore warning about avx10.1 when configuring CMake add patch to ignore warning about avx10.1 when configuring for recent CMake easyconfigs Jun 17, 2026
@boegel boegel removed the change label Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2025b issues & PRs related to 2025b common toolchains 2026.1 issues & PRs related to 2026.1 common toolchains bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants