[libcxx-commits] [libcxx] d632587 - [libc++] Do not enable assertions in the dylib in the Apple cache

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Apr 21 10:12:09 PDT 2020


Author: Louis Dionne
Date: 2020-04-21T13:12:03-04:00
New Revision: d632587664c2dcecbe1c84853847dfc8951d2a96

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

LOG: [libc++] Do not enable assertions in the dylib in the Apple cache

It turns out that all this time, we've actually been building without
assertions enabled in the dylib. This commit updates the Apple CMake
cache to make it consistent with reality.

Added: 
    

Modified: 
    libcxx/cmake/caches/Apple.cmake

Removed: 
    


################################################################################
diff  --git a/libcxx/cmake/caches/Apple.cmake b/libcxx/cmake/caches/Apple.cmake
index bffff7cdf62a..588635645045 100644
--- a/libcxx/cmake/caches/Apple.cmake
+++ b/libcxx/cmake/caches/Apple.cmake
@@ -2,7 +2,7 @@ set(CMAKE_BUILD_TYPE MinSizeRel CACHE STRING "")
 set(CMAKE_POSITION_INDEPENDENT_CODE OFF CACHE BOOL "")
 
 set(LIBCXX_USE_COMPILER_RT ON CACHE BOOL "")
-set(LIBCXX_ENABLE_ASSERTIONS ON CACHE BOOL "")
+set(LIBCXX_ENABLE_ASSERTIONS OFF CACHE BOOL "")
 
 set(LIBCXX_ABI_VERSION "1" CACHE STRING "")
 


        


More information about the libcxx-commits mailing list