[PATCH] D65874: [lldb][CMake] Disable modules in Xcode projects

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 8 06:39:25 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL368294: [lldb][CMake] Disable modules in Xcode projects (authored by stefan.graenitz, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D65874?vs=213882&id=214137#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65874/new/

https://reviews.llvm.org/D65874

Files:
  lldb/trunk/cmake/caches/Apple-lldb-Xcode.cmake


Index: lldb/trunk/cmake/caches/Apple-lldb-Xcode.cmake
===================================================================
--- lldb/trunk/cmake/caches/Apple-lldb-Xcode.cmake
+++ lldb/trunk/cmake/caches/Apple-lldb-Xcode.cmake
@@ -6,6 +6,9 @@
 
 set(LLDB_BUILD_FRAMEWORK ON CACHE BOOL "")
 
+# Apparently, module-enabled builds clash with Xcode's analysis.
+set(LLVM_ENABLE_MODULES OFF CACHE BOOL "" FORCE)
+
 # Print a warning with instructions, if we
 # build with Xcode and didn't use this cache.
 set(LLDB_EXPLICIT_XCODE_CACHE_USED ON CACHE INTERNAL "")


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65874.214137.patch
Type: text/x-patch
Size: 555 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190808/b7dfcc8d/attachment.bin>


More information about the llvm-commits mailing list