#9382: atlas not respecting SAGE_FAT_BINARY on i686 systems
------------------------+---------------------------------------------------
Reporter: mariah | Owner: Mariah Lenox
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.7.1
Component: packages | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author: Mariah Lenox, Willem Jan Palenstijn
Merged: | Dependencies:
------------------------+---------------------------------------------------
Comment(by leif):
Replying to [comment:15 ddrake]:
> Replying to [comment:14 wjp]:
> > Also, #10226 (which also needs review) might supersede this patch.
>
> It does, and I think we should work on that ticket and close this one
when #10226 gets merged.
I currently don't know whether the new (''Python'' install script) ATLAS
spkg from #10226 supports `SAGE_FAT_BINARY` as desired, but for the
record:
* `uname -p` isn't portable (it may return "`unknown`" even on Linuces),
one should use `uname -m` instead.
* Rather than having (btw. incomplete)
{{{
#!sh
if [ ... -o ... -o ... -o ... ]; then ...
}}}
one should use
{{{
#!sh
case "`uname -m`" in
i[3456]86|i86pc)
...
;;
amd64|x86_64)
...
;;
ia64) # Itanium
...
;;
# etc.
esac
}}}
instead, which is not only more readable, but also more robust (and
portable w.r.t. broken / buggy `test` commands).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9382#comment:16>
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.