Update to cloog-0.18.2
authorHugo Villeneuve <hugo@hugovil.com>
Wed, 24 Sep 2014 02:00:43 +0000 (22:00 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Fri, 5 Dec 2014 04:44:19 +0000 (23:44 -0500)
config/packages-list
stage0/hv-install-2
stage0/pkg/cloog
stage1/hv-install-2
stage1/pkg/cloog
stage2/hv-install-1
stage2/pkg/cloog [new file with mode: 0644]

index 5a5ae3c..f1f105a 100644 (file)
@@ -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"
index c7ee293..158e4ce 100755 (executable)
@@ -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"
index eb2de0d..8e278d2 100644 (file)
@@ -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
 }
index b60c8a7..89929ce 100755 (executable)
@@ -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}
index 7b745ad..8e278d2 100644 (file)
@@ -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
 }
index 6781371..18de02b 100755 (executable)
@@ -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 (file)
index 0000000..8e278d2
--- /dev/null
@@ -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
+}