2 # basic build script example
5 OS_ID=$(grep '^ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')
6 OS_VERSION_ID=$(grep '^VERSION_ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')
9 echo OS_VERSION_ID: $OS_VERSION_ID
11 # do nothing but print the current slave hostname
14 echo "cat /etc/bootstrap.sha"
15 if [ -f /etc/bootstrap.sha ];then
16 cat /etc/bootstrap.sha
18 echo "Cannot find cat /etc/bootstrap.sha"
21 echo "cat /etc/bootstrap-functions.sha"
22 if [ -f /etc/bootstrap-functions.sha ];then
23 cat /etc/bootstrap-functions.sha
25 echo "Cannot find cat /etc/bootstrap-functions.sha"
28 echo "sha1sum of this script: ${0}"
31 make UNATTENDED=yes install-dep
32 make UNATTENDED=yes dpdk-install-dev
33 make UNATTENDED=yes -C build-root PLATFORM=vpp TAG=vpp_clang CC=clang CXX=clang install-packages
34 make UNATTENDED=yes -C build-root PLATFORM=vpp TAG=vpp_clang CC=clang CXX=clang sample-plugin-install
35 make UNATTENDED=yes -C build-root PLATFORM=vpp TAG=vpp_clang CC=clang CXX=clang libmemif-install
38 echo "*******************************************************************"
39 echo "* VPP CLANG BUILD SUCCESSFULLY COMPLETED"
40 echo "*******************************************************************"