#7485: make fortran a prerequisite on all platforms except OS X. Remove g95
binaries from Sage
-------------------------------+--------------------------------------------
Reporter: was | Owner: was
Type: defect | Status: positive_review
Priority: critical | Milestone: sage-4.3.1
Component: build | Keywords:
Author: William Stein | Upstream: N/A
Reviewer: Minh Van Nguyen | Merged:
Work_issues: |
-------------------------------+--------------------------------------------
Changes (by newvalueoldvalue):
* status: needs_review => positive_review
* reviewer: => Minh Van Nguyen
* author: => William Stein
Comment:
Looks good. On Linux and Solaris machines (mod.math, rosemary.math,
t2.math), only the script `sage_fortran` is installed under
`SAGE_LOCAL/bin`. This is in contrast to the previous behaviour, which was
to install Linux Fortran binaries regardless of whether the Linux system
already had a system-wide Fortran compiler. On OS X machine (bsd.math),
`sage_fortran` and OS X specific Fortran binaries are installed under
`SAGE_LOCAL/bin` as expected. I tested
[http://wstein.org/home/wstein/patches/fortran-20100118.spkg
fortran-20100118.spkg] with Sage 4.3.1.rc1 on mod.math, rosemary.math, and
bsd.math. Doctesting resulted in the following known failure as reported
on [http://groups.google.com/group/sage-devel/msg/7c9e8c5a006e4f9f sage-
devel]:
{{{
[mv...@boxen sage-4.3.1.rc1]$ ./sage -t -long devel/sage-
main/sage/misc/sagedoc.py
sage -t -long "devel/sage-main/sage/misc/sagedoc.py"
**********************************************************************
File "/dev/shm/mvngu/sage-4.3.1.rc1/devel/sage-main/sage/misc/sagedoc.py",
line 365:
sage: 'abvar/homology' in _search_src_or_doc('doc', 'homology',
'variety', interact=False)
Expected:
True
Got:
False
**********************************************************************
1 items had failures:
1 of 7 in __main__.example_5
***Test Failed*** 1 failures.
For whitespace errors, see the file
/dev/shm/mvngu/dot_sage/tmp/.doctest_sagedoc.py
[20.8 s]
exit code: 1024
}}}
The changes in this updated Fortran spkg are minimal. Linux specific
Fortran binaries have been removed. The install script `spkg-install` is
essentially as it was previously, with the added test that if the current
system is Linux, then test to see if that system has a Fortran compiler.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7485#comment:5>
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.