deb_dpdk: add new 18.05.x branch
[ci-management.git] / jjb / vpp / include-raw-vpp-clang-build.sh
index 3556616..5039d5c 100644 (file)
@@ -1,15 +1,15 @@
 #!/bin/bash
 # basic build script example
 set -xe -o pipefail
+
+OS_ID=$(grep '^ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')
+OS_VERSION_ID=$(grep '^VERSION_ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')
+
+echo OS_ID: $OS_ID
+echo OS_VERSION_ID: $OS_VERSION_ID
+
 # do nothing but print the current slave hostname
 hostname
-export CCACHE_DIR=/tmp/ccache
-if [ -d $CCACHE_DIR ];then
-    echo $CCACHE_DIR exists
-    du -sk $CCACHE_DIR
-else
-    echo $CCACHE_DIR does not exist.  This must be a new slave.
-fi
 
 echo "cat /etc/bootstrap.sha"
 if [ -f /etc/bootstrap.sha ];then
@@ -28,8 +28,13 @@ fi
 echo "sha1sum of this script: ${0}"
 sha1sum $0
 
-make UNATTENDED=y verify
+make UNATTENDED=yes install-dep
+make UNATTENDED=yes dpdk-install-dev
+make UNATTENDED=yes -C build-root PLATFORM=vpp TAG=vpp_clang CC=clang CXX=clang install-packages
+make UNATTENDED=yes -C build-root PLATFORM=vpp TAG=vpp_clang CC=clang CXX=clang sample-plugin-install
+make UNATTENDED=yes -C build-root PLATFORM=vpp TAG=vpp_clang CC=clang CXX=clang libmemif-install
+
 
 echo "*******************************************************************"
-echo "* VPP BUILD SUCCESSFULLY COMPLETED"
-echo "*******************************************************************"
\ No newline at end of file
+echo "* VPP CLANG BUILD SUCCESSFULLY COMPLETED"
+echo "*******************************************************************"