Ticket #50511: Portfile.2.diff

File Portfile.2.diff, 780 bytes (added by howarth.at.macports@…, 9 years ago)

Portfile diff to build fat libomp on x86_64

  • Portfile

    old new  
    88
    99name                    libomp
    1010version                 0.0
    11 revision                258695
     11revision                259113
    1212maintainers             eborisch openmaintainer
    1313homepage                http://openmp.llvm.org
    1414description             The OpenMP subproject of LLVM
     
    5353configure.args-append   -DCMAKE_INSTALL_RPATH=${prefix}/lib/libomp \
    5454                        -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib/libomp \
    5555
     56if {${build_arch} eq "x86_64"} {
     57    configure.args-append   -DLIBOMP_OSX_ARCHITECTURES="x86_64\;i386"
     58}
     59
    5660variant top_level description \
    5761    "Install (links to) omp.h and libs into ${prefix}/(include|lib)" {}
    5862