Merge topic 'ci-gcc-cxx-modules-reloc'

7c3104ae0c ci: Fix test environment covering `CMAKE_CXX_STDLIB_MODULES_JSON`

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !11675
This commit is contained in:
Brad King
2026-02-11 16:55:25 +00:00
committed by Kitware Robot

View File

@@ -2,7 +2,7 @@
# `CMAKE_CXX_STDLIB_MODULES_JSON` is needed to use `import std`.
set(gcc_prefix "/opt/gcc-importstd")
set(CMake_TEST_CXX_STDLIB_MODULES_JSON
"${gcc_prefix}/lib64/libstdc++.modules.json"
"${gcc_prefix}/lib64.reloc/libstdc++.modules.json"
CACHE FILEPATH "")
file(MAKE_DIRECTORY
"${gcc_prefix}/lib64.reloc")