got these files from Rein over email
This commit is contained in:
37
doScons
Normal file
37
doScons
Normal file
@ -0,0 +1,37 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Gemaakt voor RuG-CIT 2017-07-17 Door: Rein van Weerden
|
||||
# ======================================================================
|
||||
# doScons Copyright dVR H&S Sys. 2017
|
||||
# ======================================================================
|
||||
#
|
||||
# doVRouterMake is used to check a 4.11 release kernel and if
|
||||
# go and build a Contrail VRouter in a virtualbox
|
||||
#
|
||||
# ____
|
||||
# <. .\
|
||||
# \..|
|
||||
# \ |___(\--/)
|
||||
# __/ ( . . )
|
||||
# "'._. '-.O.'
|
||||
# '-. \ "|\
|
||||
# '.,,/'., dVR
|
||||
#
|
||||
if [[ -n ${DX} ]]
|
||||
then
|
||||
exec 1>>/tmp/${0##*/}.log 2>&1
|
||||
set -${DX} # Are you going to debug? (DX is set to 'x' (set DX='x') or unset)
|
||||
fi
|
||||
#
|
||||
|
||||
export USER=rein
|
||||
export GOROOT=/home/${USER}/src/Juniper/third_party/go
|
||||
export GOPATH=/home/${USER}/go
|
||||
date >> /home/${USER}/doScons.run.time
|
||||
cd /home/${USER}/src/Juniper
|
||||
#export C_INCLUDE_PATH="/usr/include"
|
||||
#export CPLUS_INCLUDE_PATH="/usr/include"
|
||||
export NUM_CPU="$(nproc)"
|
||||
scons -Q debug=1 > /home/${USER}/doScons.log 2>&1
|
||||
date >> /home/${USER}/doScons.run.time
|
||||
|
Reference in New Issue
Block a user