summaryrefslogtreecommitdiff
path: root/lib/tsan/CMakeLists.txt
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2017-10-11 21:22:45 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2017-10-11 21:22:45 +0000
commite3e1659d13986a80ea90f480ddf5af45f1134c48 (patch)
treeaa338870d0f235d728768efd35ed92ed9073bcd8 /lib/tsan/CMakeLists.txt
parentc16a15f6ecaface37c1e85811035c25516ce5e41 (diff)
downloadcompiler-rt-e3e1659d13986a80ea90f480ddf5af45f1134c48.tar.gz
Disable TSan tests on Android.
They never passed. This change excludes them from 'check-all'. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@315512 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/tsan/CMakeLists.txt')
-rw-r--r--lib/tsan/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/tsan/CMakeLists.txt b/lib/tsan/CMakeLists.txt
index 5e3bb102b..08974a467 100644
--- a/lib/tsan/CMakeLists.txt
+++ b/lib/tsan/CMakeLists.txt
@@ -222,7 +222,8 @@ endif()
# Build libcxx instrumented with TSan.
if(COMPILER_RT_HAS_LIBCXX_SOURCES AND
- COMPILER_RT_TEST_COMPILER_ID STREQUAL "Clang")
+ COMPILER_RT_TEST_COMPILER_ID STREQUAL "Clang" AND
+ NOT ANDROID)
set(libcxx_tsan_deps)
foreach(arch ${TSAN_SUPPORTED_ARCH})
get_target_flags_for_arch(${arch} TARGET_CFLAGS)