OSDN Git Service

Disable libc++ building by default with CMake with MSVC -- some bots
authorChandler Carruth <chandlerc@gmail.com>
Wed, 2 Oct 2013 06:25:57 +0000 (06:25 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 2 Oct 2013 06:25:57 +0000 (06:25 +0000)
aren't yet happy with this config.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191811 91177308-0d34-0410-b5e6-96231b3b80d8

projects/CMakeLists.txt

index de06b78..fc6483c 100644 (file)
@@ -14,7 +14,11 @@ endforeach(entry)
 # Also add in libc++ and compiler-rt trees if present (and we have
 # a sufficiently recent version of CMake where required).
 if(${LLVM_BUILD_RUNTIME})
-  add_llvm_external_project(libcxx)
+  # MSVC isn't quite working with libc++ yet, disable it until issues are
+  # fixed.
+  if(NOT MSVC)
+    add_llvm_external_project(libcxx)
+  endif()
   if(${CMAKE_VERSION} VERSION_GREATER 2.8.7)
     add_llvm_external_project(compiler-rt)
   else()