summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test
diff options
context:
space:
mode:
authorKuba Brecka <kuba.brecka@gmail.com>2015-11-09 09:53:38 +0000
committerKuba Brecka <kuba.brecka@gmail.com>2015-11-09 09:53:38 +0000
commit8eab12730765adbf95f4bfa6589c98ed7b932d42 (patch)
tree5a2b9fc475c7d8d3341e0f8a8a82c5c09661bec2 /compiler-rt/test
parent564da7ee87332ce1a94a95db7f9784b28aac106f (diff)
downloadbcm5719-llvm-8eab12730765adbf95f4bfa6589c98ed7b932d42.tar.gz
bcm5719-llvm-8eab12730765adbf95f4bfa6589c98ed7b932d42.zip
[tsan] Skip building libcxx_tsan on OS X
The TSan-instrumented version of libcxx doesn't even build on OS X at this point. Let's skip it from the OS X build for now, since most of TSan functionality doesn't depend on it. This will enable `check-tsan` to be run. Differential Revision: http://reviews.llvm.org/D14486 llvm-svn: 252455
Diffstat (limited to 'compiler-rt/test')
-rw-r--r--compiler-rt/test/tsan/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler-rt/test/tsan/CMakeLists.txt b/compiler-rt/test/tsan/CMakeLists.txt
index 1492ddb64f8..ec62acb620a 100644
--- a/compiler-rt/test/tsan/CMakeLists.txt
+++ b/compiler-rt/test/tsan/CMakeLists.txt
@@ -6,7 +6,8 @@ if(NOT COMPILER_RT_STANDALONE_BUILD)
list(APPEND TSAN_TEST_DEPS tsan)
endif()
if(COMPILER_RT_HAS_LIBCXX_SOURCES AND
- COMPILER_RT_TEST_COMPILER_ID STREQUAL "Clang")
+ COMPILER_RT_TEST_COMPILER_ID STREQUAL "Clang"
+ AND NOT APPLE)
list(APPEND TSAN_TEST_DEPS libcxx_tsan)
set(TSAN_HAS_LIBCXX True)
else()
OpenPOWER on IntegriCloud