#12112: Update the prereq script
-------------------------------------------------+--------------------------
       Reporter:  jdemeyer                       |         Owner:  GeorgSWeber  
               
           Type:  defect                         |        Status:  
positive_review             
       Priority:  major                          |     Milestone:  sage-5.0     
               
      Component:  build                          |    Resolution:               
               
       Keywords:                                 |   Work issues:               
               
Report Upstream:  N/A                            |     Reviewers:  Jeroen 
Demeyer, David Kirkby
        Authors:  John Palmieri, Jeroen Demeyer  |     Merged in:               
               
   Dependencies:  #12739                         |      Stopgaps:               
               
-------------------------------------------------+--------------------------
Changes (by jdemeyer):

  * dependencies:  #12739, #12785 => #12739


Old description:

> 1. Since Sage does not need m4, we should not check for it.
>
> 2. Remove the useless checks for bison and flex (in the past, we did the
> checks but didn't fail if these programs weren't found).
>
> 3. We don't need to check gcc/g++/gfortran versions if we're building
> GCC.  Use the environment variable `SAGE_BUILD_TOOLCHAIN` (introduced in
> #12369) for this.
>
> 4. Make the portable, so it doesn't require bash (instead of #12621,
> which proposed to force `bash`).
>
> 5. Added a test for a C99 compiler, since some packages require that.
>
> '''Apply''' to the SAGE_ROOT repository:
>  1. [attachment:12112_from_12576.patch] ('''positive_review''', see
> #12576)
>  2. [attachment:12112_update_prereq.patch]
>
> '''Download'''
> [http://boxen.math.washington.edu/home/jdemeyer/spkg/prereq-1.0.tar.gz]
> to `SAGE_ROOT/spkg/base` and '''delete''' `prereq-0.9.tar.gz` (reviewers:
> look at [attachment:prereq-1.0.diff] for the changes)

New description:

 1. Since Sage does not need m4, we should not check for it.

 2. Remove the useless checks for bison and flex (in the past, we did the
 checks but didn't fail if these programs weren't found).

 3. We don't need to check gcc/g++/gfortran versions if we're building GCC.
 Use the environment variable `SAGE_BUILD_TOOLCHAIN` (introduced in #12369)
 for this.

 4. Make the portable, so it doesn't require bash (instead of #12621, which
 proposed to force `bash`).

 5. Added a test for a C99 compiler, since some packages require that.

 '''Apply''' to the SAGE_ROOT repository:
  1. [attachment:12112_from_12576.patch] ('''positive_review''', see
 #12576)
  2. [attachment:12112_update_prereq.patch]

 '''Download'''
 [http://boxen.math.washington.edu/home/jdemeyer/spkg/prereq-1.0.tar.gz] to
 `SAGE_ROOT/spkg/base` and '''delete''' `prereq-0.9.tar.gz` (reviewers:
 look at [attachment:prereq-1.0.diff] for the changes)

 '''See also''': #12785 (update the FAQ)

--

Comment:

 I wouldn't say #12785 is a dependency, it's more like a follow-up.

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