[zorg] r282734 - [asan] Don't build LLVMgold if CFI is not needed. PPC has neither.

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 29 10:38:11 PDT 2016


Author: vitalybuka
Date: Thu Sep 29 12:38:11 2016
New Revision: 282734

URL: http://llvm.org/viewvc/llvm-project?rev=282734&view=rev
Log:
[asan] Don't build LLVMgold if CFI is not needed. PPC has neither.

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=282734&r1=282733&r2=282734&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_cmake.sh (original)
+++ zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_cmake.sh Thu Sep 29 12:38:11 2016
@@ -181,9 +181,12 @@ fi
 # Symbolizer dependencies.
 (cd llvm_build64 && make -j$MAKE_JOBS llvm-ar llvm-link llvm-tblgen opt) || echo @@@STEP_FAILURE@@@
 
-# FIXME: Make these true dependencies of check-cfi-and-supported when
-# compiler-rt is configured as an external project.
-(cd llvm_build64 && make -j$MAKE_JOBS LLVMgold opt sanstats) || echo @@@STEP_FAILURE@@@
+
+if [ "$CHECK_CFI" == "1" ]; then
+  # FIXME: Make these true dependencies of check-cfi-and-supported when
+  # compiler-rt is configured as an external project.
+  (cd llvm_build64 && make -j$MAKE_JOBS LLVMgold opt sanstats) || echo @@@STEP_FAILURE@@@
+fi
 
 check_64bit() {
   CONDITION=$1




More information about the llvm-commits mailing list