[MacPorts] #50511: libomp: build fat library on x86_64 to provide i386 support

MacPorts noreply at macports.org
Fri Mar 18 12:07:09 PDT 2016


#50511: libomp: build fat library on x86_64 to provide i386 support
------------------------------------+--------------------------------
  Reporter:  howarth.at.macports@…  |      Owner:  macports-tickets@…
      Type:  enhancement            |     Status:  reopened
  Priority:  Normal                 |  Milestone:
 Component:  ports                  |    Version:  2.3.4
Resolution:                         |   Keywords:
      Port:  libomp                 |
------------------------------------+--------------------------------

Comment (by howarth.at.macports@…):

 I am still baffled why such a simple fix to this issue is being rejected.
 Upstream is not going restructure their openmp build anytime soon.


 {{{
 --- Portfile.orig       2016-03-18 15:03:53.000000000 -0400
 +++ Portfile    2016-03-18 15:04:33.000000000 -0400
 @@ -53,6 +53,10 @@
  configure.args-append   -DCMAKE_INSTALL_RPATH=${prefix}/lib/libomp \
                          -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib/libomp \

 +if {${build_arch} eq "x86_64"} {
 +    configure.args-append   -DLIBOMP_OSX_ARCHITECTURES="x86_64\;i386"
 +}
 +
  variant top_level description \
      "Install (links to) omp.h and libs into ${prefix}/(include|lib)" {}

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/50511#comment:15>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list