Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    r9b967914 rcc640aad  
    2323                //escapes the sandbox
    2424                //Also specify the compiler by hand
    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"
     25                sh "./configure CXX=${currentCC.cpp_cc} ${flags} --with-backend-compiler=${currentCC.cfa_backend_cc} --prefix=${install_dir} --enable-silent-rules --quiet"
    2626
    2727                //Compile the project
     
    3333                dir ('src/tests') {
    3434                        if (full_build) {
    35                                 sh 'make all-tests'
     35                                sh 'make all-tests debug=yes'
     36                                sh 'make all-tests debug=no'
    3637                        }
    3738                        else {
     
    166167
    167168                                bIsFullBuild = isFullBuild == 'true'
    168                                 architectureFlag = buildArchitecture == '64-bit' ? '-m64' : (buildArchitecture == '32-bit' ? '-m32' : 'ERROR')
     169                                architectureFlag = ''
     170                                if (buildArchitecture == '64-bit') {
     171                                        architectureFlag = '--host=x86_64 CXXFLAGS="-m64" CFAFLAGS="-m64"'
     172                                } else if (buildArchitecture == '32-bit'){
     173                                        architectureFlag = '--host=i386 CXXFLAGS="-m32" CFAFLAGS="-m32"'
     174                                } else {
     175                                        architectureFlag = 'ERROR'
     176                                }
    169177
    170178                                echo "FULL BUILD = ${isFullBuild}\nArchitecture = ${buildArchitecture} (flag ${architectureFlag})"
Note: See TracChangeset for help on using the changeset viewer.