aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2017-11-29 16:32:44 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2017-11-29 16:32:44 +0000
commit8818fd5730a4032e42254b67819150e5a0dba2ec (patch)
tree8816102f748b9e04d000b80233f1eb99d9beb014
parent9eec6f746e6b97cfe044be67b8ff355c3f93ba5d (diff)
downloaddockerfiles-tcwg-packet.tar.gz
tcwg-llvmbot: Remove unnecessary customizationtcwg-packet
... which is now handled in buildmaster. Change-Id: Idcb508b71b49e7ec6d071030b9885479699ad190
-rwxr-xr-xtcwg-base/tcwg-llvmbot/run.sh.tmpl27
1 files changed, 0 insertions, 27 deletions
diff --git a/tcwg-base/tcwg-llvmbot/run.sh.tmpl b/tcwg-base/tcwg-llvmbot/run.sh.tmpl
index bf6f134..ce10c83 100755
--- a/tcwg-base/tcwg-llvmbot/run.sh.tmpl
+++ b/tcwg-base/tcwg-llvmbot/run.sh.tmpl
@@ -14,33 +14,6 @@ if ! [ -f ~buildslave/buildslave/buildbot.tac ]; then
fi
case "$2" in
- libcxx-*|*-lld)
- # Libcxx and LLD bots need to be compiled with clang.
- # We override cc and c++ in /usr/local/bin to achieve this.
- cc=clang
- cxx=clang++
- ;;
- *)
- cc=gcc
- cxx=g++
- ;;
-esac
-
-# With default PATH /usr/local/bin/cc and /usr/local/bin/c++ are detected as
-# system compilers. No danger in ccaching results of system compiler since
-# we always start with a clean cache in a new container.
-cat > /usr/local/bin/cc <<EOF
-#!/bin/sh
-exec ccache $cc "\$@"
-EOF
-chmod +x /usr/local/bin/cc
-cat > /usr/local/bin/c++ <<EOF
-#!/bin/sh
-exec ccache $cxx "\$@"
-EOF
-chmod +x /usr/local/bin/c++
-
-case "$2" in
*-lld)
# LLD buildbot needs to find ld.lld for stage1 build.
ln -f -s /usr/bin/ld.bfd /usr/local/bin/ld.lld