Changeset c6f1f3e for Jenkinsfile
- Timestamp:
- Jul 31, 2019, 3:33:44 PM (6 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 0d92e5c
- Parents:
- 1d76f8a4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified Jenkinsfile ¶
r1d76f8a4 rc6f1f3e 106 106 107 107 def build() { 108 // build_stage('Build', true) {109 // // Build outside of the src tree to ease cleaning110 // dir (BuildDir) {111 // //Configure the conpilation (Output is not relevant)112 // //Use the current directory as the installation target so nothing escapes the sandbox113 // //Also specify the compiler by hand114 // targets=""115 // if( Settings.RunAllTests || Settings.RunBenchmark ) {116 // targets="--with-target-hosts='host:debug,host:nodebug'"117 // } else {118 // targets="--with-target-hosts='host:debug'"119 // }120 121 // sh "${SrcDir}/configure CXX=${Settings.Compiler.CXX} CC=${Settings.Compiler.CC} ${Settings.Architecture.flags} ${targets} --quiet"122 123 // //Compile the project124 // sh 'make -j 8 --no-print-directory'125 // }126 // }127 128 108 debug = true 129 109 release = Settings.RunAllTests || Settings.RunBenchmark … … 195 175 dir (BuildDir) { 196 176 //Append bench results 197 sh "make --no-print-directory -C benchmark jenkins "177 sh "make --no-print-directory -C benchmark jenkins arch=${Settings.Architecture.name}" 198 178 } 199 179 } … … 221 201 222 202 //Then publish the results 223 do_plot(Settings.RunBenchmark && Settings.Publish, 'compile' , groupCompile , 'Compilation') 224 do_plot(Settings.RunBenchmark && Settings.Publish, 'ctxswitch', groupConcurrency, 'Context Switching') 225 do_plot(Settings.RunBenchmark && Settings.Publish, 'mutex' , groupConcurrency, 'Mutual Exclusion') 226 do_plot(Settings.RunBenchmark && Settings.Publish, 'signal' , groupConcurrency, 'Internal and External Scheduling') 203 do_plot(Settings.RunBenchmark && Settings.Publish, 'compile' , groupCompile , 'Compilation') 204 do_plot(Settings.RunBenchmark && Settings.Publish, 'compile-diff' , groupCompile , 'Compilation Speed-Up') 205 do_plot(Settings.RunBenchmark && Settings.Publish, 'ctxswitch' , groupConcurrency, 'Context Switching') 206 do_plot(Settings.RunBenchmark && Settings.Publish, 'ctxswitch-diff', groupConcurrency, 'Context Switching Speed-Up') 207 do_plot(Settings.RunBenchmark && Settings.Publish, 'mutex' , groupConcurrency, 'Mutual Exclusion') 208 do_plot(Settings.RunBenchmark && Settings.Publish, 'mutex-diff' , groupConcurrency, 'Mutual Exclusion Speed-Up') 209 do_plot(Settings.RunBenchmark && Settings.Publish, 'signal' , groupConcurrency, 'Internal and External Scheduling') 210 do_plot(Settings.RunBenchmark && Settings.Publish, 'signal-diff' , groupConcurrency, 'Internal and External Scheduling Speed-Up') 227 211 } 228 212 }
Note: See TracChangeset
for help on using the changeset viewer.