[MacPorts] #13814: fftw-3: Not building universal variant
MacPorts
noreply at macports.org
Fri Dec 5 05:17:55 PST 2008
#13814: fftw-3: Not building universal variant
------------------------------------+---------------------------------------
Reporter: andre.david@… | Owner: takeshi@…
Type: defect | Status: closed
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Resolution: wontfix | Keywords: fftw-3, universal
------------------------------------+---------------------------------------
Comment(by 10.50@…):
fftw-3 cannot be made universal an easy way. When I try to add a universal
variant and blindly compile it with -arch i386 -arch x86_64, gcc don't
even go further the first compilation phase because the command line uses
-M options which are forbidden with multiple archs (the preprocessor
output differs according to the arch being compiled for).
There is no other way to build a fftw-3 universal but to create a per arch
temp directory, compiling each version for one arch, and then use lipo to
gather the multiple .dylib files into a universal one.
I wonder if this can be done with a script under MacPorts 1.7.
--
Ticket URL: <http://trac.macports.org/ticket/13814#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list