summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2011-04-09 17:23:16 +0000
committerSteve Arnold <nerdboy@gentoo.org>2011-04-09 17:23:16 +0000
commit1b3c681361be694443f2f7b2bebcf278279dc1b7 (patch)
treec9d1db6b1884b59fdd552a7eeb4294732015afb1 /sys-apps/dmtcp
parentVersion bump. (diff)
downloadhistorical-1b3c681361be694443f2f7b2bebcf278279dc1b7.tar.gz
historical-1b3c681361be694443f2f7b2bebcf278279dc1b7.tar.bz2
historical-1b3c681361be694443f2f7b2bebcf278279dc1b7.zip
New ebuild for the Distributed MultiThreaded CheckPoint tool.
Package-Manager: portage-2.1.9.45/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/dmtcp')
-rw-r--r--sys-apps/dmtcp/ChangeLog11
-rw-r--r--sys-apps/dmtcp/Manifest4
-rw-r--r--sys-apps/dmtcp/dmtcp-1.2.1.ebuild77
-rw-r--r--sys-apps/dmtcp/metadata.xml12
4 files changed, 104 insertions, 0 deletions
diff --git a/sys-apps/dmtcp/ChangeLog b/sys-apps/dmtcp/ChangeLog
new file mode 100644
index 000000000000..d8286f74f95e
--- /dev/null
+++ b/sys-apps/dmtcp/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for sys-apps/dmtcp
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/dmtcp/ChangeLog,v 1.1 2011/04/09 17:23:16 nerdboy Exp $
+
+*dmtcp-1.2.1 (09 Apr 2011)
+
+ 09 Apr 2011; Steve Arnold <nerdboy@gentoo.org> +dmtcp-1.2.1.ebuild,
+ +metadata.xml:
+ New ebuild for the Distributed MultiThreaded CheckPoint tool. It does
+ not require any special source mods or kernel modules. See the docs...
+
diff --git a/sys-apps/dmtcp/Manifest b/sys-apps/dmtcp/Manifest
new file mode 100644
index 000000000000..8fcd377bde49
--- /dev/null
+++ b/sys-apps/dmtcp/Manifest
@@ -0,0 +1,4 @@
+DIST dmtcp-1.2.1.tar.gz 864695 RMD160 b24405aa964c95b16450714e019489ec3e154d68 SHA1 5bf220df21fe1e89a6b4074a8edb5dfb00b10746 SHA256 a345fc4a10a99036cc219ef02bba43e4735b5ae7b7ec915eb623692acb99dae2
+EBUILD dmtcp-1.2.1.ebuild 1809 RMD160 0d14358021b511bf7f67437716fee664b7b020f5 SHA1 4a4cd7e2057df5120ce49a67a95266a72316d6a4 SHA256 1e504c9709b685924bee8b317ad1d0e805846245e502ab611cf855ab99413a13
+MISC ChangeLog 464 RMD160 31211fe6e4b506334330d4453c7c9b3e80a921de SHA1 898cbb7fa94f3bfbaf6bf358dbb6aa528ee4a702 SHA256 665e78e8335a221622f1b712349528631fee03fef6902ed1d288fdc95e0c2c5d
+MISC metadata.xml 406 RMD160 03e018d91b1b20c501a2dfb5b99495cf580933b2 SHA1 32052e4e199e63827c8094431351d22251d2f4dc SHA256 740aafd3ff4a33e9e12b487a10d2a1a2986e27a77f0499d0e6b6a63a3c5e71dd
diff --git a/sys-apps/dmtcp/dmtcp-1.2.1.ebuild b/sys-apps/dmtcp/dmtcp-1.2.1.ebuild
new file mode 100644
index 000000000000..59cba250b40b
--- /dev/null
+++ b/sys-apps/dmtcp/dmtcp-1.2.1.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/dmtcp/dmtcp-1.2.1.ebuild,v 1.1 2011/04/09 17:23:16 nerdboy Exp $
+
+EAPI=3
+
+inherit autotools elisp-common eutils multilib
+
+DESCRIPTION="DMTCP is the Distributed MultiThreaded Checkpointing tool."
+HOMEPAGE="http://dmtcp.sourceforge.net/index.html"
+SRC_URI="mirror://sourceforge/dmtcp/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug emacs fast mpi trace"
+
+RDEPEND="sys-libs/readline
+ sys-devel/patch
+ app-arch/gzip
+ sys-kernel/linux-headers
+ emacs? ( dev-lisp/clisp )
+ mpi? ( virtual/mpi )
+ || ( app-shells/dash
+ app-shells/zsh
+ app-shells/tcsh
+ )"
+
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ eautoreconf
+ sed -i -e "s|make install|\$(MAKE) install|" Makefile.in
+}
+
+src_configure() {
+ local myconf="--enable-external-socket-handling \
+ --disable-stale-socket-handling"
+
+ if use debug; then
+ use trace && myconf=" ${myconf} --enable-ptrace-support"
+ myconf=" ${myconf} --disable-pid-virtualization"
+ fi
+
+ use fast && myconf=" ${myconf} --disable-pid-virtualization \
+ --disable-external-socket-handling \
+ --enable-forked-checkpointing \
+ --enable-allocator"
+
+ use mpi && myconf=" ${myconf} --with-mpich=/usr/bin"
+
+ econf $(use_enable debug) $myconf
+}
+
+src_test() {
+ make check || die "make check failed"
+ make check1 || die "make check1 failed"
+ make check2 || die "make check2 failed"
+ make check3 || die "make check3 failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ dodoc TODO QUICK-START ${PN}/README
+
+ dodir /usr/share/${PF}/examples
+ mv "${D}"usr/$(get_libdir)/${PN}/examples "${D}"usr/share/${PF}/examples
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/sys-apps/dmtcp/metadata.xml b/sys-apps/dmtcp/metadata.xml
new file mode 100644
index 000000000000..5bf615f354ca
--- /dev/null
+++ b/sys-apps/dmtcp/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>dev-tools</herd>
+<maintainer>
+<email>nerdboy@gentoo.org</email>
+</maintainer>
+<use>
+<flag name="fast">Enable experimental performance options such as mmap allocator.</flag>
+<flag name="trace">Enable ptrace support (only valid with debug enabled).</flag>
+</use>
+</pkgmetadata>