[NumPy-Tickets] [NumPy] #1399: distutils fails to build ppc64 support on Mac OS X when requested
NumPy Trac
numpy-tickets@scipy....
Tue Oct 19 08:14:37 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):
Not sure about the mach .f files, but let's take a step back. Your
original patch removed the {{{get_flags}}} and {{{get_flags_linker_so}}}
methods. How about putting those back? The latter is what we need I think.
The logic I would choose is:
{{{
arch_flags = []
for arch in _universal_flags:
if arch in _c_arch_flags:
arch_flags.extend(arch)
if not arch_flags == _c_arch_flags:
# it seems our compiler does not support all targets the installed
Python does
raise SomeError
}}}
Now if the {{{get_arch_flags}}} method results in arch flags being
supplied twice, we revert that as well.
Note that this is not a patch yet, will try to make it into one tonight.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1399#comment:18>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list