Ticket #49654: Portfile.diff

File Portfile.diff, 1.1 KB (added by howarth.at.macports@…, 9 years ago)

Portfile diff to restore the dropped optimization flags from the previous packaging

  • Portfile

    old new  
    4444# To enable, need not only to fix that check, but also fix configure in tapipb directory to use chosen FC compiler.
    4545configure.args-append   -DENABLE_OPENMP:BOOL=OFF \
    4646                        -DENABLE_BEM=OFF \
    47                         -DCMAKE_C_COMPILER_ARG1:STRING="-I${worksrcpath}/include" \
    48                         -DCMAKE_CXX_COMPILER_ARG1:STRING="-I${worksrcpath}/include"
     47                        -DCMAKE_C_COMPILER_ARG1:STRING="-I${worksrcpath}/include -O3 -ffast-math -g" \
     48                        -DCMAKE_CXX_COMPILER_ARG1:STRING="-I${worksrcpath}/include -O3 -ffast-math -g"
    4949
    5050test.run  yes
    5151test {
     
    6464    apbs {
    6565        compilers.setup
    6666
    67         revision                0
     67        revision                1
    6868
    6969        configure.args-append   -DENABLE_MPI:BOOL=OFF
    7070
     
    8585    apbs-mpi {
    8686        mpi.setup               require
    8787
    88         revision                0
     88        revision                1
    8989
    9090        description             ${description} (MPI version)
    9191