diff --git a/packages/compiler/gcc/gcc-6.1.0 b/packages/compiler/gcc/gcc-6.1.0 index 7407d7a..1fbdd49 100755 --- a/packages/compiler/gcc/gcc-6.1.0 +++ b/packages/compiler/gcc/gcc-6.1.0 @@ -23,10 +23,10 @@ src_unpack() { # 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.15.tar.bz2 -C $SRCDIR + tar xjf ${SRC_POOL}/gmp-6.1.0.tar.bz2 -C $SRCDIR + tar xjf ${SRC_POOL}/mpfr-3.1.4.tar.bz2 -C $SRCDIR + tar xzf ${SRC_POOL}/mpc-1.0.3.tar.gz -C $SRCDIR + tar xjf ${SRC_POOL}/isl-0.16.1.tar.bz2 -C $SRCDIR # rename subdirectories as required by gcc's configure mv $SRCDIR/gmp-* $SRCDIR/gmp mv $SRCDIR/mpfr-* $SRCDIR/mpfr @@ -42,5 +42,6 @@ src_pretest() { # Other interesting configure options: CONFIGURE_OPTS=" \ --enable-languages=c,c++,fortran \ + --enable-offload-targets=hsa \ "