#9808: Upgrade numpy to 1.5.0 and scipy to 0.8
----------------------------------------------------------------------------------+
Reporter: maldun
| Owner: maldun
Type: task
| Status: needs_work
Priority: major
| Milestone: sage-4.6
Component: packages
| Keywords: numpy, scipy
Author: Stefan Reiterer, Francois Bissey, John Palmieri, David Kirkby
| Upstream: Fixed upstream, but not in a stable release.
Reviewer: Karl-Dieter Crisman, David Kirkby, Leif Leonhardy, Francois
Bissey | Merged:
Work_issues:
|
----------------------------------------------------------------------------------+
Comment(by jhpalmieri):
Replying to [comment:255 kcrisman]:
> Replying to [comment:254 drkirkby]:
> > There's a potentially helpful comment on the !SciPy list from Ralf
Gommers. It concerns ''boost'' again. It suggests we are trying to build
ppc on a system which does not support PPC. In which case, removing that
option for ppc is a necessarily and not a hack.
> >
> > I'm puzzled how this option gets added now though - where does it come
from?
>
> That's what I'm trying to figure out. Usually it gets added in the
spkg-install, but apparently that's not the case here - it's coming from
Scipy itself, [http://projects.scipy.org/numpy/ticket/1399 here] (first
noted by John).
If you grep through the scipy directory, I don't think you'll find "ppc64"
anywhere. I think it's coming from numpy, and in particular the file
src/numpy/distutils/fcompiler/gnu.py. If you make the change
{{{
#!diff
--- gnu.py.old 2010-08-21 22:08:35.000000000 -0700
+++ gnu.py 2010-10-08 20:59:29.000000000 -0700
@@ -254,7 +254,7 @@
if not sys.platform == 'darwin':
return []
arch_flags = []
- for arch in ["ppc", "i686", "x86_64", "ppc64"]:
+ for arch in ["ppc", "i686", "x86_64"]:
if _can_target(cmd, arch):
arch_flags.extend(["-arch", arch])
return arch_flags
}}}
to numpy and install it, then afterwards scipy seems to install correctly.
I don't have time this weekend to create a new spkg which incorporates
this patch, or even to figure out under what circumstances to do it (do we
have to detect DARWIN + x86? should we get rid of "ppc" also?). If
someone else wants to make a new spkg, that would be fine with me.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9808#comment:256>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.