summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test
diff options
context:
space:
mode:
authorKuba Brecka <kuba.brecka@gmail.com>2015-11-03 14:13:59 +0000
committerKuba Brecka <kuba.brecka@gmail.com>2015-11-03 14:13:59 +0000
commitc9249498ce2b1787c962202b77f98ec86b99b5b5 (patch)
tree7311334cdbb8a9b1314f3600e924cf44b704ed90 /compiler-rt/test
parent115f0f365d6bf31c7312bc184e120fcf42e3a843 (diff)
downloadbcm5719-llvm-c9249498ce2b1787c962202b77f98ec86b99b5b5.tar.gz
bcm5719-llvm-c9249498ce2b1787c962202b77f98ec86b99b5b5.zip
[tsan] CMake support for TSan on OS X
Hi, this patch adds a CMake flag called `COMPILER_RT_ENABLE_TSAN_OSX`, which is off by default. If enabled, the build system will be building the OS X version of the TSan runtime library (called `libclang_rt.tsan_osx_dynamic.dylib`). I'll submit patches that fix OS X build errors shortly. This is part of an effort to port TSan to OS X, and it's one the very first steps. Don't expect TSan on OS X to actually work or pass tests at this point. llvm-svn: 251915
Diffstat (limited to 'compiler-rt/test')
-rw-r--r--compiler-rt/test/tsan/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/tsan/CMakeLists.txt b/compiler-rt/test/tsan/CMakeLists.txt
index 60685567069..1492ddb64f8 100644
--- a/compiler-rt/test/tsan/CMakeLists.txt
+++ b/compiler-rt/test/tsan/CMakeLists.txt
@@ -1,5 +1,5 @@
set(TSAN_TEST_DEPS ${SANITIZER_COMMON_LIT_TEST_DEPS})
-if(NOT ${COMPILER_RT_DEFAULT_TARGET_ARCH} MATCHES "mips")
+if(NOT ${COMPILER_RT_DEFAULT_TARGET_ARCH} MATCHES "mips" AND NOT APPLE)
list(APPEND TSAN_TEST_DEPS GotsanRuntimeCheck)
endif()
if(NOT COMPILER_RT_STANDALONE_BUILD)
OpenPOWER on IntegriCloud