[PATCH] D41471: [CMake][Fuchsia] Enable assertions
Petr Hosek via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 21 14:11:19 PST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL321316: [CMake][Fuchsia] Enable assertions (authored by phosek, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D41471?vs=127801&id=127943#toc
Repository:
rL LLVM
https://reviews.llvm.org/D41471
Files:
cfe/trunk/cmake/caches/Fuchsia-stage2.cmake
cfe/trunk/cmake/caches/Fuchsia.cmake
Index: cfe/trunk/cmake/caches/Fuchsia-stage2.cmake
===================================================================
--- cfe/trunk/cmake/caches/Fuchsia-stage2.cmake
+++ cfe/trunk/cmake/caches/Fuchsia-stage2.cmake
@@ -23,6 +23,7 @@
set(LLDB_CODESIGN_IDENTITY "" CACHE STRING "")
endif()
+set(LLVM_ENABLE_ASSERTIONS ON CACHE BOOL "")
set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "")
set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O3 -gline-tables-only -DNDEBUG" CACHE STRING "")
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O3 -gline-tables-only -DNDEBUG" CACHE STRING "")
Index: cfe/trunk/cmake/caches/Fuchsia.cmake
===================================================================
--- cfe/trunk/cmake/caches/Fuchsia.cmake
+++ cfe/trunk/cmake/caches/Fuchsia.cmake
@@ -13,6 +13,7 @@
set(LLVM_ENABLE_ZLIB OFF CACHE BOOL "")
set(CLANG_PLUGIN_SUPPORT OFF CACHE BOOL "")
+set(LLVM_ENABLE_ASSERTIONS ON CACHE BOOL "")
set(CMAKE_BUILD_TYPE Release CACHE STRING "")
set(BOOTSTRAP_LLVM_ENABLE_LTO ON CACHE BOOL "")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41471.127943.patch
Type: text/x-patch
Size: 1010 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171221/e4d82094/attachment.bin>
More information about the cfe-commits
mailing list