[MacPorts] #37320: tbb: add universal variant
MacPorts
noreply at macports.org
Thu Feb 13 10:49:56 PST 2014
#37320: tbb: add universal variant
---------------------------+--------------------------------
Reporter: ryandesign@… | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: tbb |
---------------------------+--------------------------------
Comment (by ryandesign@…):
No, it's not related. Ports like tbb that don't use a standard build
system need help both using the right compiler and using the right
architecture (and a universal build is a continuation of using the right
architecture), but they are separate tasks. tbb's build system is unusual
and takes a special command line argument to indicate the desired
architecture. As far as I know, multiple architectures cannot be specified
simultaneously with this build system. So a universal build would involve
building separately for each architecture and then combining with `lipo`.
That's what the muniversal portgroup does, however the muniversal
portgroup also currently requires a standard destroot phase, which the tbb
port does not have, because again the tbb build system is unusual and its
Makefile does not have an `install` target, so we install things manually.
It might not be too difficult to convert the custom destroot block into a
Makefile `install` target, at which point using the muniversal portgroup
should become possible.
--
Ticket URL: <https://trac.macports.org/ticket/37320#comment:10>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list