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

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.
>
> 4. Use bash to run the prereq install file and configure, see #12621.
>
> 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)

--

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