From: Hugo Villeneuve Date: Wed, 24 Sep 2014 02:00:43 +0000 (-0400) Subject: Update to cloog-0.18.2 X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=74eeb0ffa69ee13dbfa5f020ec217a6693f81a32;p=hvlinux.git Update to cloog-0.18.2 --- diff --git a/config/packages-list b/config/packages-list index 5a5ae3c..f1f105a 100644 --- a/config/packages-list +++ b/config/packages-list @@ -42,7 +42,7 @@ CELESTIA="celestia-1.6.1" CKERMIT="ckermit-8.0.211" CHORDPACK="chordpack-0.8.2" CLAMAV="clamav-0.97.5" -CLOOG="cloog-0.16.3" +CLOOG="cloog-0.18.2" CMAKE="cmake-2.8.10" COLORDIFF="colordiff-1.0.10" COREUTILS="coreutils-8.21" diff --git a/stage0/hv-install-2 b/stage0/hv-install-2 index c7ee293..158e4ce 100755 --- a/stage0/hv-install-2 +++ b/stage0/hv-install-2 @@ -38,7 +38,6 @@ ipkg ${ISL} "\ --with-gmp-prefix=/cross-tools" ipkg ${CLOOG} "\ - --enable-shared \ --disable-static \ --with-bits=gmp \ --with-gmp-prefix=/cross-tools" diff --git a/stage0/pkg/cloog b/stage0/pkg/cloog index eb2de0d..8e278d2 100644 --- a/stage0/pkg/cloog +++ b/stage0/pkg/cloog @@ -1,8 +1,7 @@ #!/bin/bash -hvconfig_pre() +hvconfig_post() { - # Prevents the configure script from setting LD_LIBRARY_PATH when it finds - # PPL. This will prevent any conflicts with libraries from the host system. - sed -e "/LD_LIBRARY_PATH=/d" -i ${LFS_TMP}/${PACKAGE}/configure + # Apply a sed which prevents the attempted installation of an invalid file: + sed -i '/cmake/d' ${LFS_TMP}/${PACKAGE}-build/Makefile } diff --git a/stage1/hv-install-2 b/stage1/hv-install-2 index b60c8a7..89929ce 100755 --- a/stage1/hv-install-2 +++ b/stage1/hv-install-2 @@ -14,8 +14,7 @@ ipkg ${MPFR} "--enable-shared" ipkg ${MPC} ipkg ${ISL} ipkg ${CLOOG} "\ - --enable-shared \ - --with-gmp=/tools" + --with-isl=system" ipkg -m acnb ${ZLIB} ipkg ${BINUTILS} ipkg ${GCC} diff --git a/stage1/pkg/cloog b/stage1/pkg/cloog index 7b745ad..8e278d2 100644 --- a/stage1/pkg/cloog +++ b/stage1/pkg/cloog @@ -1,8 +1,7 @@ #!/bin/bash -# Prevents the configure script from setting LD_LIBRARY_PATH when it finds PPL. -# This will prevent any conflicts with libraries from the host system. -hvconfig_pre() +hvconfig_post() { - sed -e "/LD_LIBRARY_PATH=/d" -i ${LFS_TMP}/${PACKAGE}/configure + # Apply a sed which prevents the attempted installation of an invalid file: + sed -i '/cmake/d' ${LFS_TMP}/${PACKAGE}-build/Makefile } diff --git a/stage2/hv-install-1 b/stage2/hv-install-1 index 6781371..18de02b 100755 --- a/stage2/hv-install-1 +++ b/stage2/hv-install-1 @@ -24,7 +24,7 @@ CPPFLAGS=-fexceptions \ ipkg ${MPFR} "--enable-shared --with-gmp=/usr" ipkg ${MPC} ipkg ${ISL} -ipkg ${CLOOG} "--enable-shared" +ipkg ${CLOOG} "--with-isl=system" unset CC unset CXX diff --git a/stage2/pkg/cloog b/stage2/pkg/cloog new file mode 100644 index 0000000..8e278d2 --- /dev/null +++ b/stage2/pkg/cloog @@ -0,0 +1,7 @@ +#!/bin/bash + +hvconfig_post() +{ + # Apply a sed which prevents the attempted installation of an invalid file: + sed -i '/cmake/d' ${LFS_TMP}/${PACKAGE}-build/Makefile +}