summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorMichal Cmarada <mcmarada@cisco.com>2019-04-05 12:07:35 +0200
committerMichal Cmarada <mcmarada@cisco.com>2019-04-05 12:07:35 +0200
commitd544aa4c74e432f14c98b00e2ea468a2d7afe54e (patch)
tree6778ae95f115114e95e0c08b5e85f570afaa2985 /jjb
parent91c80931fb2bd1add82fb9f4bb94dba99c9dafaf (diff)
JVPP enable devtoolset7 compiler
Change-Id: I25a5fe27e29c2a097392fc79b1c0cba883736d19 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
Diffstat (limited to 'jjb')
-rwxr-xr-xjjb/jvpp/include-raw-jvpp-build.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/jjb/jvpp/include-raw-jvpp-build.sh b/jjb/jvpp/include-raw-jvpp-build.sh
index 7a0a5fa71..3ccc97e09 100755
--- a/jjb/jvpp/include-raw-jvpp-build.sh
+++ b/jjb/jvpp/include-raw-jvpp-build.sh
@@ -43,7 +43,8 @@ echo "Building using \"make package\""
[[ "x${DRYRUN}" == "xTrue" ]] || cd Requirements && make UNATTENDED=yes install-dep && cd ..
[[ "x${DRYRUN}" == "xTrue" ]] || pwd
if [[ "${OS_ID}" == "centos" ]]; then
- [[ "x${DRYRUN}" == "xTrue" ]] || cmake3 .
+ [[ "x${DRYRUN}" == "xTrue" ]] || /opt/rh/devtoolset-7/enable
+ [[ "x${DRYRUN}" == "xTrue" ]] || cmake3 . -DCMAKE_PROGRAM_PATH:PATH="/opt/rh/devtoolset-7/root/bin"
else
[[ "x${DRYRUN}" == "xTrue" ]] || cmake .
fi