Remove ppl
authorHugo Villeneuve <hugo@hugovil.com>
Sun, 30 Nov 2014 21:33:57 +0000 (16:33 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Fri, 5 Dec 2014 04:44:18 +0000 (23:44 -0500)
14 files changed:
config/packages-list
stage0/hv-install-2
stage0/packages-update
stage0/patches/common/ppl-0.12.1-resolve-conflicts-with-gmp-5.1.0.patch [deleted file]
stage0/pkg/gcc
stage1/hv-install-2
stage1/packages-update
stage1/patches/common/ppl-0.12.1-resolve-conflicts-with-gmp-5.1.0.patch [deleted symlink]
stage1/pkg/gcc
stage1/pkg/ppl [deleted file]
stage2/hv-install-1
stage2/packages-update
stage2/patches/common/ppl-0.12.1-resolve-conflicts-with-gmp-5.1.0-no-perl.patch [deleted file]
stage2/patches/common/ppl-0.12.1-resolve-conflicts-with-gmp-5.1.0.patch [deleted symlink]

index 5abc7c9..11753f2 100644 (file)
@@ -328,7 +328,6 @@ PKG_CONFIG="pkg-config-0.26"
 POPT="popt-1.16"
 PORTAUDIO="pa_stable_v19_20111121"
 PORTMAP="portmap-6.0"
-PPL="ppl-0.12.1"
 PROCMAIL="procmail-3.22"
 PROCPS="procps-3.2.8"
 PSMISC="psmisc-22.17"
index 0be337f..33a9447 100755 (executable)
@@ -32,13 +32,6 @@ ipkg ${MPC} "\
     --with-gmp=/cross-tools \
     --with-mpfr=/cross-tools"
 
-CPPFLAGS="-I/cross-tools/include" \
-    ipkg ${PPL} "\
-    --enable-shared \
-    --disable-static \
-    --enable-interfaces=c,cxx \
-    --disable-optimization \
-    --with-gmp=/cross-tools"
 ipkg ${CLOOG} "\
     --enable-shared \
     --disable-static \
index 8298410..3fe8587 100755 (executable)
@@ -20,8 +20,6 @@ fpkg -m gnu ${NCURSES}
 fpkg -m gnu ${GMP}
 fpkg -m gnu ${MPFR}
 fpkg -e "tar.gz" ${MPC} "http://www.multiprecision.org/mpc/download"
-fpkg -s "$(get_pkg_ver ${PPL})" ${PPL} \
-    "http://bugseng.com/products/ppl/download/ftp/releases"
 fpkg -e "tar.gz" ${CLOOG} "http://www.bastoul.net/cloog/pages/download"
 fpkg -e "tar.bz2" -m gnu ${BINUTILS}
 fpkg -m gnu -s "gcc/${GCC}" ${GCC}
diff --git a/stage0/patches/common/ppl-0.12.1-resolve-conflicts-with-gmp-5.1.0.patch b/stage0/patches/common/ppl-0.12.1-resolve-conflicts-with-gmp-5.1.0.patch
deleted file mode 100644 (file)
index 47edc8b..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-Module: ppl/ppl
-Branch: master
-Commit: 9f843aecc23981aec6ed1eaa8be06e6786a47f0d
-URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=9f843aecc23981aec6ed1eaa8be06e6786a47f0d
-
-Author: Roberto Bagnara <bagnara at cs.unipr.it>
-Date:   Wed Dec 19 08:42:19 2012 +0100
-
-GMP version 5.1.0 (and, presumably, later versions) defines std::numeric_limits.
-
----
-
- src/mp_std_bits.cc      |    6 ++++++
- src/mp_std_bits.defs.hh |    6 ++++++
- 2 files changed, 12 insertions(+), 0 deletions(-)
-
-diff --git a/src/mp_std_bits.cc b/src/mp_std_bits.cc
-index c8da535..918b9af 100644
---- a/src/mp_std_bits.cc
-+++ b/src/mp_std_bits.cc
-@@ -25,6 +25,9 @@ site: http://bugseng.com/products/ppl/ . */
- #include "ppl-config.h"
- #include "mp_std_bits_defs.hh"
-+#if __GNU_MP_VERSION < 5 \
-+  || (__GNU_MP_VERSION == 5 && __GNU_MP_VERSION_MINOR < 1)
-+
- const bool std::numeric_limits<mpz_class>::is_specialized;
- const int std::numeric_limits<mpz_class>::digits;
- const int std::numeric_limits<mpz_class>::digits10;
-@@ -70,3 +73,6 @@ const bool std::numeric_limits<mpq_class>::is_modulo;
- const bool std::numeric_limits<mpq_class>::traps;
- const bool std::numeric_limits<mpq_class>::tininess_before;
- const std::float_round_style std::numeric_limits<mpq_class>::round_style;
-+
-+#endif // __GNU_MP_VERSION < 5
-+       // || (__GNU_MP_VERSION == 5 && __GNU_MP_VERSION_MINOR < 1)
-diff --git a/src/mp_std_bits.defs.hh b/src/mp_std_bits.defs.hh
-index f71595a..0d078ec 100644 (file)
---- a/src/mp_std_bits.defs.hh
-+++ b/src/mp_std_bits.defs.hh
-@@ -38,6 +38,9 @@
- #endif // defined(PPL_DOXYGEN_INCLUDE_IMPLEMENTATION_DETAILS)
- void swap(mpq_class& x, mpq_class& y);
-+#if __GNU_MP_VERSION < 5 \
-+  || (__GNU_MP_VERSION == 5 && __GNU_MP_VERSION_MINOR < 1)
-+
- namespace std {
- #ifdef PPL_DOXYGEN_INCLUDE_IMPLEMENTATION_DETAILS
-@@ -164,6 +167,9 @@
- } // namespace std
-+#endif // __GNU_MP_VERSION < 5
-+       // || (__GNU_MP_VERSION == 5 && __GNU_MP_VERSION_MINOR < 1)
-+
- #include "mp_std_bits.inlines.hh"
- #endif // !defined(PPL_mp_std_bits_defs_hh)
index 52bea6e..0fd6795 100644 (file)
@@ -15,7 +15,6 @@ hvconfig_pre()
         --disable-nls \
         --with-mpfr=/cross-tools \
         --with-gmp=/cross-tools \
-        --with-ppl=/cross-tools \
         --with-cloog=/cross-tools \
         --enable-cloog-backend=isl \
         --disable-multilib"
index 79be861..cc51073 100755 (executable)
@@ -12,12 +12,6 @@ HOST_CC=gcc CPPFLAGS=-fexceptions \
     ipkg ${GMP} "--enable-cxx"
 ipkg ${MPFR} "--enable-shared"
 ipkg ${MPC}
-ipkg ${PPL} "\
-    --enable-shared \
-    --enable-interfaces=c,cxx \
-    --disable-optimization \
-    --with-libgmp-prefix=/tools \
-    --with-libgmpxx-prefix=/tools"
 ipkg ${CLOOG} "\
     --enable-shared \
     --with-gmp=/tools"
index 1bfab48..1fec25d 100755 (executable)
@@ -12,7 +12,6 @@ update_packages_init ${*}
 lpkg 0 ${GMP}
 lpkg 0 ${MPFR}
 lpkg 0 ${MPC}
-lpkg 0 ${PPL}
 lpkg 0 ${CLOOG}
 lpkg 0 ${BINUTILS}
 lpkg 0 ${GCC}
diff --git a/stage1/patches/common/ppl-0.12.1-resolve-conflicts-with-gmp-5.1.0.patch b/stage1/patches/common/ppl-0.12.1-resolve-conflicts-with-gmp-5.1.0.patch
deleted file mode 120000 (symlink)
index 8715724..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../../../stage0/patches/common/ppl-0.12.1-resolve-conflicts-with-gmp-5.1.0.patch
\ No newline at end of file
index 57af140..06f70f5 100644 (file)
@@ -34,7 +34,7 @@ hvconfig_post()
 {
     # Prevent GCC from looking in the wrong directories for headers and
     # libraries:
-    sed -e "/^HOST_\(GMP\|PPL\|CLOOG\)\(LIBS\|INC\)/s:-[IL]/\(lib\|include\)::" \
+    sed -e "/^HOST_\(GMP\|CLOOG\)\(LIBS\|INC\)/s:-[IL]/\(lib\|include\)::" \
         -i Makefile
 }
 
diff --git a/stage1/pkg/ppl b/stage1/pkg/ppl
deleted file mode 100644 (file)
index 06699f1..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-
-hvconfig_post()
-{
-    # When PPL is cross-compiled, it does not check whether GMP was compiled
-    # with support for exceptions, and simply assumes it was not. This
-    # assumption is incorrect, so we will fix that:
-    echo '#define PPL_GMP_SUPPORTS_EXCEPTIONS 1' >> confdefs.h
-}
index ef23798..bfcc153 100755 (executable)
@@ -23,8 +23,6 @@ CPPFLAGS=-fexceptions \
     ipkg ${GMP} "--enable-cxx --enable-mpbsd"
 ipkg ${MPFR} "--enable-shared --with-gmp=/usr"
 ipkg ${MPC}
-CPPFLAGS=-fexceptions \
-    ipkg ${PPL} "--enable-shared --disable-optimization"
 ipkg ${CLOOG} "--enable-shared"
 
 unset CC
index bb0ec21..5499233 100755 (executable)
@@ -14,7 +14,6 @@ lpkg 0 ${EGLIBC}
 lpkg 0 ${GMP}
 lpkg 0 ${MPFR}
 lpkg 0 ${MPC}
-lpkg 0 ${PPL}
 lpkg 0 ${CLOOG}
 lpkg 0 ${BINUTILS}
 lpkg 0 ${GCC}
diff --git a/stage2/patches/common/ppl-0.12.1-resolve-conflicts-with-gmp-5.1.0-no-perl.patch b/stage2/patches/common/ppl-0.12.1-resolve-conflicts-with-gmp-5.1.0-no-perl.patch
deleted file mode 100644 (file)
index 9cb514e..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-Submitted By: Hugo Villeneuve <hugo at hugovil dot com>
-Date: 2014-12-01
-Initial Package Version: 0.12.1
-Upstream Status: Not sent
-Description: Fix compilation errors when PERL is not installed.
-
-The file src/ppl.hh is created from src/ppl.hh.dist. But gmp-5.1 and later
-already define the class numeric_limits. Therefore, do not redefine it
-if we are using gmp >= 5.1
-
-diff -Naur ppl-0.12.1.orig/src/ppl.hh.dist ppl-0.12.1.new/src/ppl.hh.dist
---- ppl-0.12.1.orig/src/ppl.hh.dist    2012-04-16 08:15:08.000000000 -0400
-+++ ppl-0.12.1.new/src/ppl.hh.dist     2014-12-01 01:48:08.482395667 -0500
-@@ -779,6 +779,8 @@
- #ifdef PPL_DOXYGEN_INCLUDE_IMPLEMENTATION_DETAILS
- //! Specialization of std::numeric_limits.
- #endif // defined(PPL_DOXYGEN_INCLUDE_IMPLEMENTATION_DETAILS)
-+#if __GNU_MP_VERSION < 5 \
-+  || (__GNU_MP_VERSION == 5 && __GNU_MP_VERSION_MINOR < 1)
- template <>
- class numeric_limits<mpz_class> {
- private:
-@@ -836,10 +838,16 @@
-     return static_cast<Type>(1);
-   }
- };
-+#endif // __GNU_MP_VERSION < 5
-+       // || (__GNU_MP_VERSION == 5 && __GNU_MP_VERSION_MINOR < 1)
- #ifdef PPL_DOXYGEN_INCLUDE_IMPLEMENTATION_DETAILS
- //! Specialization of std::numeric_limits.
- #endif // defined(PPL_DOXYGEN_INCLUDE_IMPLEMENTATION_DETAILS)
-+
-+#if __GNU_MP_VERSION < 5 \
-+  || (__GNU_MP_VERSION == 5 && __GNU_MP_VERSION_MINOR < 1)
-+
- template <>
- class numeric_limits<mpq_class> {
- private:
-@@ -897,6 +905,8 @@
-     return static_cast<Type>(0);
-   }
- };
-+#endif // __GNU_MP_VERSION < 5
-+       // || (__GNU_MP_VERSION == 5 && __GNU_MP_VERSION_MINOR < 1)
- } // namespace std
diff --git a/stage2/patches/common/ppl-0.12.1-resolve-conflicts-with-gmp-5.1.0.patch b/stage2/patches/common/ppl-0.12.1-resolve-conflicts-with-gmp-5.1.0.patch
deleted file mode 120000 (symlink)
index 8715724..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../../../stage0/patches/common/ppl-0.12.1-resolve-conflicts-with-gmp-5.1.0.patch
\ No newline at end of file