From 716ca530e1c4515d8683c9d5be3d56b301758b66 Mon Sep 17 00:00:00 2001 From: James <> Date: Wed, 4 Nov 2015 11:49:21 +0000 Subject: trunk-47381 --- tools/ppl/Makefile | 37 ++++++++++++++++++++ tools/ppl/patches/001-disable-serial-tests.patch | 44 ++++++++++++++++++++++++ 2 files changed, 81 insertions(+) create mode 100644 tools/ppl/Makefile create mode 100644 tools/ppl/patches/001-disable-serial-tests.patch (limited to 'tools/ppl') diff --git a/tools/ppl/Makefile b/tools/ppl/Makefile new file mode 100644 index 0000000..082b200 --- /dev/null +++ b/tools/ppl/Makefile @@ -0,0 +1,37 @@ +# +# Copyright (C) 2009-2013 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +include $(TOPDIR)/rules.mk + +PKG_NAME:=ppl +PKG_VERSION:=1.1 + +PKG_SOURCE_URL:=http://bugseng.com/products/ppl/download/ftp/releases/$(PKG_VERSION)/ +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz +PKG_MD5SUM:=82617a9c4e08606111ed9d2dc37ececa + +HOST_FIXUP:=autoreconf + +HOST_BUILD_PARALLEL:=1 +HOST_CONFIGURE_PARALLEL:=1 + +include $(INCLUDE_DIR)/host-build.mk + +unexport CFLAGS + +HOST_CONFIGURE_ARGS += \ + --enable-static \ + --disable-shared + +define Host/Configure + (cd $(HOST_BUILD_DIR)/$(3); \ + $(HOST_CONFIGURE_CMD) \ + $(HOST_CONFIGURE_VARS) \ + $(HOST_CONFIGURE_ARGS); \ + ) +endef + +$(eval $(call HostBuild)) diff --git a/tools/ppl/patches/001-disable-serial-tests.patch b/tools/ppl/patches/001-disable-serial-tests.patch new file mode 100644 index 0000000..91b0753 --- /dev/null +++ b/tools/ppl/patches/001-disable-serial-tests.patch @@ -0,0 +1,44 @@ +--- a/tests/BD_Shape/Makefile.am ++++ b/tests/BD_Shape/Makefile.am +@@ -21,8 +21,6 @@ + # For the most up-to-date information see the Parma Polyhedra Library + # site: http://bugseng.com/products/ppl/ . + +-AUTOMAKE_OPTIONS = serial-tests +- + if VALGRIND_TESTS_ENABLED + + CHECKER = \ +--- a/tests/Box/Makefile.am ++++ b/tests/Box/Makefile.am +@@ -21,8 +21,6 @@ + # For the most up-to-date information see the Parma Polyhedra Library + # site: http://bugseng.com/products/ppl/ . + +-AUTOMAKE_OPTIONS = serial-tests +- + if VALGRIND_TESTS_ENABLED + + CHECKER = \ +--- a/tests/Concrete_Expression/Makefile.am ++++ b/tests/Concrete_Expression/Makefile.am +@@ -21,8 +21,6 @@ + # For the most up-to-date information see the Parma Polyhedra Library + # site: http://bugseng.com/products/ppl/ . + +-AUTOMAKE_OPTIONS = serial-tests +- + if VALGRIND_TESTS_ENABLED + + CHECKER = \ +--- a/tests/Octagonal_Shape/Makefile.am ++++ b/tests/Octagonal_Shape/Makefile.am +@@ -21,8 +21,6 @@ + # For the most up-to-date information see the Parma Polyhedra Library + # site: http://bugseng.com/products/ppl/ . + +-AUTOMAKE_OPTIONS = serial-tests +- + if VALGRIND_TESTS_ENABLED + + CHECKER = \ -- cgit v1.2.3