Skip to content

Update the prereq script #12112

@jdemeyer

Description

@jdemeyer
  1. Added a test for a C99 compiler, since some packages require that.

  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 Add a gcc package #12369) for this.

  4. Make the script portable, so it doesn't require bash (instead of use bash for prereq install file #12621, which proposed to force bash).

Apply to the SAGE_ROOT repository:

  1. attachment: 12112_from_12576.patch (positive_review, see OS X Lion: don't require setting SAGE_PORT #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)

Depends on #12739
Depends on #12369

Dependencies: #12739, to be merged with #12369

CC: @orlitzky @jhpalmieri @sagetrac-drkirkby

Component: build

Author: John Palmieri, Jeroen Demeyer

Reviewer: Jeroen Demeyer, David Kirkby

Merged: sage-5.0.beta13

Issue created by migration from https://trac.sagemath.org/ticket/12112

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions