Changes in Jenkinsfile [c862fae:13d2dac]
- File:
-
- 1 edited
-
Jenkinsfile (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Jenkinsfile
rc862fae r13d2dac 126 126 } 127 127 128 sh "${SrcDir}/configure CXX=${Settings.Compiler.CXX} CC=${Settings.Compiler.CC} ${Settings.Architecture.flags} AR=gcc-ar RANLIB=gcc-ranlib ${targets} --quiet --prefix=${BuildDir}"128 sh "${SrcDir}/configure CXX=${Settings.Compiler.CXX} CC=${Settings.Compiler.CC} ${Settings.Architecture.flags} ${targets} --quiet" 129 129 130 130 // Configure libcfa … … 155 155 dir (BuildDir) { 156 156 sh "make -j 8 --no-print-directory -C libcfa/${Settings.Architecture.name}-nodebug" 157 }158 }159 160 build_stage('Build : install', true) {161 // Build outside of the src tree to ease cleaning162 dir (BuildDir) {163 sh "make -j 8 --no-print-directory install"164 157 } 165 158 } … … 186 179 echo "Archiving core dumps" 187 180 dir (BuildDir) { 188 archiveArtifacts artifacts: "tests/crashes/**/* ,lib/**/lib*.so*", fingerprint: true181 archiveArtifacts artifacts: "tests/crashes/**/*", fingerprint: true 189 182 } 190 183 throw err … … 332 325 public String CXX 333 326 public String CC 334 public String lto 335 336 CC_Desc(String name, String CXX, String CC, String lto) { 327 328 CC_Desc(String name, String CXX, String CC) { 337 329 this.name = name 338 330 this.CXX = CXX 339 this.CC = CC 340 this.lto = lto 331 this.CC = CC 341 332 } 342 333 } … … 373 364 switch( param.Compiler ) { 374 365 case 'gcc-9': 375 this.Compiler = new CC_Desc('gcc-9', 'g++-9', 'gcc-9' , '-flto=auto')366 this.Compiler = new CC_Desc('gcc-9', 'g++-9', 'gcc-9') 376 367 break 377 368 case 'gcc-8': 378 this.Compiler = new CC_Desc('gcc-8', 'g++-8', 'gcc-8' , '-flto=auto')369 this.Compiler = new CC_Desc('gcc-8', 'g++-8', 'gcc-8') 379 370 break 380 371 case 'gcc-7': 381 this.Compiler = new CC_Desc('gcc-7', 'g++-7', 'gcc-7' , '-flto=auto')372 this.Compiler = new CC_Desc('gcc-7', 'g++-7', 'gcc-7') 382 373 break 383 374 case 'gcc-6': 384 this.Compiler = new CC_Desc('gcc-6', 'g++-6', 'gcc-6' , '-flto=auto')375 this.Compiler = new CC_Desc('gcc-6', 'g++-6', 'gcc-6') 385 376 break 386 377 case 'gcc-5': 387 this.Compiler = new CC_Desc('gcc-5', 'g++-5', 'gcc-5' , '-flto=auto')378 this.Compiler = new CC_Desc('gcc-5', 'g++-5', 'gcc-5') 388 379 break 389 380 case 'gcc-4.9': 390 this.Compiler = new CC_Desc('gcc-4.9', 'g++-4.9', 'gcc-4.9' , '-flto=auto')381 this.Compiler = new CC_Desc('gcc-4.9', 'g++-4.9', 'gcc-4.9') 391 382 break 392 383 case 'clang': 393 this.Compiler = new CC_Desc('clang', 'clang++-6.0', 'gcc-6' , '-flto=thin -flto-jobs=0')384 this.Compiler = new CC_Desc('clang', 'clang++-6.0', 'gcc-6') 394 385 break 395 386 default : … … 448 439 // prepare the properties 449 440 properties ([ \ 450 buildDiscarder(logRotator( \451 artifactDaysToKeepStr: '', \452 artifactNumToKeepStr: '', \453 daysToKeepStr: '730', \454 numToKeepStr: '1000' \455 )), \456 441 [$class: 'ParametersDefinitionProperty', \ 457 442 parameterDefinitions: [ \
Note:
See TracChangeset
for help on using the changeset viewer.