Skip to content

Fix Spack builds and Clang 22 with older version of Catch2#4197

Merged
jhale merged 6 commits intomainfrom
jhale/catch2-fix-clang-22
May 6, 2026
Merged

Fix Spack builds and Clang 22 with older version of Catch2#4197
jhale merged 6 commits intomainfrom
jhale/catch2-fix-clang-22

Conversation

@jhale
Copy link
Copy Markdown
Member

@jhale jhale commented May 5, 2026

Issue 1:

See https://github.com/catchorg/Catch2/blob/devel/docs/release-notes.md#3140.

"Suppressed the new Clang warning about COUNTER usage. (#3076)"

This raises a warning which results in an error due to our strict compiler flags. Can be removed once Catch 3.14 is available in Spack.

Issue 2:

Current develop branch of Spack tools cannot correctly push/pull from the GitHub OCI registry. Pinning to v1.1.1 fixes this. It would probably be best to use stable releases of Spack tooling

@jhale
Copy link
Copy Markdown
Member Author

jhale commented May 5, 2026

This was picked up by wiping the RedHat Spack build cache and forcing a run - that led to this issue being discovered (i.e. running on a clean cache). However, the Spack build cache is now failing again.

@jhale jhale changed the title Fix for Clang 22 with older version of Catch2 Fix Spack builds and Clang 22 with older version of Catch2 May 6, 2026
@jhale jhale added this pull request to the merge queue May 6, 2026
Merged via the queue into main with commit 53145c8 May 6, 2026
22 checks passed
@jhale jhale deleted the jhale/catch2-fix-clang-22 branch May 6, 2026 15:55
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.

1 participant