[libc++] Add a CI configuration to test Modules with LSV enabled
authorLouis Dionne <ldionne.2@gmail.com>
Thu, 2 Feb 2023 23:50:10 +0000 (18:50 -0500)
committerLouis Dionne <ldionne.2@gmail.com>
Fri, 3 Feb 2023 22:14:07 +0000 (17:14 -0500)
commit3a0f88c4c2c4b0e0566a8858504d24a14730cd77
treef45d3d6380dc4093deffbb4a731fcaaa0c60a69c
parente2e6e7a6a3a575153e2c3a4782c89c2ca1e09c02
[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
libcxx/cmake/caches/Generic-modules-lsv.cmake [new file with mode: 0644]
libcxx/include/module.modulemap.in
libcxx/test/libcxx/depr/depr.c.headers/extern_c.pass.cpp
libcxx/test/libcxx/depr/depr.c.headers/stdint_h.xopen_source.compile.pass.cpp
libcxx/test/libcxx/language.support/timespec_get.xopen.compile.pass.cpp
libcxx/test/std/ranges/range.adaptors/range.filter/iterator/arrow.pass.cpp
libcxx/utils/ci/buildkite-pipeline.yml
libcxx/utils/ci/run-buildbot
libcxx/utils/libcxx/test/params.py