Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    rc862fae r13d2dac  
    126126                        }
    127127
    128                         sh "${SrcDir}/configure CXX=${Settings.Compiler.CXX} CC=${Settings.Compiler.CC} ${Settings.Architecture.flags} AR=gcc-ar RANLIB=gcc-ranlib ${targets} --quiet --prefix=${BuildDir}"
     128                        sh "${SrcDir}/configure CXX=${Settings.Compiler.CXX} CC=${Settings.Compiler.CC} ${Settings.Architecture.flags} ${targets} --quiet"
    129129
    130130                        // Configure libcfa
     
    155155                dir (BuildDir) {
    156156                        sh "make -j 8 --no-print-directory -C libcfa/${Settings.Architecture.name}-nodebug"
    157                 }
    158         }
    159 
    160         build_stage('Build : install', true) {
    161                 // Build outside of the src tree to ease cleaning
    162                 dir (BuildDir) {
    163                         sh "make -j 8 --no-print-directory install"
    164157                }
    165158        }
     
    186179                echo "Archiving core dumps"
    187180                dir (BuildDir) {
    188                         archiveArtifacts artifacts: "tests/crashes/**/*,lib/**/lib*.so*", fingerprint: true
     181                        archiveArtifacts artifacts: "tests/crashes/**/*", fingerprint: true
    189182                }
    190183                throw err
     
    332325        public String CXX
    333326        public String CC
    334         public String lto
    335 
    336         CC_Desc(String name, String CXX, String CC, String lto) {
     327
     328        CC_Desc(String name, String CXX, String CC) {
    337329                this.name = name
    338330                this.CXX = CXX
    339                 this.CC  = CC
    340                 this.lto = lto
     331                this.CC = CC
    341332        }
    342333}
     
    373364                switch( param.Compiler ) {
    374365                        case 'gcc-9':
    375                                 this.Compiler = new CC_Desc('gcc-9', 'g++-9', 'gcc-9', '-flto=auto')
     366                                this.Compiler = new CC_Desc('gcc-9', 'g++-9', 'gcc-9')
    376367                        break
    377368                        case 'gcc-8':
    378                                 this.Compiler = new CC_Desc('gcc-8', 'g++-8', 'gcc-8', '-flto=auto')
     369                                this.Compiler = new CC_Desc('gcc-8', 'g++-8', 'gcc-8')
    379370                        break
    380371                        case 'gcc-7':
    381                                 this.Compiler = new CC_Desc('gcc-7', 'g++-7', 'gcc-7', '-flto=auto')
     372                                this.Compiler = new CC_Desc('gcc-7', 'g++-7', 'gcc-7')
    382373                        break
    383374                        case 'gcc-6':
    384                                 this.Compiler = new CC_Desc('gcc-6', 'g++-6', 'gcc-6', '-flto=auto')
     375                                this.Compiler = new CC_Desc('gcc-6', 'g++-6', 'gcc-6')
    385376                        break
    386377                        case 'gcc-5':
    387                                 this.Compiler = new CC_Desc('gcc-5', 'g++-5', 'gcc-5', '-flto=auto')
     378                                this.Compiler = new CC_Desc('gcc-5', 'g++-5', 'gcc-5')
    388379                        break
    389380                        case 'gcc-4.9':
    390                                 this.Compiler = new CC_Desc('gcc-4.9', 'g++-4.9', 'gcc-4.9', '-flto=auto')
     381                                this.Compiler = new CC_Desc('gcc-4.9', 'g++-4.9', 'gcc-4.9')
    391382                        break
    392383                        case 'clang':
    393                                 this.Compiler = new CC_Desc('clang', 'clang++-6.0', 'gcc-6', '-flto=thin -flto-jobs=0')
     384                                this.Compiler = new CC_Desc('clang', 'clang++-6.0', 'gcc-6')
    394385                        break
    395386                        default :
     
    448439        // prepare the properties
    449440        properties ([                                                                                                   \
    450                 buildDiscarder(logRotator(                                                                              \
    451                         artifactDaysToKeepStr: '',                                                                      \
    452                         artifactNumToKeepStr: '',                                                                       \
    453                         daysToKeepStr: '730',                                                                           \
    454                         numToKeepStr: '1000'                                                                            \
    455                 )),                                                                                                             \
    456441                [$class: 'ParametersDefinitionProperty',                                                                \
    457442                        parameterDefinitions: [                                                                         \
Note: See TracChangeset for help on using the changeset viewer.