#9860: Port changes in PARI 2.3.5.p4 (#9722) to current 2.4.3
------------------------------+---------------------------------------------
Reporter: leif | Owner: leif
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.6
Component: packages | Keywords:
Author: Leif Leonhardy | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------------+---------------------------------------------
Description changed by jdemeyer:
Old description:
> Some fixes to PARI 2.3.5.p2 from #9722 had to be ported to the current
> [http://wiki.sagemath.org/wiki/NewPARI NewPARI] spkg. The new PARI
> 2.4.3.p5 spkg here contains some further changes (including some on
> Sage's side, mostly clean-up), while other issues have meanwhile been
> fixed upstream.
>
> ----
>
> === pari-2.4.3.svn-12577.p5 (Leif Leonhardy, September 5th, 2010) ===
> * Added patches to:
> - config/get_config_options:
> * Make invalid arguments to "--graphic" a "Configure" error
> (rather than potentially running into *compilation* errors
> later).
> - config/get_fltk: (see also/ported from #9722)
> * Add libstdc++ to the libraries (to support Fedora 13 et al.).
> * Also check the presence of the FLTK include directory to
> prevent compilation errors on broken installations.
> - config/get_X11: (see also/ported from #9722)
> * Also search */lib64/* directories when doing a 64-bit build.
> * Give more specific messages.
> * Slightly extended existing patch to src/kernel/gmp/mp.c:
> - Allow disabling PARI's use of "GMP internals" by preprocessor
> directive (i.e. by adding "-DPARI_DONT_USE_GMP_INTERNALS" to
> CFLAGS). Brief explanation added.
> * spkg-install:
> - Don't override user-specified CFLAGS (w.r.t. optimization, unless
> SAGE_DEBUG=yes).
> - Handle PARI_EXTRA_OPTS properly, and print informative messages
> (regarding graphics support for plotting).
> - Recognize SAGE_TUNE_PARI in addition to SAGE_TUNE_pari, and
> add "--tune" to PARI_EXTRA_OPTS if self-tuning was requested.
> - Clear/unset lots of (environment) variables used by PARI that might
> unintentionally get their values from user settings.
> - Quote *all* occurrences of SAGE_LOCAL (and some other expressions).
> - Use $UNAME instead of `uname` everywhere, use "elif ...".
> - *Always* use $MAKE (changed for "install-data").
> - Begin all error messages with "Error".
> - Removed useless tests of $? at end.
> - Some clean-up (typos, formatting); some comments, some messages
> added.
> * spkg-check:
> - Use $MAKE instead of "make".
> - Don't override user-specified CFLAGS (w.r.t. optimization, unless
> SAGE_DEBUG=yes).
> - Begin error message with "Error".
> - Some clean-up.
> * Slight corrections to SPKG.txt.
> * Updated patches/README.txt, some cosmetic changes.
>
> ----
>
> '''New (complete) spkg up at http://spkg-
> upload.googlecode.com/files/pari-2.4.3.svn-12577.p5.spkg'''
New description:
Some fixes to PARI 2.3.5.p2 from #9722 had to be ported to the current
[http://wiki.sagemath.org/wiki/NewPARI NewPARI] spkg. The new PARI
2.4.3.p5 spkg here contains some further changes (including some on Sage's
side, mostly clean-up), while other issues have meanwhile been fixed
upstream.
Apart from installing this spkg here, you also need to apply the sagelib
and extcode patches from #9343.
'''New (complete) spkg up at
[http://sage.math.washington.edu/home/jdemeyer/spkg/pari-2.4.3.svn-12577.p5.spkg]'''
----
=== pari-2.4.3.svn-12577.p5 (Leif Leonhardy, Jeroen Demeyer, September
5th, 2010) ===
* Added patches to:
- config/get_config_options:
* Make invalid arguments to "--graphic" a "Configure" error
(rather than potentially running into *compilation* errors
later).
- config/get_fltk: (see also/ported from #9722)
* Add libstdc++ to the libraries (to support Fedora 13 et al.).
* Also check the presence of the FLTK include directory to
prevent compilation errors on broken installations.
- config/get_X11: (see also/ported from #9722)
* Also search */lib64/* directories when doing a 64-bit build.
* Give more specific messages.
* Slightly extended existing patch to src/kernel/gmp/mp.c:
- Allow disabling PARI's use of "GMP internals" by preprocessor
directive (i.e. by adding "-DPARI_DONT_USE_GMP_INTERNALS" to
CFLAGS). Brief explanation added.
* spkg-install:
- Don't override user-specified CFLAGS (w.r.t. optimization, unless
SAGE_DEBUG=yes).
- Handle PARI_EXTRA_OPTS properly, and print informative messages
(regarding graphics support for plotting).
- Recognize SAGE_TUNE_PARI in addition to SAGE_TUNE_pari, and
add "--tune" to PARI_EXTRA_OPTS if self-tuning was requested.
- Clear/unset lots of (environment) variables used by PARI that might
unintentionally get their values from user settings.
- Quote *all* occurrences of SAGE_LOCAL (and some other expressions).
- Use $UNAME instead of `uname` everywhere, use "elif ...".
- *Always* use $MAKE (changed for "install-data").
- Begin all error messages with "Error".
- Removed useless tests of $? at end.
- Some clean-up (typos, formatting); some comments, some messages
added.
* spkg-check:
- Use $MAKE instead of "make".
- Don't override user-specified CFLAGS (w.r.t. optimization, unless
SAGE_DEBUG=yes).
- Begin error message with "Error".
- Some clean-up.
* Slight corrections to SPKG.txt.
* Updated patches/README.txt, some cosmetic changes.
* Remove patch for config/Makefile.SH and add upstream fix instead
in spkg-make.
* Add upstream fix for src/tune/tune.c which should fix tuning.
* Add -O0 to CFLAGS in spkg-make to speed up compiling (the output of the
compiling is not used anyway).
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9860#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.