fix centos7 x64

This commit is contained in:
Grant Limberg 2020-06-19 16:50:42 -07:00
parent 05cc4ea36a
commit 050615f2d2
No known key found for this signature in database
GPG key ID: 2BA62CCABBB4095A

6
Jenkinsfile vendored
View file

@ -448,7 +448,11 @@ def buildCentosNative() {
sh 'CMAKE_ARGS="-DZT_PACKAGE_FORMAT=RPM" make setup'
}
dir ("build") {
sh 'make package -j4'
if (distro == 'centos7' && arch == 'amd64') {
sh 'source scl_source enable devtoolset-8 llvm-toolset-7 && make package -j4'
} else {
sh 'make package -j4'
}
}
}
sh "mkdir -p ${distro}"