diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2022-06-30 11:57:52 -0400 |
---|---|---|
committer | Louis Dionne <ldionne.2@gmail.com> | 2022-07-19 10:50:20 -0400 |
commit | 8711fcae276a59345506f585a29db8e2b07f8d21 (patch) | |
tree | d973a4e0fb66904c3476dcd66bcce0f606bae5e0 /libcxx/cmake | |
parent | 7300a651f5f3b43f9fa3a2d9927322b0e061fcb2 (diff) | |
download | llvm-8711fcae276a59345506f585a29db8e2b07f8d21.tar.gz |
[libc++] Treat incomplete features just like other experimental features
In particular remove the ability to expel incomplete features from the
library at configure-time, since this can now be done through the
_LIBCPP_ENABLE_EXPERIMENTAL macro.
Also, never provide symbols related to incomplete features inside the
dylib, instead provide them in c++experimental.a (this changes the
symbols list, but not for any configuration that should have shipped).
Differential Revision: https://reviews.llvm.org/D128928
Diffstat (limited to 'libcxx/cmake')
-rw-r--r-- | libcxx/cmake/caches/Apple.cmake | 1 | ||||
-rw-r--r-- | libcxx/cmake/caches/Generic-no-experimental.cmake | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/libcxx/cmake/caches/Apple.cmake b/libcxx/cmake/caches/Apple.cmake index 734f5ac8a1b9..95ae59e0f25f 100644 --- a/libcxx/cmake/caches/Apple.cmake +++ b/libcxx/cmake/caches/Apple.cmake @@ -9,7 +9,6 @@ set(LIBCXX_ENABLE_SHARED ON CACHE BOOL "") set(LIBCXX_CXX_ABI libcxxabi CACHE STRING "") set(LIBCXX_ENABLE_BACKWARDS_COMPATIBILITY_DEBUG_MODE_SYMBOLS OFF CACHE BOOL "") set(LIBCXX_ENABLE_VENDOR_AVAILABILITY_ANNOTATIONS ON CACHE BOOL "") -set(LIBCXX_ENABLE_INCOMPLETE_FEATURES OFF CACHE BOOL "") set(LIBCXX_HERMETIC_STATIC_LIBRARY ON CACHE BOOL "") set(LIBCXXABI_HERMETIC_STATIC_LIBRARY ON CACHE BOOL "") diff --git a/libcxx/cmake/caches/Generic-no-experimental.cmake b/libcxx/cmake/caches/Generic-no-experimental.cmake index 98f01418d197..f33ed0141899 100644 --- a/libcxx/cmake/caches/Generic-no-experimental.cmake +++ b/libcxx/cmake/caches/Generic-no-experimental.cmake @@ -1,3 +1,2 @@ set(LIBCXX_TEST_PARAMS "enable_experimental=False" CACHE STRING "") set(LIBCXXABI_TEST_PARAMS "${LIBCXX_TEST_PARAMS}" CACHE STRING "") -set(LIBCXX_ENABLE_INCOMPLETE_FEATURES OFF CACHE BOOL "") |