From d544aa4c74e432f14c98b00e2ea468a2d7afe54e Mon Sep 17 00:00:00 2001 From: Michal Cmarada Date: Fri, 5 Apr 2019 12:07:35 +0200 Subject: [PATCH] JVPP enable devtoolset7 compiler Change-Id: I25a5fe27e29c2a097392fc79b1c0cba883736d19 Signed-off-by: Michal Cmarada --- jjb/jvpp/include-raw-jvpp-build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.16.6