Add CMake 4.4 import std experimental UUID - #76
Open
steve-downey wants to merge 1 commit into
Open
Conversation
The vcpkg-ci "Test port templates {"modules":true}" job began failing
when the beman infra container upgraded CMake to 4.4.0. The
`>= 4.3.0` branch applied the 4.3 UUID (451f2fe2-...) to 4.4, which
CMake 4.4 rejects ("CMAKE_EXPERIMENTAL_CXX_IMPORT_STD is set to
incorrect value"), so CXX_MODULE_STD toolchain support was never
enabled and the generate step failed.
Add a dedicated `>= 4.4.0` branch using the 4.4 UUID
(f35a9ac6-8463-4d38-8eec-5d6008153e7d), matching the upstream beman
exemplar template.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The
vcpkg-ci / Test port templates {"modules":true}job started failing when the beman infra container (ghcr.io/bemanproject/infra-containers-gcc:latest) upgraded CMake to 4.4.0.CMake's experimental
import stdfeature is gated behind a per-version magic UUID inCMAKE_EXPERIMENTAL_CXX_IMPORT_STD.infra/cmake/enable-experimental-import-std.cmakehad a single>= 4.3.0branch that applied the 4.3 UUID (451f2fe2-...) to CMake 4.4 as well. CMake 4.4 rejects it:Fix
Add a dedicated
>= 4.4.0branch using the CMake 4.4 UUIDf35a9ac6-8463-4d38-8eec-5d6008153e7d, keeping the existing4.3.xbranch intact. This matches the upstream beman exemplar template.Verified UUIDs against
Help/dev/experimental.rstat thev4.3.0andv4.4.0CMake tags, and smoke-tested the version dispatch:451f2fe2-...(unchanged)f35a9ac6-...(fix)f35a9ac6-...🤖 Generated with Claude Code