[MacPorts] #37320: tbb: add universal variant
#37320: tbb: add universal variant --------------------------+--------------------- Reporter: ryandesign@… | Owner: mnick@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: tbb --------------------------+--------------------- The tbb port should have a universal variant if possible. Due to the build system's insistence on nonstandard variables to indicate desired architecture, I wouldn't even attempt this without using the muniversal portgroup. This was proposed before and a patch provided as part of #25208 but was ignored or forgotten. -- Ticket URL: <https://trac.macports.org/ticket/37320> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37320: tbb: add universal variant ---------------------------+--------------------- Reporter: ryandesign@… | Owner: mnick@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: tbb | ---------------------------+--------------------- Comment (by egall@…): so once this gets committed, the `+tbb` and `+universal` variants won't conflict for OpenCV anymore, right? -- Ticket URL: <https://trac.macports.org/ticket/37320#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37320: tbb: add universal variant ---------------------------+--------------------- Reporter: ryandesign@… | Owner: mnick@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: tbb | ---------------------------+--------------------- Comment (by ryandesign@…): Hopefully! -- Ticket URL: <https://trac.macports.org/ticket/37320#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37320: tbb: add universal variant ---------------------------+--------------------- Reporter: ryandesign@… | Owner: mnick@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: tbb | ---------------------------+--------------------- Comment (by egall@…): #23944 would have to be resolved first I think... -- Ticket URL: <https://trac.macports.org/ticket/37320#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#37320: tbb: add universal variant ---------------------------+--------------------- Reporter: ryandesign@… | Owner: mnick@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: tbb | ---------------------------+--------------------- Comment (by ryandesign@…): #23944 is about PowerPC, so no, fixing that is not necessary to fix the universal variant, if we're talking about the default i386 x86_64 universal variant on Snow Leopard and up. -- Ticket URL: <https://trac.macports.org/ticket/37320#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#37320: tbb: add universal variant ---------------------------+--------------------- Reporter: ryandesign@… | Owner: mnick@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: tbb | ---------------------------+--------------------- Comment (by egall@…): so now that there's a new version as of r106358, will a universal variant work for tbb now? -- Ticket URL: <https://trac.macports.org/ticket/37320#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#37320: tbb: add universal variant ---------------------------+--------------------- Reporter: ryandesign@… | Owner: mnick@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: tbb | ---------------------------+--------------------- Comment (by egall@…): How about now as of r107772? Also could someone cc stromnov on this, as he was the last one to update it? -- Ticket URL: <https://trac.macports.org/ticket/37320#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#37320: tbb: add universal variant ---------------------------+-------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: tbb | ---------------------------+-------------------------------- Changes (by macsforever2000@…): * owner: mnick@… => macports-tickets@… * version: 2.1.2 => Comment: mnick has retired. -- Ticket URL: <https://trac.macports.org/ticket/37320#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#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 egall@…): r117034 made sure that we are UsingTheRightCompiler again... doesn't doing that usually make it easier to add a universal variant? -- Ticket URL: <https://trac.macports.org/ticket/37320#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#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
#37320: tbb: add universal variant ---------------------------+-------------------- Reporter: ryandesign@… | Owner: sean@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: tbb | ---------------------------+-------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => sean@… -- Ticket URL: <https://trac.macports.org/ticket/37320#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts