Skip to content

Commit

Permalink
[tsan] Skip building libcxx_tsan on OS X
Browse files Browse the repository at this point in the history
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
  • Loading branch information
kubamracek committed Nov 9, 2015
1 parent 564da7e commit 8eab127
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compiler-rt/test/tsan/CMakeLists.txt
Expand Up @@ -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()
Expand Down

0 comments on commit 8eab127

Please sign in to comment.