[llvm] r302753 - Add temporary workaround to allow in-tree libc++ builds on Windows
Eric Fiselier via llvm-commits
llvm-commits at lists.llvm.org
Wed May 10 18:44:30 PDT 2017
Author: ericwf
Date: Wed May 10 20:44:30 2017
New Revision: 302753
URL: http://llvm.org/viewvc/llvm-project?rev=302753&view=rev
Log:
Add temporary workaround to allow in-tree libc++ builds on Windows
Modified:
llvm/trunk/projects/CMakeLists.txt
Modified: llvm/trunk/projects/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/projects/CMakeLists.txt?rev=302753&r1=302752&r2=302753&view=diff
==============================================================================
--- llvm/trunk/projects/CMakeLists.txt (original)
+++ llvm/trunk/projects/CMakeLists.txt Wed May 10 20:44:30 2017
@@ -22,7 +22,9 @@ endforeach(entry)
if(${LLVM_BUILD_RUNTIME})
# MSVC isn't quite working with libc++ yet, disable it until issues are
# fixed.
- if(NOT MSVC)
+ # FIXME: LLVM_FORCE_BUILD_RUNTIME is currently used by libc++ to force
+ # enable the in-tree build when targeting clang-cl.
+ if(NOT MSVC OR LLVM_FORCE_BUILD_RUNTIME)
# Add the projects in reverse order of their dependencies so that the
# dependent projects can see the target names of their dependencies.
add_llvm_external_project(libunwind)
More information about the llvm-commits
mailing list