[MacPorts] #24923: RFE: Allow atlas to build universal

MacPorts noreply at macports.org
Mon May 17 07:29:26 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 vince@…):

 What is the output of gcc-mp-4.4 -v ?

 Also, what do you get in ${prefix}/include/atlas ? Here, you should have
 include files with different values, one for 32 and one for 64bit. Ex:

 {{{

 more atlas_buildinfo.h
 #ifdef __LP64__
 #ifndef ATL_INSTINFO_H
    #define ATL_INSTINFO_H

 #define ATL_ARCH "Core264SSE3"
 #define ATL_INSTFLAGS "-1 0 -a 1"
 #define ATL_F2CDEFS "-DAdd_ -DF77_INTEGER=int -DStringSunStyle"
 #define ATL_ARCHDEFS "-DATL_OS_OSX -DATL_ARCH_Core2 -DATL_CPUMHZ=2400
 -DATL_SSE3 -DATL_SSE2 -DATL_SSE1 -DATL_USE64BITS -DATL_GAS_x8664
 -DATL_SSE3 -DATL_AVgcc"
 #define ATL_DKCFLAGS "-fomit-frame-pointer -mfpmath=sse -msse3 -O2 -fPIC
 -m64"
 #define ATL_DKC "/usr/pkg/bin/gcc-mp-4.5"
 #define ATL_SKCFLAGS "-fomit-frame-pointer -mfpmath=sse -msse3 -O2 -fPIC
 -m64"
 #define ATL_SKC "/usr/pkg/bin/gcc-mp-4.5"
 #define ATL_DMCFLAGS "-fomit-frame-pointer -mfpmath=sse -msse3 -O2 -fPIC
 -m64"
 #define ATL_DMC "/usr/pkg/bin/gcc-mp-4.5"
 #define ATL_SMCFLAGS "-fomit-frame-pointer -mfpmath=sse -msse3 -O2 -fPIC
 -m64"
 #define ATL_SMC "/usr/pkg/bin/gcc-mp-4.5"
 #define ATL_ICCFLAGS "-DL2SIZE=4194304
 -I/usr/pkg/var/macports/build/_Users_vincent_Developpement_ports_maths_atlas/work/atlas-3.8.3/build-64/include
 -I/usr/pkg/var/macports/build/_Users_vincent_Developpement_ports_maths_atlas/work/atlas-3.8.3/build-64/..//include
 -I/usr/pkg/var/macports/build/_Users_vincent_Developpement_ports_maths_atlas/work/atlas-3.8.3/build-64/..//include/contrib
 -DAdd_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_OSX -DATL_ARCH_Core2
 -DATL_CPUMHZ=2400 -DATL_SSE3 -DATL_SSE2 -DATL_SSE1 -DATL_USE64BITS -DATL_"
 #define ATL_ICC "/usr/pkg/bin/gcc-mp-4.5"
 #define ATL_F77FLAGS "-O -fPIC -m64"
 […]
 #endif
 #endif

 #ifdef __LP32__
 #ifndef ATL_INSTINFO_H
    #define ATL_INSTINFO_H

 #define ATL_ARCH "Core232SSE3"
 #define ATL_INSTFLAGS "-1 0 -a 1"
 #define ATL_F2CDEFS "-DAdd_ -DF77_INTEGER=int -DStringSunStyle"
 #define ATL_ARCHDEFS "-DATL_OS_OSX -DATL_ARCH_Core2 -DATL_CPUMHZ=2400
 -DATL_SSE3 -DATL_SSE2 -DATL_SSE1 -DATL_GAS_x8632 -DATL_SSE3 -DATL_AVgcc"
 #define ATL_DKCFLAGS "-fomit-frame-pointer -mfpmath=sse -msse3 -O2 -fPIC
 -m32"
 #define ATL_DKC "/usr/pkg/bin/gcc-mp-4.5"
 #define ATL_SKCFLAGS "-fomit-frame-pointer -mfpmath=sse -msse3 -O2 -fPIC
 -m32"
 #define ATL_SKC "/usr/pkg/bin/gcc-mp-4.5"
 #define ATL_DMCFLAGS "-fomit-frame-pointer -mfpmath=sse -msse3 -O2 -fPIC
 -m32"
 #define ATL_DMC "/usr/pkg/bin/gcc-mp-4.5"
 #define ATL_SMCFLAGS "-fomit-frame-pointer -mfpmath=sse -msse3 -O2 -fPIC
 -m32"
 #define ATL_SMC "/usr/pkg/bin/gcc-mp-4.5"
 #define ATL_ICCFLAGS "-DL2SIZE=4194304
 -I/usr/pkg/var/macports/build/_Users_vincent_Developpement_ports_maths_atlas/work/atlas-3.8.3/build-32/include
 -I/usr/pkg/var/macports/build/_Users_vincent_Developpement_ports_maths_atlas/work/atlas-3.8.3/build-32/..//include
 -I/usr/pkg/var/macports/build/_Users_vincent_Developpement_ports_maths_atlas/work/atlas-3.8.3/build-32/..//include/contrib
 -DAdd_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_OSX -DATL_ARCH_Core2
 -DATL_CPUMHZ=2400 -DATL_SSE3 -DATL_SSE2 -DATL_SSE1 -DATL_GAS_x8632 -DATL_"
 #define ATL_ICC "/usr/pkg/bin/gcc-mp-4.5"
 #define ATL_F77FLAGS "-O -fPIC -m32"
 […]
 #endif
 #endif
 }}}
 (I have omitted lines which are the same for 32 and 64-bit builds)

-- 
Ticket URL: <http://trac.macports.org/ticket/24923#comment:11>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list