Browse Source

fix centos7 x64

Grant Limberg 5 years ago
parent
commit
050615f2d2
1 changed files with 5 additions and 1 deletions
  1. 5 1
      Jenkinsfile

+ 5 - 1
Jenkinsfile

@@ -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}"