summaryrefslogtreecommitdiff
path: root/libcxx/cmake
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2023-02-02 18:50:10 -0500
committerLouis Dionne <ldionne.2@gmail.com>2023-02-03 17:14:07 -0500
commit3a0f88c4c2c4b0e0566a8858504d24a14730cd77 (patch)
treef45d3d6380dc4093deffbb4a731fcaaa0c60a69c /libcxx/cmake
parente2e6e7a6a3a575153e2c3a4782c89c2ca1e09c02 (diff)
downloadllvm-3a0f88c4c2c4b0e0566a8858504d24a14730cd77.tar.gz
[libc++] Add a CI configuration to test Modules with LSV enabled
Some clients use libc++ with modules and LSV (Local Submodule Visibility) enabled, and we see frequent downstream breakage caused by that. Until modules use LSV by default (which is apparently a desire), add a CI job that tests this sub-configuration to avoid high cost downstream breakage. For more information about LSV, see https://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20150504/128395.html. Differential Revision: https://reviews.llvm.org/D143273
Diffstat (limited to 'libcxx/cmake')
-rw-r--r--libcxx/cmake/caches/Generic-modules-lsv.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/cmake/caches/Generic-modules-lsv.cmake b/libcxx/cmake/caches/Generic-modules-lsv.cmake
new file mode 100644
index 000000000000..b44424f65642
--- /dev/null
+++ b/libcxx/cmake/caches/Generic-modules-lsv.cmake
@@ -0,0 +1,2 @@
+set(LIBCXX_TEST_PARAMS "enable_modules=True;enable_modules_lsv=True" CACHE STRING "")
+set(LIBCXXABI_TEST_PARAMS "${LIBCXX_TEST_PARAMS}" CACHE STRING "")