forked from OSchip/llvm-project
[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
This commit is contained in:
parent
564da7ee87
commit
8eab127307
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue