From 51ec8befaa567430998c539d06a455e7a0dc136f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 27 Mar 2017 16:29:59 +0300 Subject: Add support for variables NEWCC and NEWCXX into all ci scripts. --- tools/ci/jobs/gccsnapshot.sh | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tools/ci/jobs/gccsnapshot.sh') diff --git a/tools/ci/jobs/gccsnapshot.sh b/tools/ci/jobs/gccsnapshot.sh index 207f963b2..26eb5e88e 100755 --- a/tools/ci/jobs/gccsnapshot.sh +++ b/tools/ci/jobs/gccsnapshot.sh @@ -3,6 +3,14 @@ export CC=gcc export CXX=g++ export LOGFILE=gcc-snapshot.log + +if [ "$NEWCC" != "" ]; then + export CC="$NEWCC" +fi +if [ "$NEWCXX" != "" ]; then + export CXX="$NEWCXX" +fi + export PATH=/usr/lib/gcc-snapshot/bin:$PATH source ./tools/ci/scripts/init.sh -- cgit v1.2.3-70-g09d2