[NumPy-Tickets] [NumPy] #1399: distutils fails to build ppc64 support on Mac OS X when requested
NumPy Trac
numpy-tickets@scipy....
Mon Nov 1 10:05:15 CDT 2010
#1399: distutils fails to build ppc64 support on Mac OS X when requested
---------------------------------+------------------------------------------
Reporter: david.warde-farley | Owner: rgommers
Type: defect | Status: reopened
Priority: highest | Milestone: 1.5.1
Component: numpy.distutils | Version: devel
Resolution: | Keywords: macosx, osx, distutils, universalbinary, ppc64
---------------------------------+------------------------------------------
Comment(by rgommers):
Looks like I got it finally:
{{{
building 'mach' library
using additional config_fc from setup script for fortran compiler:
{'noopt': ('scipy/integrate/setup.py', 1)}
customize Gnu95FCompiler
compiling Fortran sources
Fortran f77 compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-
second-underscore -arch ppc -arch i686 -arch x86_64 -fPIC
Fortran f90 compiler: /usr/local/bin/gfortran -Wall -fno-second-underscore
-arch ppc -arch i686 -arch x86_64 -fPIC
Fortran fix compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-
second-underscore -Wall -fno-second-underscore -arch ppc -arch i686 -arch
x86_64 -fPIC
}}}
The {{{noopt}}} flag does not remove arch flags from the linker_so list
for the mach library.
Fix at http://github.com/rgommers/numpy/commit/98831b699. Tested on OS X
with 2.6 and 2.7 (incl 64-bit), and on Windows with 2.6:
{{{
>>> np.test('full') # runs extra distutils tests that failed before
>>> sp.test()
}}}
Please test if this works for you.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1399#comment:22>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list