Changeset c0588909 for Jenkinsfile
- Timestamp:
- Jul 11, 2016, 5:24:47 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 6f72453
- Parents:
- deefdc1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Jenkinsfile
rdeefdc1 rc0588909 5 5 //=========================================================================================================== 6 6 //Compilation script is done here but environnement set-up and error handling is done in main loop 7 def cfa_build(boolean full_build ) {7 def cfa_build(boolean full_build, String flags) { 8 8 build_stage 'Checkout' 9 9 def install_dir = pwd tmp: true … … 23 23 //escapes the sandbox 24 24 //Also specify the compiler by hand 25 sh "./configure CXX=${currentCC.cpp_cc} --with-backend-compiler=${currentCC.cfa_backend_cc} --prefix=${install_dir} --enable-silent-rules --quiet"25 sh "./configure CXX=${currentCC.cpp_cc} CXXFLAGS=${flags} CFAFLAGS=${flags} --with-backend-compiler=${currentCC.cfa_backend_cc} --prefix=${install_dir} --enable-silent-rules --quiet" 26 26 27 27 //Compile the project … … 193 193 //Compile using gcc-4.9 194 194 currentCC = new CC_Desc('gcc-4.9', 'g++-4.9', 'gcc-4.9') 195 cfa_build(doPromoteBuild2DoLang )195 cfa_build(doPromoteBuild2DoLang, architectureFlag) 196 196 197 197 //Compile latex documentation … … 201 201 //Compile using gcc-5 202 202 currentCC = new CC_Desc('gcc-5', 'g++-5', 'gcc-5') 203 cfa_build(true )203 cfa_build(true, architectureFlag) 204 204 205 205 //Compile using gcc-4.9 206 206 currentCC = new CC_Desc('gcc-6', 'g++-6', 'gcc-6') 207 cfa_build(true )207 cfa_build(true, architectureFlag) 208 208 209 209 //Push latest changes to do-lang repo … … 229 229 finally { 230 230 //Send email with final results 231 //notify_result(doPromoteBuild2DoLang, err, currentBuild.result, log_needed)231 notify_result(doPromoteBuild2DoLang, err, currentBuild.result, log_needed) 232 232 233 233 /* Must re-throw exception to propagate error */
Note: See TracChangeset
for help on using the changeset viewer.