Skip to content

fix(cmake): avoid actsvg C++ standard cache leak - #5817

Open
shuv-amp wants to merge 1 commit into
acts-project:mainfrom
shuv-amp:fix/actsvg-cxx-standard-cache
Open

fix(cmake): avoid actsvg C++ standard cache leak#5817
shuv-amp wants to merge 1 commit into
acts-project:mainfrom
shuv-amp:fix/actsvg-cxx-standard-cache

Conversation

@shuv-amp

@shuv-amp shuv-amp commented Aug 1, 2026

Copy link
Copy Markdown

ActSVG caches CMAKE_CXX_STANDARD=17, which causes a second configure
in the same build directory to fail. Remove the cache entry after loading
ActSVG if it was not present before, leaving an existing value unchanged.

Add a CI check that configures ACTS with ActSVG twice.

Closes #4952

Tested repeated configuration with the default standard and with C++23,
and ran the ActSVG converter tests.

ActSVG caches CMAKE_CXX_STANDARD=17, causing the next configure to fail.
Remove the cache entry after loading ActSVG if it did not exist before.

Add a CI check that configures ACTS with ActSVG twice.

Closes acts-project#4952
@github-actions github-actions Bot added the Infrastructure Changes to build tools, continous integration, ... label Aug 1, 2026
@github-actions github-actions Bot added this to the next milestone Aug 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Infrastructure Changes to build tools, continous integration, ...

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: cmake -DACTS_BUILD_PLUGIN_ACTSVG=on requires -DCMAKE_CXX_STANDARD=20

1 participant