version update

ssThis line, and those below, will be ignored--

AM   gcc/gcc-4.8.2
AM   gcc/gcc-4.7.3
This commit is contained in:
Elke Flehmig 2014-04-16 09:19:00 +00:00 committed by Christoph Niethammer
parent 4bf84c640e
commit 25743acc0e
2 changed files with 92 additions and 0 deletions

43
packages/compiler/gcc/gcc-4.7.3 Executable file
View file

@ -0,0 +1,43 @@
#!/bin/sh
# sit class file
#
# Christoph Niethammer <niethammer@hlrs.de> (C) 2013
#
# sit command:
# PREFIX_BASE=/opt ./sit compiler/gcc/gcc-4.7.3
CATEGORY="compiler"
PACKAGE="gnu"
VERSION="4.7.3"
URL="http://gcc.gnu.org"
INSTALLER="Elke Flehmig <flehmig@hlrs.de>"
# Archive A and package name P
A=gcc-${VERSION}.tar.gz
P=gcc-${VERSION}
src_unpack() {
# extract gcc source package
unpack
if [ $PLATFORM = "laki" ] ; then
# On laki currently too old versions of GMP, MPFR and MPC are installed
# http://gcc.gnu.org/install/prerequisites.html
# unpack required GMP, MPFR and MPC sources into subdirectories
tar xjf ${SRC_POOL}/gmp-4.3.2.tar.bz2 -C $SRCDIR
tar xjf ${SRC_POOL}/mpfr-2.4.2.tar.bz2 -C $SRCDIR
tar xzf ${SRC_POOL}/mpc-0.8.1.tar.gz -C $SRCDIR
# rename subdirectories as required by gcc's configure
mv $SRCDIR/gmp-* $SRCDIR/gmp
mv $SRCDIR/mpfr-* $SRCDIR/mpfr
mv $SRCDIR/mpc-* $SRCDIR/mpc
fi
}
src_pretest() {
make check
}
# Other interesting configure options:
CONFIGURE_OPTS=" \
--enable-languages=c,c++,fortran \
"

49
packages/compiler/gcc/gcc-4.8.2 Executable file
View file

@ -0,0 +1,49 @@
#!/bin/sh
# sit class file
#
# Christoph Niethammer <niethammer@hlrs.de> (C) 2013
#
# sit command:
# PREFIX_BASE=/opt ./sit compiler/gcc/gcc-4.8.2
# NOTE FOR NEXT VERSION: use unsupported module autogen (instead of installing myself)!
CATEGORY="compiler"
PACKAGE="gnu"
VERSION="4.8.2"
URL="http://gcc.gnu.org"
INSTALLER="Elke Flehmig <flehmig@hlrs.de>"
# Archive A and package name P
A=gcc-${VERSION}.tar.bz2
P=gcc-${VERSION}
src_unpack() {
# extract gcc source package
unpack
if [ $PLATFORM = "laki" ] ; then
# Currently, older versions of GMP, MPFR and MPC are installed to avoid problems
# http://gcc.gnu.org/install/prerequisites.html
# unpack required GMP, MPFR and MPC sources into subdirectories
tar xjf ${SRC_POOL}/gmp-4.3.2.tar.bz2 -C $SRCDIR
tar xjf ${SRC_POOL}/mpfr-2.4.2.tar.bz2 -C $SRCDIR
tar xzf ${SRC_POOL}/mpc-0.8.1.tar.gz -C $SRCDIR
tar xjf ${SRC_POOL}/isl-0.11.1.tar.bz2 -C $SRCDIR
tar xzf ${SRC_POOL}/cloog-0.18.0.tar.gz -C $SRCDIR
# rename subdirectories as required by gcc's configure
mv $SRCDIR/gmp-* $SRCDIR/gmp
mv $SRCDIR/mpfr-* $SRCDIR/mpfr
mv $SRCDIR/mpc-* $SRCDIR/mpc
mv $SRCDIR/isl-* $SRCDIR/isl
mv $SRCDIR/cloog-* $SRCDIR/cloog
fi
}
src_pretest() {
make check
}
# Other interesting configure options:
CONFIGURE_OPTS=" \
--enable-languages=c,c++,fortran \
"