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

MacPorts noreply at macports.org
Fri Mar 18 14:04:47 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@…):

 The exact usage of the  -DLIBOMP_OSX_ARCHITECTURES option occurs in
 openmp-3.8.0.src/runtime/CMakeLists.txt at...


 {{{
 # - Support for universal fat binary builds on Mac
 # - Having this extra variable allows people to build this library as a
 universal library
 #   without forcing a universal build of the llvm/clang compiler.
 set(LIBOMP_OSX_ARCHITECTURES "${CMAKE_OSX_ARCHITECTURES}" CACHE STRING
   "For Mac builds, semicolon separated list of architectures to build for
 universal fat binary.")
 set(CMAKE_OSX_ARCHITECTURES ${LIBOMP_OSX_ARCHITECTURES})
 }}}

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


More information about the macports-tickets mailing list