[libcxx-commits] [libcxxabi] f97a579 - [runtimes] Add TODO about CXX_STANDARD_REQUIRED being off after review comment

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Nov 16 11:59:00 PST 2023


Author: Louis Dionne
Date: 2023-11-16T14:58:52-05:00
New Revision: f97a579b74a6e65a3f58813b36f6a789102ce315

URL: https://github.com/llvm/llvm-project/commit/f97a579b74a6e65a3f58813b36f6a789102ce315
DIFF: https://github.com/llvm/llvm-project/commit/f97a579b74a6e65a3f58813b36f6a789102ce315.diff

LOG: [runtimes] Add TODO about CXX_STANDARD_REQUIRED being off after review comment

Added: 
    

Modified: 
    libcxx/CMakeLists.txt
    libcxxabi/src/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/libcxx/CMakeLists.txt b/libcxx/CMakeLists.txt
index 6716f31a6c63bb5..cb708baacd91dec 100644
--- a/libcxx/CMakeLists.txt
+++ b/libcxx/CMakeLists.txt
@@ -507,7 +507,7 @@ function(cxx_add_basic_build_flags target)
   # Use C++23 for all targets.
   set_target_properties(${target} PROPERTIES
     CXX_STANDARD 23
-    CXX_STANDARD_REQUIRED OFF
+    CXX_STANDARD_REQUIRED OFF # TODO: Make this REQUIRED once we don't need to accommodate the LLVM documentation builders using an ancient CMake
     CXX_EXTENSIONS NO)
 
   # When building the dylib, don't warn for unavailable aligned allocation

diff  --git a/libcxxabi/src/CMakeLists.txt b/libcxxabi/src/CMakeLists.txt
index aec97104fffae46..02031b69fd9156a 100644
--- a/libcxxabi/src/CMakeLists.txt
+++ b/libcxxabi/src/CMakeLists.txt
@@ -172,7 +172,7 @@ set_target_properties(cxxabi_shared_objects
   PROPERTIES
     CXX_EXTENSIONS OFF
     CXX_STANDARD 23
-    CXX_STANDARD_REQUIRED OFF
+    CXX_STANDARD_REQUIRED OFF # TODO: Make this REQUIRED once we don't need to accommodate the LLVM documentation builders using an ancient CMake
     COMPILE_FLAGS "${LIBCXXABI_COMPILE_FLAGS}"
     DEFINE_SYMBOL ""
 )
@@ -252,7 +252,7 @@ set_target_properties(cxxabi_static_objects
   PROPERTIES
     CXX_EXTENSIONS OFF
     CXX_STANDARD 23
-    CXX_STANDARD_REQUIRED OFF
+    CXX_STANDARD_REQUIRED OFF # TODO: Make this REQUIRED once we don't need to accommodate the LLVM documentation builders using an ancient CMake
     COMPILE_FLAGS "${LIBCXXABI_COMPILE_FLAGS}"
 )
 


        


More information about the libcxx-commits mailing list