Changes in Jenkinsfile [9b967914:cc640aad]
- File:
-
- 1 edited
-
Jenkinsfile (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Jenkinsfile
r9b967914 rcc640aad 23 23 //escapes the sandbox 24 24 //Also specify the compiler by hand 25 sh "./configure CXX=${currentCC.cpp_cc} CXXFLAGS=${flags} CFAFLAGS=${flags} --with-backend-compiler=${currentCC.cfa_backend_cc} --prefix=${install_dir} --enable-silent-rules --quiet"25 sh "./configure CXX=${currentCC.cpp_cc} ${flags} --with-backend-compiler=${currentCC.cfa_backend_cc} --prefix=${install_dir} --enable-silent-rules --quiet" 26 26 27 27 //Compile the project … … 33 33 dir ('src/tests') { 34 34 if (full_build) { 35 sh 'make all-tests' 35 sh 'make all-tests debug=yes' 36 sh 'make all-tests debug=no' 36 37 } 37 38 else { … … 166 167 167 168 bIsFullBuild = isFullBuild == 'true' 168 architectureFlag = buildArchitecture == '64-bit' ? '-m64' : (buildArchitecture == '32-bit' ? '-m32' : 'ERROR') 169 architectureFlag = '' 170 if (buildArchitecture == '64-bit') { 171 architectureFlag = '--host=x86_64 CXXFLAGS="-m64" CFAFLAGS="-m64"' 172 } else if (buildArchitecture == '32-bit'){ 173 architectureFlag = '--host=i386 CXXFLAGS="-m32" CFAFLAGS="-m32"' 174 } else { 175 architectureFlag = 'ERROR' 176 } 169 177 170 178 echo "FULL BUILD = ${isFullBuild}\nArchitecture = ${buildArchitecture} (flag ${architectureFlag})"
Note:
See TracChangeset
for help on using the changeset viewer.