[MacPorts] #24923: RFE: Allow atlas to build universal
MacPorts
noreply at macports.org
Mon May 17 07:11:10 PDT 2010
#24923: RFE: Allow atlas to build universal
-----------------------------------+----------------------------------------
Reporter: mcalhoun@… | Owner: jameskyle@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Keywords: atlas universal | Port: atlas
-----------------------------------+----------------------------------------
Comment(by mcalhoun@…):
Replying to [comment:9 vince@…]:
> Ok, I know this. What reports otool -L ${prefix}/lib/libptf77blas in
your case? Here is mine:
Here is the result:
{{{
otool -L /opt/local/lib/libptf77blas.dylib
/opt/local/lib/libptf77blas.dylib:
/opt/local/lib/libptf77blas.dylib (compatibility version 0.0.0,
current version 0.0.0)
/opt/local/lib/gcc44/libgfortran.3.dylib (compatibility version
4.0.0, current version 4.0.0)
/opt/local/lib/libatlas.dylib (compatibility version 0.0.0,
current version 0.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 125.0.1)
otool -arch i386 -L /opt/local/lib/libptf77blas.dylib
/opt/local/lib/libptf77blas.dylib:
/opt/local/lib/libptf77blas.dylib (compatibility version 0.0.0,
current version 0.0.0)
/opt/local/lib/gcc44/i386/libgfortran.3.dylib (compatibility
version 4.0.0, current version 4.0.0)
/opt/local/lib/libatlas.dylib (compatibility version 0.0.0,
current version 0.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 125.0.1)
otool -arch x86_64 -L /opt/local/lib/libptf77blas.dylib
/opt/local/lib/libptf77blas.dylib:
/opt/local/lib/libptf77blas.dylib (compatibility version 0.0.0,
current version 0.0.0)
/opt/local/lib/gcc44/libgfortran.3.dylib (compatibility version
4.0.0, current version 4.0.0)
/opt/local/lib/libatlas.dylib (compatibility version 0.0.0,
current version 0.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 125.0.1)
}}}
During the call to ld, I included -L${prefix}/lib/gcc${gccnumber}/${arch}
before[[BR]]
-L${prefix}/lib/gcc${gccnumber} so that -lgfortran would find the correct
architecture library.
I must admit that I do not know much about --enable-multilib, but I have
not changed the gcc44 port,[[BR]]
and I seem to have both libraries.
--
Ticket URL: <http://trac.macports.org/ticket/24923#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list