Browse Source

Add ISL (for Graphite) and install the LTO plugin for binutils

gcc
mid-kid 7 years ago
parent
commit
f0537dad04
  1. 12
      gcc.SlackBuild
  2. BIN
      isl-0.18.tar.xz

12
gcc.SlackBuild

@ -150,6 +150,14 @@ tar xvf $CWD/gcc-$VERSION.tar.?z || exit 1
# #zcat $CWD/gcc.66782.diff.gz | patch -p0 --verbose || exit 1
#) || exit 1
# Add ISL to the source
( cd gcc-$VERSION
ISLVER=$(echo $CWD/isl-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)
rm -rf isl isl-$ISLVER
tar xvf $CWD/isl-$ISLVER.tar.xz || exit 1
mv isl-$ISLVER isl || exit 1
) || exit 1
# Copy ecj.jar into the TLD of the source. Needed for java compiler.
# This can be retrieved from ftp://sourceware.org/pub/java
cp $CWD/ecj-4.9.jar gcc-$VERSION/ecj.jar
@ -509,6 +517,10 @@ if [ "$ARCH" = "x86_64" ]; then
$PKG1/usr/lib${LIBDIRSUFFIX}/gcc/${TARGET}/${VERSION}/specs
fi
# Install liblto_plugin.so for binutils
mkdir -p $PKG1/usr/lib/bfd-plugins
ln -sf ../../libexec/gcc/${TARGET}/${VERSION}/liblto_plugin.so $PKG1/usr/lib/bfd-plugins/liblto_plugin.so
# make ada.install-common DESTDIR=$PKG1
# make install-gnatlib DESTDIR=$PKG1
make -i install-info DESTDIR=$PKG1

BIN
isl-0.18.tar.xz

Binary file not shown.
Loading…
Cancel
Save