Changeset 985b624
- Timestamp:
- May 1, 2023, 7:39:30 AM (22 months ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 4daf79f, 6e1e2d0
- Parents:
- e6d8d11
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified Jenkins/FullBuild ¶
re6d8d11 r985b624 20 20 gcc_08_x86_new: { trigger_build( 'gcc-10', 'x86', false ) }, 21 21 gcc_07_x86_new: { trigger_build( 'gcc-9', 'x86', false ) }, 22 gcc_11_x64_new: { trigger_build( 'gcc-11', 'x64', false ) }, 22 23 gcc_10_x64_new: { trigger_build( 'gcc-10', 'x64', false ) }, 23 24 gcc_09_x64_new: { trigger_build( 'gcc-9', 'x64', false ) }, 24 25 gcc_08_x64_new: { trigger_build( 'gcc-8', 'x64', false ) }, 25 26 gcc_07_x64_new: { trigger_build( 'gcc-7', 'x64', false ) }, 26 gcc_06_x64_new: { trigger_build( 'gcc-6', 'x64', false ) },27 // gcc_06_x64_new: { trigger_build( 'gcc-6', 'x64', false ) }, 27 28 clang_x64_new: { trigger_build( 'clang', 'x64', true ) }, 28 29 ) … … 41 42 } 42 43 43 // If an exception is caught we need to change the status and remember to44 // attach the build log to the email44 // If an exception is caught we need to change the status and remember to 45 // attach the build log to the email 45 46 catch (Exception caughtError) { 46 47 echo('error caught') … … 73 74 // Run the build 74 75 // Don't propagate, it doesn't play nice with our email setup 75 def result = build job: 'Cforall/master', \76 def result = build job: 'Cforall/master', \ 76 77 parameters: [ \ 77 78 [$class: 'StringParameterValue', \ … … 83 84 [$class: 'BooleanParameterValue', \ 84 85 name: 'NewAST', \ 85 value: true], 86 value: true], \ 86 87 [$class: 'BooleanParameterValue', \ 87 88 name: 'RunAllTests', \ 88 value: true], 89 value: true], \ 89 90 [$class: 'BooleanParameterValue', \ 90 91 name: 'RunBenchmark', \ 91 value: true], 92 value: true], \ 92 93 [$class: 'BooleanParameterValue', \ 93 name: 'BuildDocumentation', \94 name: 'BuildDocumentation', \ 94 95 value: doc], \ 95 96 [$class: 'BooleanParameterValue', \ 96 97 name: 'Publish', \ 97 value: true], 98 value: true], \ 98 99 [$class: 'BooleanParameterValue', \ 99 100 name: 'Silent', \ 100 value: true], 101 ], 101 value: true], \ 102 ], \ 102 103 propagate: false 103 104 … … 111 112 112 113 def trigger_dist(String commitId, String buildNum) { 113 def result = build job: 'Cforall_Distribute_Ref', \114 def result = build job: 'Cforall_Distribute_Ref', \ 114 115 parameters: [ \ 115 116 string(name: 'GitRef', value: commitId), \ 116 string(name: 'Build' , value: buildNum) \117 ], 117 string(name: 'Build' , value: buildNum) \ 118 ], \ 118 119 propagate: false 119 120 -
TabularUnified Jenkinsfile ¶
re6d8d11 r985b624 305 305 this.Compiler = new CC_Desc('gcc-7', 'g++-7', 'gcc-7', '-flto=auto') 306 306 break 307 case 'gcc-6':308 this.Compiler = new CC_Desc('gcc-6', 'g++-6', 'gcc-6', '-flto=auto')309 break310 case 'gcc-5':311 this.Compiler = new CC_Desc('gcc-5', 'g++-5', 'gcc-5', '-flto=auto')312 break313 case 'gcc-4.9':314 this.Compiler = new CC_Desc('gcc-4.9', 'g++-4.9', 'gcc-4.9', '-flto=auto')315 break307 // case 'gcc-6': 308 // this.Compiler = new CC_Desc('gcc-6', 'g++-6', 'gcc-6', '-flto=auto') 309 // break 310 // case 'gcc-5': 311 // this.Compiler = new CC_Desc('gcc-5', 'g++-5', 'gcc-5', '-flto=auto') 312 // break 313 // case 'gcc-4.9': 314 // this.Compiler = new CC_Desc('gcc-4.9', 'g++-4.9', 'gcc-4.9', '-flto=auto') 315 // break 316 316 case 'clang': 317 317 this.Compiler = new CC_Desc('clang', 'clang++-10', 'gcc-10', '-flto=thin -flto-jobs=0') … … 359 359 def prepare_build() { 360 360 // prepare the properties 361 properties ([ 362 buildDiscarder(logRotator( 363 artifactDaysToKeepStr: '', 364 artifactNumToKeepStr: '', 365 daysToKeepStr: '730', 366 numToKeepStr: '1000' 367 )), 368 [$class: 'ParametersDefinitionProperty', 369 parameterDefinitions: [ 370 [$class: 'ChoiceParameterDefinition', 371 description: 'Which compiler to use', 372 name: 'Compiler', 373 choices: 'gcc-11\ngcc-10\ngcc-9\ngcc-8\ngcc-7\n gcc-6\ngcc-5\ngcc-4.9\nclang', \374 defaultValue: 'gcc- 8',\375 ], 376 [$class: 'ChoiceParameterDefinition', 377 description: 'The target architecture', 378 name: 'Architecture', 379 choices: 'x64\nx86', 380 defaultValue: 'x64', 381 ], 382 [$class: 'BooleanParameterDefinition', 361 properties ([ \ 362 buildDiscarder(logRotator( \ 363 artifactDaysToKeepStr: '', \ 364 artifactNumToKeepStr: '', \ 365 daysToKeepStr: '730', \ 366 numToKeepStr: '1000' \ 367 )), \ 368 [$class: 'ParametersDefinitionProperty', \ 369 parameterDefinitions: [ \ 370 [$class: 'ChoiceParameterDefinition', \ 371 description: 'Which compiler to use', \ 372 name: 'Compiler', \ 373 choices: 'gcc-11\ngcc-10\ngcc-9\ngcc-8\ngcc-7\nclang', \ 374 defaultValue: 'gcc-9', \ 375 ], \ 376 [$class: 'ChoiceParameterDefinition', \ 377 description: 'The target architecture', \ 378 name: 'Architecture', \ 379 choices: 'x64\nx86', \ 380 defaultValue: 'x64', \ 381 ], \ 382 [$class: 'BooleanParameterDefinition', \ 383 383 description: 'If false, the test suite is only ran in debug', \ 384 name: 'RunAllTests', 385 defaultValue: false, 386 ], 387 [$class: 'BooleanParameterDefinition', 388 description: 'If true, jenkins also runs benchmarks', 389 name: 'RunBenchmark', 390 defaultValue: false, 391 ], 392 [$class: 'BooleanParameterDefinition', 393 description: 'If true, jenkins also builds documentation', 394 name: 'BuildDocumentation', 395 defaultValue: true, 396 ], 397 [$class: 'BooleanParameterDefinition', 398 description: 'If true, jenkins also publishes results', 399 name: 'Publish', 400 defaultValue: false, 401 ], 402 [$class: 'BooleanParameterDefinition', 403 description: 'If true, jenkins will not send emails', 404 name: 'Silent', 405 defaultValue: false, 406 ], 384 name: 'RunAllTests', \ 385 defaultValue: false, \ 386 ], \ 387 [$class: 'BooleanParameterDefinition', \ 388 description: 'If true, jenkins also runs benchmarks', \ 389 name: 'RunBenchmark', \ 390 defaultValue: false, \ 391 ], \ 392 [$class: 'BooleanParameterDefinition', \ 393 description: 'If true, jenkins also builds documentation', \ 394 name: 'BuildDocumentation', \ 395 defaultValue: true, \ 396 ], \ 397 [$class: 'BooleanParameterDefinition', \ 398 description: 'If true, jenkins also publishes results', \ 399 name: 'Publish', \ 400 defaultValue: false, \ 401 ], \ 402 [$class: 'BooleanParameterDefinition', \ 403 description: 'If true, jenkins will not send emails', \ 404 name: 'Silent', \ 405 defaultValue: false, \ 406 ], \ 407 407 ], 408 408 ]]) 409 // choices: 'gcc-11\ngcc-10\ngcc-9\ngcc-8\ngcc-7\ngcc-6\ngcc-5\ngcc-4.9\nclang', 410 // defaultValue: 'gcc-8', 409 411 410 412 // It's unfortunate but it looks like we need to checkout the entire repo just to get
Note: See TracChangeset
for help on using the changeset viewer.