[zorg] r224704 - When testing sanitizers using GCC as a host compiler, skip most of them
Jay Foad
jay.foad at gmail.com
Mon Dec 22 05:23:17 PST 2014
Author: foad
Date: Mon Dec 22 07:23:17 2014
New Revision: 224704
URL: http://llvm.org/viewvc/llvm-project?rev=224704&view=rev
Log:
When testing sanitizers using GCC as a host compiler, skip most of them
on non-x86-64 targets. This gives the builder a chance of working on
PowerPC64 and other targets which don't have ports of all the sanitizers
yet.
Modified:
zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_cmake.sh
Modified: zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_cmake.sh
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_cmake.sh?rev=224704&r1=224703&r2=224704&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_cmake.sh (original)
+++ zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_cmake.sh Mon Dec 22 07:23:17 2014
@@ -75,11 +75,13 @@ if [ "$PLATFORM" == "Linux" ]; then
echo @@@BUILD_STEP run sanitizer tests in gcc build@@@
(cd clang_build && make -j$MAKE_JOBS check-sanitizer) || echo @@@STEP_FAILURE@@@
(cd clang_build && make -j$MAKE_JOBS check-asan) || echo @@@STEP_FAILURE@@@
- (cd clang_build && make -j$MAKE_JOBS check-lsan) || echo @@@STEP_FAILURE@@@
- (cd clang_build && make -j$MAKE_JOBS check-msan) || echo @@@STEP_FAILURE@@@
- (cd clang_build && make -j$MAKE_JOBS check-tsan) || echo @@@STEP_FAILURE@@@
- (cd clang_build && make -j$MAKE_JOBS check-ubsan) || echo @@@STEP_WARNINGS@@@
- (cd clang_build && make -j$MAKE_JOBS check-dfsan) || echo @@@STEP_WARNINGS@@@
+ if [ "$ARCH" == "x86_64" ]; then
+ (cd clang_build && make -j$MAKE_JOBS check-lsan) || echo @@@STEP_FAILURE@@@
+ (cd clang_build && make -j$MAKE_JOBS check-msan) || echo @@@STEP_FAILURE@@@
+ (cd clang_build && make -j$MAKE_JOBS check-tsan) || echo @@@STEP_FAILURE@@@
+ (cd clang_build && make -j$MAKE_JOBS check-ubsan) || echo @@@STEP_WARNINGS@@@
+ (cd clang_build && make -j$MAKE_JOBS check-dfsan) || echo @@@STEP_WARNINGS@@@
+ fi
fi
### From now on we use just-built Clang as a host compiler ###
More information about the llvm-commits
mailing list