[PATCH] D16685: [tsan] Add a libc++ and lit testsuite for each ${TSAN_SUPPORTED_ARCH}.

Daniel Sanders via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 28 08:00:52 PST 2016


dsanders created this revision.
dsanders added reviewers: samsonov, hans.
dsanders added subscribers: dvyukov, llvm-commits.
Herald added subscribers: srhines, danalbert, tberghammer.

This is a workaround to a problem in the 3.8 release that affects MIPS and
possibly other targets where the default is not supported but a sibling is
supported.

When TSAN_SUPPORTED_ARCH is not empty, cmake currently attempts to build a
tsan'd libcxx as well as test tsan for the default target regardless of whether
the default target is supported or not. This causes problems on MIPS32 since
tsan is supported for MIPS64 but not MIPS32.

This patch causes cmake to only build the libcxx and run the lit test-suite for
archictures in ${TSAN_SUPPORTED_ARCH}

http://reviews.llvm.org/D16685

Files:
  CMakeLists.txt
  cmake/Modules/AddCompilerRT.cmake
  lib/tsan/CMakeLists.txt
  test/tsan/CMakeLists.txt
  test/tsan/lit.cfg
  test/tsan/lit.site.cfg.in

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16685.46277.patch
Type: text/x-patch
Size: 5514 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160128/76f6ce0d/attachment-0001.bin>


More information about the llvm-commits mailing list