summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2016-11-17 09:31:46 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-11-24 16:34:15 +1100
commit1ed90e228d58c7f9ba768cf5719fe2666149602b (patch)
tree25cf44a1b0202d574a9999154ee02538d68ae4e2
parent930fa2caf84d9160cb22ee5a4e59bdc810d8b411 (diff)
downloadtalos-skiboot-1ed90e228d58c7f9ba768cf5719fe2666149602b.tar.gz
talos-skiboot-1ed90e228d58c7f9ba768cf5719fe2666149602b.zip
travis/opal-ci: enable ccache for everything
caching most of skiboot build, saves us maybe a minute Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rwxr-xr-xopal-ci/build-fedora24.sh2
-rwxr-xr-xopal-ci/build-ubuntu-12.04.sh4
-rwxr-xr-xopal-ci/build-ubuntu-16.04.sh2
3 files changed, 4 insertions, 4 deletions
diff --git a/opal-ci/build-fedora24.sh b/opal-ci/build-fedora24.sh
index 609ee4aa..4fe0c005 100755
--- a/opal-ci/build-fedora24.sh
+++ b/opal-ci/build-fedora24.sh
@@ -5,7 +5,7 @@ set -e
set -x
MAKE_J=`grep -c processor /proc/cpuinfo`
-export CROSS=powerpc64-linux-gnu-
+export CROSS="ccache powerpc64-linux-gnu-"
make -j${MAKE_J} all
make -j${MAKE_J} check
diff --git a/opal-ci/build-ubuntu-12.04.sh b/opal-ci/build-ubuntu-12.04.sh
index 224d305b..eb63c671 100755
--- a/opal-ci/build-ubuntu-12.04.sh
+++ b/opal-ci/build-ubuntu-12.04.sh
@@ -3,8 +3,8 @@
set -uo pipefail
set -e
-export CROSS=/opt/cross/gcc-4.8.0-nolibc/powerpc64-linux/bin/powerpc64-linux-
-export HOSTCC=gcc-4.8
+export CROSS="ccache /opt/cross/gcc-4.8.0-nolibc/powerpc64-linux/bin/powerpc64-linux-"
+export HOSTCC="ccache gcc-4.8"
MAKE_J=`grep -c processor /proc/cpuinfo`
make -j${MAKE_J} all
diff --git a/opal-ci/build-ubuntu-16.04.sh b/opal-ci/build-ubuntu-16.04.sh
index 8352be87..731b6714 100755
--- a/opal-ci/build-ubuntu-16.04.sh
+++ b/opal-ci/build-ubuntu-16.04.sh
@@ -5,7 +5,7 @@ set -e
MAKE_J=`grep -c processor /proc/cpuinfo`
-export CROSS=powerpc64le-linux-gnu-
+export CROSS="ccache powerpc64le-linux-gnu-"
make -j${MAKE_J} all
(cd opal-ci; ./build-qemu-powernv.sh)
OpenPOWER on IntegriCloud