[Lldb-commits] [lldb] r365038 - [CMake] Avoid libcxxabi dependency when building LLDB from the monorepo on macOS
Stefan Granitz via lldb-commits
lldb-commits at lists.llvm.org
Wed Jul 3 06:21:49 PDT 2019
Author: stefan.graenitz
Date: Wed Jul 3 06:21:48 2019
New Revision: 365038
URL: http://llvm.org/viewvc/llvm-project?rev=365038&view=rev
Log:
[CMake] Avoid libcxxabi dependency when building LLDB from the monorepo on macOS
libc++abi became mandatory to link the libc++ binaries. LLDB only needs the build artifacts and not the linked output (we don't ship `libc++.dylib` and/or `libc++.a`). Disable the respective link steps to avoid the dependency to libc++abi.
<rdar://problem/51980716>
Modified:
lldb/trunk/cmake/caches/Apple-lldb-base.cmake
Modified: lldb/trunk/cmake/caches/Apple-lldb-base.cmake
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/cmake/caches/Apple-lldb-base.cmake?rev=365038&r1=365037&r2=365038&view=diff
==============================================================================
--- lldb/trunk/cmake/caches/Apple-lldb-base.cmake (original)
+++ lldb/trunk/cmake/caches/Apple-lldb-base.cmake Wed Jul 3 06:21:48 2019
@@ -6,6 +6,9 @@ set(LLVM_INSTALL_TOOLCHAIN_ONLY ON CACHE
set(LLVM_ENABLE_ASSERTIONS ON CACHE BOOL "")
set(LLVM_ENABLE_MODULES ON CACHE BOOL "")
+set(LIBCXX_ENABLE_SHARED OFF CACHE BOOL "")
+set(LIBCXX_ENABLE_STATIC OFF CACHE BOOL "")
+
# Release builds set these explicitly:
#set(LLDB_VERSION_MAJOR 9999 CACHE STRING "")
#set(LLDB_VERSION_MINOR 9 CACHE STRING "")
More information about the lldb-commits
mailing list