2 # basic build script example
4 # do nothing but print the current slave hostname
6 export CCACHE_DIR=/tmp/ccache
7 if [ -d $CCACHE_DIR ];then
8 echo $CCACHE_DIR exists
11 echo $CCACHE_DIR does not exist. This must be a new slave.
14 # Make sure we are starting on java-7. This catches bugs in the
15 # vpp build system that can occur on Ubuntu 14.04 when a user may
16 # have both java-7 and java-8 installed.
17 if [ ${OS} == ubuntu1404 ];then
18 sudo update-java-alternatives /usr/lib/jvm/java-1.7.0-openjdk-amd64
21 build-root/vagrant/build.sh