[Skiboot] [PATCH 3/3] travis/opal-ci: enable ccache for everything

Stewart Smith stewart at linux.vnet.ibm.com
Thu Nov 17 09:31:46 AEDT 2016


caching most of skiboot build, saves us maybe a minute

Signed-off-by: Stewart Smith <stewart at linux.vnet.ibm.com>
---
 opal-ci/build-fedora24.sh     | 2 +-
 opal-ci/build-ubuntu-12.04.sh | 4 ++--
 opal-ci/build-ubuntu-16.04.sh | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/opal-ci/build-fedora24.sh b/opal-ci/build-fedora24.sh
index 609ee4a..4fe0c00 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 224d305..eb63c67 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 8352be8..731b671 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)
-- 
2.7.4



More information about the Skiboot mailing list