[MacPorts] #49003: libomp should be built for both i386 and x86_64
#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 Keywords: | Port: libomp -----------------------------------+-------------------------------- 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 -- Ticket URL: <https://trac.macports.org/ticket/49003> MacPorts <https://www.macports.org/> Ports system for OS X
#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 | ------------------------------------+-------------------------------- Comment (by howarth.at.macports@…): Note that the OpenMP3.1_Validation results for 'make ctest' are reasonable using the proposed libomp packaging and clang-3.7. at -m64... {{{ Summary: S Number of tested Open MP constructs: 62 S Number of used tests: 123 S Number of failed tests: 5 S Number of successful tests: 118 S + from this were verified: 114 Normal tests: N Number of failed tests: 2 N + from this fail compilation: 0 N + from this timed out 0 N Number of successful tests: 60 N + from this were verified: 58 Orphaned tests: O Number of failed tests: 3 O + from this fail compilation: 0 O + from this timed out 0 O Number of successful tests: 58 O + from this were verified: 56 }}} and at -m32... {{{ Summary: S Number of tested Open MP constructs: 62 S Number of used tests: 123 S Number of failed tests: 5 S Number of successful tests: 118 S + from this were verified: 113 Normal tests: N Number of failed tests: 2 N + from this fail compilation: 0 N + from this timed out 0 N Number of successful tests: 60 N + from this were verified: 58 Orphaned tests: O Number of failed tests: 3 O + from this fail compilation: 0 O + from this timed out 0 O Number of successful tests: 58 O + from this were verified: 55 }}} -- Ticket URL: <https://trac.macports.org/ticket/49003#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#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
#49003: libomp should be built for both i386 and x86_64 ------------------------------------+------------------------ Reporter: howarth.at.macports@… | Owner: eborisch@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: libomp | ------------------------------------+------------------------ Changes (by ryandesign@…): * owner: macports-tickets@… => eborisch@… -- Ticket URL: <https://trac.macports.org/ticket/49003#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#49003: libomp should be built for both i386 and x86_64 ------------------------------------+------------------------ Reporter: howarth.at.macports@… | Owner: eborisch@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: libomp | ------------------------------------+------------------------ Comment (by eborisch@…): It should build universal with +universal already. I will look at the rest of this soon. -- Ticket URL: <https://trac.macports.org/ticket/49003#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#49003: libomp should be built for both i386 and x86_64 ------------------------------------+------------------------ Reporter: howarth.at.macports@… | Owner: eborisch@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: libomp | ------------------------------------+------------------------ Changes (by eborisch@…): * status: new => closed * resolution: => fixed Comment: Committed new version in r140675. No changes for universal (works with +universal.) -- Ticket URL: <https://trac.macports.org/ticket/49003#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts