commit:     f1d35f455599cdc676c2402008066658a7ae216e
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Feb 23 03:59:29 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Feb 23 03:59:29 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f1d35f45

sys-cluster/er: new package

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/er/Manifest        |  1 +
 sys-cluster/er/er-0.0.3.ebuild | 42 ++++++++++++++++++++++++++++++++++++++++++
 sys-cluster/er/metadata.xml    | 20 ++++++++++++++++++++
 3 files changed, 63 insertions(+)

diff --git a/sys-cluster/er/Manifest b/sys-cluster/er/Manifest
new file mode 100644
index 0000000..6b67382
--- /dev/null
+++ b/sys-cluster/er/Manifest
@@ -0,0 +1 @@
+DIST er-0.0.3.tar.gz 13130 BLAKE2B 
1906a0627a0d17f776ba8612ec3c5feb60d41451d026add4dca0164b57570ba7bd81f1ecf303ab0f0c17cd8a26f4588afbb4748ccc66d3b82e922d5b46a3d147
 SHA512 
0edb8fd96ef606003e0623d6742993e3bb663fd0a3761ed4b68fc14e24c1ab586b200b0f01530570e40a7733bca3c0ecadbac0fb515594b79d9c123fe7c417e8

diff --git a/sys-cluster/er/er-0.0.3.ebuild b/sys-cluster/er/er-0.0.3.ebuild
new file mode 100644
index 0000000..715cc2b
--- /dev/null
+++ b/sys-cluster/er/er-0.0.3.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit cmake-utils
+
+DESCRIPTION="High-level distributed erasure coding library combining 
functionality of shuffile and redset"
+HOMEPAGE="https://github.com/ECP-VeloC/er";
+SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="mpi test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       mpi? ( virtual/mpi )
+       sys-cluster/KVTree
+       sys-cluster/redset
+       sys-cluster/shuffile
+       sys-libs/zlib
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+       >=dev-util/cmake-2.8
+"
+
+src_prepare() {
+       #do not build static library
+       sed -i '/er-static/d' src/CMakeLists.txt || die
+       default
+       cmake-utils_src_prepare
+}
+
+src_configure() {
+       local mycmakeargs=(
+               -DMPI="$(usex mpi "" OFF)"
+       )
+       cmake-utils_src_configure
+}

diff --git a/sys-cluster/er/metadata.xml b/sys-cluster/er/metadata.xml
new file mode 100644
index 0000000..a14f038
--- /dev/null
+++ b/sys-cluster/er/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="person">
+    <email>[email protected]</email>
+    <name>Alessandro Barbieri</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">ECP-VeloC/er</remote-id>
+  </upstream>
+  <longdescription lang="en">Encode/Rebuild (ER)
+This module combines the funcitonality of shuffile and redset, which lets both 
migrate and rebuild files within an MPI job. It is useful for moving and 
rebuilding data files on distributed storage, e.g., node-local storage, 
particularly when MPI ranks may be running on different compute nodes than when 
they originally created their files.
+
+To encode, one defines a redundancy scheme and then applies the redundancy 
scheme to a list of files also providing a name for the encoded set. To 
rebuild, one specifies the name of the encoded set. Additionally, there is a 
function to remove the encoding information, which is needed when removing a 
dataset.
+
+Currently, er assumes the group of processes participating is the same as 
MPI_COMM_WORLD.
+
+Usage is documented in src/er.h
+  </longdescription>
+</pkgmetadata>

Reply via email to