[MacPorts] #49003: libomp should be built for both i386 and x86_64
MacPorts
noreply at macports.org
Tue Sep 29 17:07:25 PDT 2015
#49003: libomp should be built for both i386 and x86_64
------------------------------------+--------------------------------
Reporter: howarth.at.macports@… | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords:
Port: libomp |
------------------------------------+--------------------------------
Old description:
> The attached Portfile diff updates libomp to the r248588 to pick up the
> new lit-based test suite support for running 'check-libomp' as well as
> appends -DLIBOMP_OSX_ARCHITECTURES="x86_64;i386" to the cmake flags to
> build the fat libomp supporting both i386 and x86_64 targets.
>
> % file libomp.dylib
> libomp.dylib: Mach-O universal binary with 2 architectures
> libomp.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked
> shared library x86_64
> libomp.dylib (for architecture i386): Mach-O dynamically linked shared
> library i386
New description:
The attached Portfile diff updates libomp to the r248588 to pick up the
new lit-based test suite support for running 'check-libomp' as well as
appends -DLIBOMP_OSX_ARCHITECTURES="x86_64;i386" to the cmake flags to
build the fat libomp supporting both i386 and x86_64 targets.
{{{
% file libomp.dylib
libomp.dylib: Mach-O universal binary with 2 architectures
libomp.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked
shared library x86_64
libomp.dylib (for architecture i386): Mach-O dynamically linked shared
library i386
}}}
--
Comment (by ryandesign@…):
Replying to [ticket:49003 howarth.at.macports@…]:
> The attached Portfile diff updates libomp to the r248588 to pick up the
new lit-based test suite support for running 'check-libomp' as well as
appends -DLIBOMP_OSX_ARCHITECTURES="x86_64;i386" to the cmake flags to
build the fat libomp supporting both i386 and x86_64 targets.
A port should only build universally if the universal variant is selected.
If a universal build is required, that can be enforced by adding the line
"default_variants +universal", but that would be somewhat unusual.
--
Ticket URL: <https://trac.macports.org/ticket/49003#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list