aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2020-02-23 04:57:05 +0100
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2020-02-23 04:57:05 +0100
commitefa0764dc6be7bb832796d89c424a53fd350cea5 (patch)
tree876706982e66583b731e6e932819f45d93e45f2f /sys-cluster
parentsys-auth/mrsh: new package (diff)
downloadguru-efa0764dc6be7bb832796d89c424a53fd350cea5.tar.gz
guru-efa0764dc6be7bb832796d89c424a53fd350cea5.tar.bz2
guru-efa0764dc6be7bb832796d89c424a53fd350cea5.zip
sys-cluster/redset: new package
Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/redset/Manifest1
-rw-r--r--sys-cluster/redset/metadata.xml13
-rw-r--r--sys-cluster/redset/redset-0.0.4.ebuild47
3 files changed, 61 insertions, 0 deletions
diff --git a/sys-cluster/redset/Manifest b/sys-cluster/redset/Manifest
new file mode 100644
index 00000000..b4c40f15
--- /dev/null
+++ b/sys-cluster/redset/Manifest
@@ -0,0 +1 @@
+DIST redset-0.0.4.tar.gz 189159 BLAKE2B ba38c705698564246b6e4e8f4f0be44766f52a205f437e38cbf7547832a09110848dd62c0bfb9bfabf2bb59910a2d7c1fc0d9734b90cbd444eb0a99d5ab0f932 SHA512 64e97e014aa199f1073405d9e552426d28b4af4d669c5ccb4bd1fe6ba982f4790bb3f61be9eeff192477ede9d783ce8ea4c68abe2be8b689b0b3879caf705917
diff --git a/sys-cluster/redset/metadata.xml b/sys-cluster/redset/metadata.xml
new file mode 100644
index 00000000..5c2fc9da
--- /dev/null
+++ b/sys-cluster/redset/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>lssndrbarbieri@gmail.com</email>
+ <name>Alessandro Barbieri</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">ECP-VeloC/redset</remote-id>
+ </upstream>
+ <longdescription lang="en">This module lets one create one or more redundancy descriptors, which then may be applied to a set of files distributed across a group of processes.
+ </longdescription>
+</pkgmetadata>
diff --git a/sys-cluster/redset/redset-0.0.4.ebuild b/sys-cluster/redset/redset-0.0.4.ebuild
new file mode 100644
index 00000000..e7c69288
--- /dev/null
+++ b/sys-cluster/redset/redset-0.0.4.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit cmake-utils
+
+DESCRIPTION="Low-level distributed erasure coding library to protect datasets of MPI applications"
+HOMEPAGE="https://github.com/ECP-VeloC/redset"
+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/rankstr
+ sys-libs/zlib
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ >=dev-util/cmake-2.8
+"
+
+src_prepare() {
+ #do not build static library
+ sed -i '/redset-static/d' src/CMakeLists.txt
+ default
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DMPI="$(usex mpi "" OFF)"
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+ dodoc README.md
+ dodoc -r doc/rst/.
+}