Changeset e507c11 for Jenkinsfile
- Timestamp:
- Jun 26, 2019, 3:08:07 PM (5 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:
- f253e4a
- Parents:
- 35a408b7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Jenkinsfile
r35a408b7 re507c11 106 106 107 107 def build() { 108 build_stage('Build', true) { 108 // build_stage('Build', true) { 109 // // Build outside of the src tree to ease cleaning 110 // dir (BuildDir) { 111 // //Configure the conpilation (Output is not relevant) 112 // //Use the current directory as the installation target so nothing escapes the sandbox 113 // //Also specify the compiler by hand 114 // 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 project 124 // sh 'make -j 8 --no-print-directory' 125 // } 126 // } 127 128 debug = true 129 release = Settings.RunAllTests || Settings.RunBenchmark 130 build_stage('Build : configure', true) { 109 131 // Build outside of the src tree to ease cleaning 110 132 dir (BuildDir) { … … 120 142 121 143 sh "${SrcDir}/configure CXX=${Settings.Compiler.CXX} CC=${Settings.Compiler.CC} ${Settings.Architecture.flags} ${targets} --quiet" 122 123 //Compile the project 124 sh 'make -j 8 --no-print-directory' 144 } 145 } 146 147 build_stage('Build : cfa-cpp', true) { 148 // Build outside of the src tree to ease cleaning 149 dir (BuildDir) { 150 // Build driver 151 sh 'make -j 8 --no-print-directory -C driver' 152 153 // Build translator 154 sh 'make -j 8 --no-print-directory -C src' 155 } 156 } 157 158 build_stage('Build : libcfa(debug)', debug) { 159 // Build outside of the src tree to ease cleaning 160 dir (BuildDir) { 161 sh "make -j 8 --no-print-directory -C libcfa/${Settings.Architecture.name}-debug" 162 } 163 } 164 165 build_stage('Build : libcfa(nodebug)', release) { 166 // Build outside of the src tree to ease cleaning 167 dir (BuildDir) { 168 sh "make -j 8 --no-print-directory -C libcfa/${Settings.Architecture.name}-nodebug" 125 169 } 126 170 }
Note: See TracChangeset
for help on using the changeset viewer.