Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/er/
Date: Sun, 23 Feb 2020 03:59:56
Message-Id: 1582430369.f1d35f455599cdc676c2402008066658a7ae216e.Alessandro-Barbieri@gentoo
1 commit: f1d35f455599cdc676c2402008066658a7ae216e
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Sun Feb 23 03:59:29 2020 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Sun Feb 23 03:59:29 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f1d35f45
7
8 sys-cluster/er: new package
9
10 Package-Manager: Portage-2.3.89, Repoman-2.3.20
11 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
12
13 sys-cluster/er/Manifest | 1 +
14 sys-cluster/er/er-0.0.3.ebuild | 42 ++++++++++++++++++++++++++++++++++++++++++
15 sys-cluster/er/metadata.xml | 20 ++++++++++++++++++++
16 3 files changed, 63 insertions(+)
17
18 diff --git a/sys-cluster/er/Manifest b/sys-cluster/er/Manifest
19 new file mode 100644
20 index 0000000..6b67382
21 --- /dev/null
22 +++ b/sys-cluster/er/Manifest
23 @@ -0,0 +1 @@
24 +DIST er-0.0.3.tar.gz 13130 BLAKE2B 1906a0627a0d17f776ba8612ec3c5feb60d41451d026add4dca0164b57570ba7bd81f1ecf303ab0f0c17cd8a26f4588afbb4748ccc66d3b82e922d5b46a3d147 SHA512 0edb8fd96ef606003e0623d6742993e3bb663fd0a3761ed4b68fc14e24c1ab586b200b0f01530570e40a7733bca3c0ecadbac0fb515594b79d9c123fe7c417e8
25
26 diff --git a/sys-cluster/er/er-0.0.3.ebuild b/sys-cluster/er/er-0.0.3.ebuild
27 new file mode 100644
28 index 0000000..715cc2b
29 --- /dev/null
30 +++ b/sys-cluster/er/er-0.0.3.ebuild
31 @@ -0,0 +1,42 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI="7"
36 +
37 +inherit cmake-utils
38 +
39 +DESCRIPTION="High-level distributed erasure coding library combining functionality of shuffile and redset"
40 +HOMEPAGE="https://github.com/ECP-VeloC/er"
41 +SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="MIT"
44 +SLOT="0"
45 +KEYWORDS="~amd64"
46 +IUSE="mpi test"
47 +RESTRICT="!test? ( test )"
48 +
49 +RDEPEND="
50 + mpi? ( virtual/mpi )
51 + sys-cluster/KVTree
52 + sys-cluster/redset
53 + sys-cluster/shuffile
54 + sys-libs/zlib
55 +"
56 +DEPEND="${RDEPEND}"
57 +BDEPEND="
58 + >=dev-util/cmake-2.8
59 +"
60 +
61 +src_prepare() {
62 + #do not build static library
63 + sed -i '/er-static/d' src/CMakeLists.txt || die
64 + default
65 + cmake-utils_src_prepare
66 +}
67 +
68 +src_configure() {
69 + local mycmakeargs=(
70 + -DMPI="$(usex mpi "" OFF)"
71 + )
72 + cmake-utils_src_configure
73 +}
74
75 diff --git a/sys-cluster/er/metadata.xml b/sys-cluster/er/metadata.xml
76 new file mode 100644
77 index 0000000..a14f038
78 --- /dev/null
79 +++ b/sys-cluster/er/metadata.xml
80 @@ -0,0 +1,20 @@
81 +<?xml version="1.0" encoding="UTF-8"?>
82 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
83 +<pkgmetadata>
84 + <maintainer type="person">
85 + <email>lssndrbarbieri@×××××.com</email>
86 + <name>Alessandro Barbieri</name>
87 + </maintainer>
88 + <upstream>
89 + <remote-id type="github">ECP-VeloC/er</remote-id>
90 + </upstream>
91 + <longdescription lang="en">Encode/Rebuild (ER)
92 +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.
93 +
94 +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.
95 +
96 +Currently, er assumes the group of processes participating is the same as MPI_COMM_WORLD.
97 +
98 +Usage is documented in src/er.h
99 + </longdescription>
100 +</pkgmetadata>