[compiler-rt] r291722 - [CMake][compiler-rt] Mark libcxx build for tsan as standalone

Petr Hosek via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 11 15:09:16 PST 2017


Author: phosek
Date: Wed Jan 11 17:09:16 2017
New Revision: 291722

URL: http://llvm.org/viewvc/llvm-project?rev=291722&view=rev
Log:
[CMake][compiler-rt] Mark libcxx build  for tsan as standalone

This is to ensure that the libcxx build is properly configured.

Differential Revision: https://reviews.llvm.org/D28579

Modified:
    compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake

Modified: compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake?rev=291722&r1=291721&r2=291722&view=diff
==============================================================================
--- compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake (original)
+++ compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake Wed Jan 11 17:09:16 2017
@@ -380,6 +380,7 @@ macro(add_custom_libcxx name prefix)
                -DCMAKE_BUILD_TYPE=Release
                -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>
                -DLLVM_PATH=${LLVM_MAIN_SRC_DIR}
+               -DLIBCXX_STANDALONE_BUILD=On
     LOG_BUILD 1
     LOG_CONFIGURE 1
     LOG_INSTALL 1




More information about the llvm-commits mailing list