Changeset d6a8aef for Jenkinsfile
- Timestamp:
- Jun 27, 2019, 10:09:52 AM (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:
- ee6dbae
- Parents:
- b0ab7853 (diff), e70e54e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Jenkinsfile
rb0ab7853 rd6a8aef 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) { … … 121 143 sh "${SrcDir}/configure CXX=${Settings.Compiler.CXX} CC=${Settings.Compiler.CC} ${Settings.Architecture.flags} ${targets} --quiet" 122 144 123 //Compile the project 124 sh 'make -j 8 --no-print-directory' 145 // Configure libcfa 146 sh 'make -j 8 --no-print-directory configure-libcfa' 147 } 148 } 149 150 build_stage('Build : cfa-cpp', true) { 151 // Build outside of the src tree to ease cleaning 152 dir (BuildDir) { 153 // Build driver 154 sh 'make -j 8 --no-print-directory -C driver' 155 156 // Build translator 157 sh 'make -j 8 --no-print-directory -C src' 158 } 159 } 160 161 build_stage('Build : libcfa(debug)', debug) { 162 // Build outside of the src tree to ease cleaning 163 dir (BuildDir) { 164 sh "make -j 8 --no-print-directory -C libcfa/${Settings.Architecture.name}-debug" 165 } 166 } 167 168 build_stage('Build : libcfa(nodebug)', release) { 169 // Build outside of the src tree to ease cleaning 170 dir (BuildDir) { 171 sh "make -j 8 --no-print-directory -C libcfa/${Settings.Architecture.name}-nodebug" 125 172 } 126 173 }
Note: See TracChangeset
for help on using the changeset viewer.