#12173: Update FLINT to 2.3
---------------------------------------------------------------------+------
       Reporter:  mhansen                                            |         
Owner:  tbd         
           Type:  enhancement                                        |        
Status:  needs_review
       Priority:  major                                              |     
Milestone:  sage-5.4    
      Component:  packages                                           |    
Resolution:              
       Keywords:  flint spkg                                         |   Work 
issues:              
Report Upstream:  N/A                                                |     
Reviewers:              
        Authors:  Mike Hansen, Fredrik Johansson, Jean-Pierre Flori  |     
Merged in:              
   Dependencies:  #12433                                             |      
Stopgaps:              
---------------------------------------------------------------------+------

Old description:

> To test a (slightly modified) beta 3 version of the upcoming FLINT
> release on Sage 5.1.beta2, install:
>
>  * the updated zn_poly spkg from #12433,
>  * the FLINT spkg at http://perso.telecom-
> paristech.fr/~flori/sage/flint-2.3.spkg;
>
> apply:
>
>  * [attachment:01-flint-2.3-sage-5.2.patch],
>  * [attachment:doctests.patch] (optional),
>  * [attachment:flint_stack_cleanup.patch],
>  * [attachment:n_factor.patch],
>  * [attachment:degree.patch],
>  * [attachment:sqrt_normalization_fix.patch],
>  * [attachment:07-headers-sage-5.2.patch],
>  * [attachment:multrunc.patch],
>  * [attachment:fmpz_cleanup.patch],
>  * [attachment:jack.patch],
>  * [attachment:cython.patch],
>  * [attachment:slice.patch],
>  * [attachment:ref_flint1.patch],
>  * [attachment:compose_eval.patch],
>  * [attachment:15-integer_to_mod-v2.patch],
>  * [attachment:16-rename_zmod_to_nmod-v2.patch].
>
> Apply to SAGE_ROOT:
>  * [attachment:00-mpfr.patch].

New description:

 To test a (slightly modified) beta 3 version of the upcoming FLINT release
 on Sage 5.1.beta2, install:

  * the updated zn_poly spkg from #12433,
  * the FLINT spkg at http://www.infres.enst.fr/~flori/sage/flint-2.3.spkg;

 apply:

  * [attachment:01-flint-2.3-sage-5.2.patch],
  * [attachment:doctests.patch] (optional),
  * [attachment:flint_stack_cleanup.patch],
  * [attachment:n_factor.patch],
  * [attachment:degree.patch],
  * [attachment:sqrt_normalization_fix.patch],
  * [attachment:07-headers-sage-5.2.patch],
  * [attachment:multrunc.patch],
  * [attachment:fmpz_cleanup.patch],
  * [attachment:jack.patch],
  * [attachment:cython.patch],
  * [attachment:slice.patch],
  * [attachment:ref_flint1.patch],
  * [attachment:compose_eval.patch],
  * [attachment:15-integer_to_mod-v2.patch],
  * [attachment:16-rename_zmod_to_nmod-v2.patch].

 Apply to SAGE_ROOT:
  * [attachment:00-mpfr.patch].

--

Comment (by jpflori):

 I think the spkg here is (almost?) completely usable.

 Simon's remark is sensible, but currently there should be no segfaults
 occurring at all.
 It would surely lead to a better integration of Sage/Python and FLINT
 memory management, but this would need a huge amount of work, modifying
 all the pieces of code in Sage which directly use FLINT at the C/Cython
 level.
 This could be a "follow-up" ticket (although the problem also exists with
 the previous versions of FLINT).

 The main blocker now is to wait for the final FLINT 2.3 release.

 (I've update the spkg link to point to a working address)

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12173#comment:133>
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.

Reply via email to