Changeset 8fa3c7e6
- Timestamp:
- Feb 22, 2017, 5:02:53 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 692de479
- Parents:
- b3e9729
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Jenkins/FullBuild
rb3e9729 r8fa3c7e6 20 20 21 21 parallel ( 22 x64: { 23 trigger_build('64-bit') 24 }, 25 x32: { 26 trigger_build('32-bit') 27 } 22 gcc_6_x64: { trigger_build( 'gcc-6', 'x64' ) }, 23 gcc_6_x86: { trigger_build( 'gcc-6', 'x86' ) }, 24 gcc_5_x64: { trigger_build( 'gcc-5', 'x64' ) }, 25 gcc_5_x86: { trigger_build( 'gcc-5', 'x86' ) }, 26 gcc_4_x64: { trigger_build( 'gcc-4', 'x64' ) }, 27 gcc_4_x86: { trigger_build( 'gcc-4', 'x86' ) }, 28 clang_x64: { trigger_build( 'clang', 'x64' ) }, 29 clang_x86: { trigger_build( 'clang', 'x86' ) }, 28 30 ) 29 31 … … 60 62 //=========================================================================================================== 61 63 62 def trigger_build(String arch) {64 def trigger_build(String cc, String arch) { 63 65 def result = build job: 'Cforall/master', \ 64 66 parameters: [ \ 67 [$class: 'StringParameterValue', \ 68 name: 'pCompiler', \ 69 value: cc], \ 70 [$class: 'StringParameterValue', \ 71 name: 'pArchitecture', \ 72 value: arch], \ 65 73 [$class: 'BooleanParameterValue', \ 66 name: ' isFullBuild',\74 name: 'pRunAllTests', \ 67 75 value: true], \ 68 [$class: 'StringParameterValue', \ 69 name: 'buildArchitecture', \ 70 value: arch] \ 76 [$class: 'BooleanParameterValue', \ 77 name: 'pRunBenchmark', \ 78 value: true], \ 79 [$class: 'BooleanParameterValue', \ 80 name: 'pBuildDocumentation', \ 81 value: true], \ 82 [$class: 'BooleanParameterValue', \ 83 name: 'pPublish', \ 84 value: true], \ 85 [$class: 'BooleanParameterValue', \ 86 name: 'pSilent', \ 87 value: true], \ 71 88 ], \ 72 89 propagate: false -
Jenkinsfile
rb3e9729 r8fa3c7e6 113 113 description: 'The target architecture', \ 114 114 name: 'pArchitecture', \ 115 choices: ' 64-bit\n32-bit',\116 defaultValue: ' 64-bit', \115 choices: 'x64\nx86', \ 116 defaultValue: 'x64', \ 117 117 ], \ 118 118 [$class: 'BooleanParameterDefinition', \ 119 119 description: 'If false, only the quick test suite is ran', \ 120 name: 'pRunAllTests', \120 name: 'pRunAllTests', \ 121 121 defaultValue: false, \ 122 122 ], \ 123 123 [$class: 'BooleanParameterDefinition', \ 124 124 description: 'If true, jenkins also runs benchmarks', \ 125 name: 'pRunBenchmark', \125 name: 'pRunBenchmark', \ 126 126 defaultValue: true, \ 127 127 ], \ … … 219 219 def architecture_from_params( arch ) { 220 220 switch( arch ) { 221 case ' 64-bit':221 case 'x64': 222 222 return '--host=x86_64 CXXFLAGS="-m64" CFAFLAGS="-m64"' 223 223 break 224 case ' 32-bit':224 case 'x86': 225 225 return '--host=i386 CXXFLAGS="-m32" CFAFLAGS="-m32"' 226 226 break
Note: See TracChangeset
for help on using the changeset viewer.