diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2012-06-28 06:21:59 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2012-06-28 06:21:59 +0000 |
commit | ba2c4793c9ea48c274fd8836f8a0c9f9ba7a81d3 (patch) | |
tree | ab0e931283778a3e49acdabacfb90cba7a50da7e /dev-lang | |
parent | Depend on virtual/fortran (Bug #423873). Thanks Diego. Drop old (diff) | |
download | historical-ba2c4793c9ea48c274fd8836f8a0c9f9ba7a81d3.tar.gz historical-ba2c4793c9ea48c274fd8836f8a0c9f9ba7a81d3.tar.bz2 historical-ba2c4793c9ea48c274fd8836f8a0c9f9ba7a81d3.zip |
Fixed for automake-1.12, disable force tests, force CFLAGS=-O1 (bug #423553)
Package-Manager: portage-2.1.11.1/cvs/Linux x86_64
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/cilk/ChangeLog | 11 | ||||
-rw-r--r-- | dev-lang/cilk/Manifest | 13 | ||||
-rw-r--r-- | dev-lang/cilk/cilk-5.4.6-r1.ebuild | 36 | ||||
-rw-r--r-- | dev-lang/cilk/cilk-5.4.6.ebuild | 35 | ||||
-rw-r--r-- | dev-lang/cilk/files/cilk-5.4.6-autotools.patch | 74 |
5 files changed, 125 insertions, 44 deletions
diff --git a/dev-lang/cilk/ChangeLog b/dev-lang/cilk/ChangeLog index 417084055910..c92be47f891d 100644 --- a/dev-lang/cilk/ChangeLog +++ b/dev-lang/cilk/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-lang/cilk -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/cilk/ChangeLog,v 1.2 2011/01/22 03:35:44 bicatali Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/cilk/ChangeLog,v 1.3 2012/06/28 06:21:59 bicatali Exp $ + +*cilk-5.4.6-r1 (28 Jun 2012) + + 28 Jun 2012; Sébastien Fabbro <bicatali@gentoo.org> +cilk-5.4.6-r1.ebuild, + +files/cilk-5.4.6-autotools.patch, -cilk-5.4.6.ebuild: + Fixed for automake-1.12, disable force tests, force CFLAGS=-O1 (bug #423553) 22 Jan 2011; Sébastien Fabbro <bicatali@gentoo.org> cilk-5.4.6.ebuild: Fixed for glibc-2.12. Added static-libs flag, moved to EAPI=2 @@ -14,4 +20,3 @@ 20 Feb 2008; Michał Kiedrowicz (esqualante) <esqualante@o2.pl> +metadata.xml, +cilk-5.4.6.ebuild: New Ebuild for bug #210816 thanks to Tommy[D], Ken69267 and tcunha - diff --git a/dev-lang/cilk/Manifest b/dev-lang/cilk/Manifest index 52245a0b3f1c..6bddd1fb53c5 100644 --- a/dev-lang/cilk/Manifest +++ b/dev-lang/cilk/Manifest @@ -1,14 +1,15 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX cilk-5.4.6-autotools.patch 3156 RMD160 3e1ec94a580228659805c129fc351361f78b5ebb SHA1 cc34d3fab4da48058af1cb9aa9d84beaf4e4a7b4 SHA256 7779dd4e3645aeadb539f11c8f73bb305e5dd7eddc0dad62ac75e66e9a71468b DIST cilk-5.4.6.tar.gz 1270768 RMD160 3a1dc0397fe3e5514652cb6e441f2d0d0d91f73d SHA1 1e60512a3f8dad9aec3494599522e25a14b4d24b SHA256 0bee5386fabc87c97d716331b1b492eb8f18c8a8398c566afa3663f27139c9f6 -EBUILD cilk-5.4.6.ebuild 923 RMD160 da519169998a7aaeb16cebfc10a23f92a4dca74a SHA1 6d8cc4a6b355e83825b2299e3d8cd702573accf5 SHA256 648a2fd8bf098626c309074da188e15f201b6ac4cf3139fb3f802037b1719766 -MISC ChangeLog 710 RMD160 7d6e17bc93350176c0520d9f3e054cc89f2d4fa3 SHA1 b3e037eeeb8a4784ba5a2e26176979f7151d1658 SHA256 b3485688a1c5788ffb5c8eadc3bb20f47920ea7321e3a7cf4d85a0f5d7fafccd +EBUILD cilk-5.4.6-r1.ebuild 983 RMD160 9c088f26b8f624ec808fc50da96f3cbad088213e SHA1 e9cd9ed56675e779d8a85925ee5a56a5db26e6eb SHA256 6a90dcaaaa40e044dbd5a73f887c76af9aa83e906c5e1de5b8be4b7d0459e1c0 +MISC ChangeLog 954 RMD160 6be2f46e912d1fec230e003cf012ad75c07b8bf3 SHA1 543c4dfd9526f38f22498def1127f63e63ad4712 SHA256 7ed6221e07f7692c4532502b49bc1ded309626e10d862be9fbb5984e02972b76 MISC metadata.xml 775 RMD160 88e634a544a797e84ddd5997e2f4b4b04ce8a15e SHA1 0f4cc2c0087488e6688e600e519a1305d8ddc4eb SHA256 b4a34bdea69c72682fb62eeb60c1f760599d843ffc49cf2087e69db7dc5375dd -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) +Version: GnuPG v2.0.19 (GNU/Linux) -iEYEARECAAYFAk06UJgACgkQ1ycZbhPLE2C7jACggEwtQQoJIOP9pwdPWTkBGRml -yNwAoKph7SRolE9sGDucWuRlwHGTUjIR -=bWOI +iEYEARECAAYFAk/r+BEACgkQ1ycZbhPLE2AIzgCgm8Koz5aimi7xE9TYowHTV/s5 +vNAAnjLSxDk6qgvgk3U8jLceb/HuvxHj +=0DTN -----END PGP SIGNATURE----- diff --git a/dev-lang/cilk/cilk-5.4.6-r1.ebuild b/dev-lang/cilk/cilk-5.4.6-r1.ebuild new file mode 100644 index 000000000000..07cf1ade0949 --- /dev/null +++ b/dev-lang/cilk/cilk-5.4.6-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/cilk/cilk-5.4.6-r1.ebuild,v 1.1 2012/06/28 06:21:58 bicatali Exp $ + +EAPI=4 +inherit flag-o-matic autotools eutils + +DESCRIPTION="Language for multithreaded parallel programming based on ANSI C" +HOMEPAGE="http://supertech.csail.mit.edu/cilk" +SRC_URI="http://supertech.csail.mit.edu/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples static-libs" + +src_prepare() { + epatch "${FILESDIR}"/${P}-autotools.patch + eautoreconf +} + +src_configure() { + append-cppflags -D_XOPEN_SOURCE=500 + # too many flags do not work, force -O1 + econf --with-perfctr=no $(use_enable static-libs static) CFLAGS=-O1 +} + +src_install() { + emake DESTDIR="${D}" install + dodoc NEWS README THANKS + use doc && dodoc doc/manual.pdf + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples + fi +} diff --git a/dev-lang/cilk/cilk-5.4.6.ebuild b/dev-lang/cilk/cilk-5.4.6.ebuild deleted file mode 100644 index 641fa4031644..000000000000 --- a/dev-lang/cilk/cilk-5.4.6.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/cilk/cilk-5.4.6.ebuild,v 1.2 2011/01/22 03:35:44 bicatali Exp $ - -EAPI=2 -inherit flag-o-matic - -DESCRIPTION="Language for multithreaded parallel programming based on ANSI C." -HOMEPAGE="http://supertech.csail.mit.edu/${PN}/" -SRC_URI="http://supertech.csail.mit.edu/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc examples static-libs" - -src_prepare() { - # cilk compiler doesn't like this flags... - filter-flags "-pipe" - filter-flags "-ggdb" - append-cppflags -D_XOPEN_SOURCE=500 -} - -src_configure() { - econf $(use_enable static-libs static) -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed." - dodoc NEWS README THANKS - - insinto /usr/share/doc/${PF} - use doc && doins doc/manual.pdf - use examples && doins -r examples -} diff --git a/dev-lang/cilk/files/cilk-5.4.6-autotools.patch b/dev-lang/cilk/files/cilk-5.4.6-autotools.patch new file mode 100644 index 000000000000..7287ca79597f --- /dev/null +++ b/dev-lang/cilk/files/cilk-5.4.6-autotools.patch @@ -0,0 +1,74 @@ +diff -Nur cilk-5.4.6.orig/cilk2c/Makefile.am cilk-5.4.6/cilk2c/Makefile.am +--- cilk-5.4.6.orig/cilk2c/Makefile.am 2012-06-28 06:19:51.000000000 +0100 ++++ cilk-5.4.6/cilk2c/Makefile.am 2012-06-28 06:59:42.000000000 +0100 +@@ -1,4 +1,6 @@ +-pkglib_PROGRAMS = cilk2c ++pkglibexec_PROGRAMS = cilk2c ++ ++BUILT_SOURCES = ANSI-C.c ANSI-C.h + + cilk2c_SOURCES = analyze.c ast.c complex-types.c constexpr.c \ + container.c conversions.c dataflow.c elide.c initializer.c list.c \ +diff -Nur cilk-5.4.6.orig/configure.ac cilk-5.4.6/configure.ac +--- cilk-5.4.6.orig/configure.ac 2012-06-28 06:19:51.000000000 +0100 ++++ cilk-5.4.6/configure.ac 2012-06-28 06:41:26.000000000 +0100 +@@ -1,8 +1,8 @@ + dnl Process this file with autoconf to produce a configure script. + AC_INIT + AC_CONFIG_SRCDIR([config.h.in]) +-AM_CONFIG_HEADER([config.h runtime/cilk-sysdep.h]) +-AC_PREREQ(2.53) ++AC_CONFIG_HEADERS([config.h runtime/cilk-sysdep.h]) ++AC_PREREQ(2.68) + AM_INIT_AUTOMAKE(cilk, 5.4.6) + AC_CANONICAL_HOST + +@@ -20,7 +20,7 @@ + + dnl Checks for required programs. + if test "$GCC" != "yes"; then +- AC_ERROR("I cannot find gcc. gcc is required for Cilk to work.") ++ AC_MSG_ERROR("I cannot find gcc. gcc is required for Cilk to work.") + fi + + dnl Checks for libraries. +diff -Nur cilk-5.4.6.orig/examples/Makefile.am cilk-5.4.6/examples/Makefile.am +--- cilk-5.4.6.orig/examples/Makefile.am 2012-06-28 06:19:51.000000000 +0100 ++++ cilk-5.4.6/examples/Makefile.am 2012-06-28 06:36:56.000000000 +0100 +@@ -11,7 +11,7 @@ + CILKLINK = $(CILKLD) $(AM_CILKFLAGS) $(CILKFLAGS) $(PERFCTR_LIBS) $(LDFLAGS) -o $@ + LINK=$(CILKLINK) + +-noinst_PROGRAMS=hello fib fib-serial testall ck magic knapsack queens \ ++check_PROGRAMS=hello fib fib-serial testall ck magic knapsack queens \ + cilksort fft test-locks bucket cholesky game nfib kalah matmul lu plu \ + heat test-errno strassen rectmul spacemul \ + test-void-func \ +@@ -58,7 +58,7 @@ + EXTRA_DIST = knapsack-example1.input knapsack-example2.input \ + knapsack-example3.input + +-check: hello testall fft fib lu matmul cilksort heat test-locks test-errno ++check-local: hello testall fft fib lu matmul cilksort heat test-locks test-errno + @echo "Runnig Cilk tests. This will take a while." + ./hello $(PROGFLAGS) + ./test-void-func $(PROGFLAGS) +diff -Nur cilk-5.4.6.orig/runtime/Makefile.am cilk-5.4.6/runtime/Makefile.am +--- cilk-5.4.6.orig/runtime/Makefile.am 2012-06-28 06:19:51.000000000 +0100 ++++ cilk-5.4.6/runtime/Makefile.am 2012-06-28 06:27:57.000000000 +0100 +@@ -1,5 +1,5 @@ + lib_LTLIBRARIES = libcilk.la libcilk.g.la libcilk.p.la libcilk.g.p.la +-pkglib_LIBRARIES = libcilkrt0.a libcilkrt0g.a libcilkrt0p.a libcilkrt0gp.a ++lib_LIBRARIES = libcilkrt0.a libcilkrt0g.a libcilkrt0p.a libcilkrt0gp.a + + CILK_HFILES = cilk-cilk2c.h cilk.h cilk-lib.h cilk-lib.cilkh \ + gcc-builtin.h cilk-cilk2c-pre.h +@@ -8,7 +8,7 @@ + cmdline.c internal-malloc.c timing.c invoke-main.c malloc.c debug.c \ + workers.c mutex.c + +-pkginclude_HEADERS = $(CILK_HFILES) cilk-conf.h cilk-sysdep.h ++include_HEADERS = $(CILK_HFILES) cilk-conf.h cilk-sysdep.h + + CILK_SRC = cilk-internal.h $(CILK_CFILES) $(CILK_HFILES) + COMMON_LINK_FLAGS = -version-info 1:3:0 @PTHREAD_LIBS@ |