public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/er/
@ 2020-02-23  3:59 Alessandro Barbieri
  0 siblings, 0 replies; 6+ messages in thread
From: Alessandro Barbieri @ 2020-02-23  3:59 UTC (permalink / raw
  To: gentoo-commits

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>lssndrbarbieri@gmail.com</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>


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/er/
  2020-03-08 16:21 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
@ 2020-03-03 16:01 ` Andrew Ammerlaan
  0 siblings, 0 replies; 6+ messages in thread
From: Andrew Ammerlaan @ 2020-03-03 16:01 UTC (permalink / raw
  To: gentoo-commits

commit:     216ce5963f0ca5a437609f4a1fc3176bce9e13a6
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Tue Mar  3 16:01:19 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Mar  3 16:01:19 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=216ce596

sys-cluster/er: Builds with mpi even if USE="-mpi"

got rid of src_configure and IUSE="mpi"
also made description a bit shorter to make
repoman happy

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 sys-cluster/er/er-0.0.3.ebuild | 15 +++------------
 1 file changed, 3 insertions(+), 12 deletions(-)

diff --git a/sys-cluster/er/er-0.0.3.ebuild b/sys-cluster/er/er-0.0.3.ebuild
index 715cc2b..e505a2a 100644
--- a/sys-cluster/er/er-0.0.3.ebuild
+++ b/sys-cluster/er/er-0.0.3.ebuild
@@ -5,19 +5,17 @@ EAPI="7"
 
 inherit cmake-utils
 
-DESCRIPTION="High-level distributed erasure coding library combining functionality of shuffile and redset"
+DESCRIPTION="High-level distributed erasure coding lib combining 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
+	virtual/mpi
+	sys-cluster/KVTree[mpi]
 	sys-cluster/redset
 	sys-cluster/shuffile
 	sys-libs/zlib
@@ -33,10 +31,3 @@ src_prepare() {
 	default
 	cmake-utils_src_prepare
 }
-
-src_configure() {
-	local mycmakeargs=(
-		-DMPI="$(usex mpi "" OFF)"
-	)
-	cmake-utils_src_configure
-}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/er/
  2020-04-12 16:39 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
@ 2020-04-12 16:16 ` Andrew Ammerlaan
  0 siblings, 0 replies; 6+ messages in thread
From: Andrew Ammerlaan @ 2020-04-12 16:16 UTC (permalink / raw
  To: gentoo-commits

commit:     2b473d3fc31e7b20e119cc31237a145a3a861742
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun Apr 12 16:14:03 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Apr 12 16:14:03 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2b473d3f

sys-cluster/er: cmake-utils --> cmake

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 sys-cluster/er/er-0.0.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-cluster/er/er-0.0.3.ebuild b/sys-cluster/er/er-0.0.3.ebuild
index e505a2a..119e427 100644
--- a/sys-cluster/er/er-0.0.3.ebuild
+++ b/sys-cluster/er/er-0.0.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="7"
 
-inherit cmake-utils
+inherit cmake
 
 DESCRIPTION="High-level distributed erasure coding lib combining shuffile  and redset"
 HOMEPAGE="https://github.com/ECP-VeloC/er"
@@ -29,5 +29,5 @@ src_prepare() {
 	#do not build static library
 	sed -i '/er-static/d' src/CMakeLists.txt || die
 	default
-	cmake-utils_src_prepare
+	cmake_src_prepare
 }


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/er/
@ 2021-06-14 23:09 Alessandro Barbieri
  0 siblings, 0 replies; 6+ messages in thread
From: Alessandro Barbieri @ 2021-06-14 23:09 UTC (permalink / raw
  To: gentoo-commits

commit:     250bc39f8bbcf0f56ea98110101f80e752082436
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Jun 14 22:43:15 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Jun 14 23:09:42 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=250bc39f

sys-cluster/er: drop 0.0.3

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/er/Manifest        |  1 -
 sys-cluster/er/er-0.0.3.ebuild | 33 ---------------------------------
 2 files changed, 34 deletions(-)

diff --git a/sys-cluster/er/Manifest b/sys-cluster/er/Manifest
index ebc014aca..785ff4262 100644
--- a/sys-cluster/er/Manifest
+++ b/sys-cluster/er/Manifest
@@ -1,2 +1 @@
-DIST er-0.0.3.tar.gz 13130 BLAKE2B 1906a0627a0d17f776ba8612ec3c5feb60d41451d026add4dca0164b57570ba7bd81f1ecf303ab0f0c17cd8a26f4588afbb4748ccc66d3b82e922d5b46a3d147 SHA512 0edb8fd96ef606003e0623d6742993e3bb663fd0a3761ed4b68fc14e24c1ab586b200b0f01530570e40a7733bca3c0ecadbac0fb515594b79d9c123fe7c417e8
 DIST er-0.0.4.tar.gz 20824 BLAKE2B 05d49669a04d94a39ae46f71fb2cf034b7b9d43831f9b5d12468264dd550a97db2fae1d2a0e1b73188d23404e091ef4a4870e04f7c37d5318961b0b542b5656a SHA512 8e5b78a7b3013c5e1bb71584afddb2f0162a2c1a6845cca112e36c5929eafb8f227288eabd237ed1fbb04fcf6e00edfa4042650d9910198f3d98abfccdb562fe

diff --git a/sys-cluster/er/er-0.0.3.ebuild b/sys-cluster/er/er-0.0.3.ebuild
deleted file mode 100644
index 119e42780..000000000
--- a/sys-cluster/er/er-0.0.3.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-inherit cmake
-
-DESCRIPTION="High-level distributed erasure coding lib combining 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"
-
-RDEPEND="
-	virtual/mpi
-	sys-cluster/KVTree[mpi]
-	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_src_prepare
-}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/er/
@ 2021-08-22  2:00 Alessandro Barbieri
  0 siblings, 0 replies; 6+ messages in thread
From: Alessandro Barbieri @ 2021-08-22  2:00 UTC (permalink / raw
  To: gentoo-commits

commit:     6a3f1cac4e112c2dfe54be85d093f2e8921896db
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Aug 22 00:54:47 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Aug 22 01:17:37 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6a3f1cac

sys-cluster/er: restrict test

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/er/er-0.0.4.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/sys-cluster/er/er-0.0.4.ebuild b/sys-cluster/er/er-0.0.4.ebuild
index fbf2bfb66..dbcc917e7 100644
--- a/sys-cluster/er/er-0.0.4.ebuild
+++ b/sys-cluster/er/er-0.0.4.ebuild
@@ -12,7 +12,8 @@ SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
-PATCHES=( "${FILESDIR}/no-static-${PV}.patch" )
+IUSE="test"
+
 RDEPEND="
 	sys-cluster/KVTree[mpi]
 	sys-cluster/redset
@@ -24,3 +25,6 @@ DEPEND="${RDEPEND}"
 BDEPEND="
 	>=dev-util/cmake-2.8
 "
+
+PATCHES=( "${FILESDIR}/no-static-${PV}.patch" )
+RESTRICT="test" # https://github.com/ECP-VeloC/er/issues/20


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/er/
@ 2022-03-23 14:38 Alessandro Barbieri
  0 siblings, 0 replies; 6+ messages in thread
From: Alessandro Barbieri @ 2022-03-23 14:38 UTC (permalink / raw
  To: gentoo-commits

commit:     54e5fdbac8c72164492b925d992193b3af413a50
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Mar 23 13:43:48 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Wed Mar 23 14:38:46 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=54e5fdba

sys-cluster/er: add 0.3.0, drop 0.0.4

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/er/Manifest                            |  2 +-
 .../er/{er-0.0.4.ebuild => er-0.3.0.ebuild}        | 24 ++++++++++++++--------
 2 files changed, 17 insertions(+), 9 deletions(-)

diff --git a/sys-cluster/er/Manifest b/sys-cluster/er/Manifest
index 33a53265f..a3b298ba9 100644
--- a/sys-cluster/er/Manifest
+++ b/sys-cluster/er/Manifest
@@ -1,2 +1,2 @@
-DIST er-0.0.4.tar.gz 20824 BLAKE2B 05d49669a04d94a39ae46f71fb2cf034b7b9d43831f9b5d12468264dd550a97db2fae1d2a0e1b73188d23404e091ef4a4870e04f7c37d5318961b0b542b5656a SHA512 8e5b78a7b3013c5e1bb71584afddb2f0162a2c1a6845cca112e36c5929eafb8f227288eabd237ed1fbb04fcf6e00edfa4042650d9910198f3d98abfccdb562fe
 DIST er-0.1.0.tar.gz 20960 BLAKE2B f7e40459928a7a9b62c6fc2b89590b8e19087ba8741ec2666570a750bb58557e87e852e2a5fd80cf8ba59396533d8ffe9e69f089a2deda9d99f83e112e557f93 SHA512 e642ff388b810fd612a6482f9b324ecd5b0f93240d3cc476725aed21f84f3f9421a29838dac2ea6e4e12b7bbb57b628d82cb40d017094ab80c2b229478072a1b
+DIST er-0.3.0.tar.gz 20740 BLAKE2B 7180d8cdbfbfe56c323b8919a983add202b817b8bd39570ea7c836717a4018c2f1db222f66444da887c5d133978e825ba17dabf5070a08722f916866ae339c52 SHA512 96f0a17d28e19b895d0cc3be980b3af5c0e938e37d198d603153fc8388ce094250f6986d43894457ea673fea222f8db84b6dab7ea0c9b32b7cf58ddd7d452959

diff --git a/sys-cluster/er/er-0.0.4.ebuild b/sys-cluster/er/er-0.3.0.ebuild
similarity index 58%
rename from sys-cluster/er/er-0.0.4.ebuild
rename to sys-cluster/er/er-0.3.0.ebuild
index dbcc917e7..f6779122e 100644
--- a/sys-cluster/er/er-0.0.4.ebuild
+++ b/sys-cluster/er/er-0.3.0.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="7"
+EAPI=8
 
 inherit cmake
 
@@ -18,13 +18,21 @@ RDEPEND="
 	sys-cluster/KVTree[mpi]
 	sys-cluster/redset
 	sys-cluster/shuffile
-	sys-libs/zlib
 	virtual/mpi
 "
-DEPEND="${RDEPEND}"
-BDEPEND="
-	>=dev-util/cmake-2.8
+DEPEND="
+	${RDEPEND}
+	test? ( sys-cluster/rankstr )
 "
 
-PATCHES=( "${FILESDIR}/no-static-${PV}.patch" )
-RESTRICT="test" # https://github.com/ECP-VeloC/er/issues/20
+PATCHES=( "${FILESDIR}/${PN}-0.1.0-no-static.patch" )
+RESTRICT="!test? ( test )"
+
+src_configure() {
+	mycmakeargs=(
+		-DBUILD_SHARED_LIBS=ON
+		-DENABLE_TESTS=$(usex test)
+		-DER_LINK_STATIC=OFF
+	)
+	cmake_src_configure
+}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-03-23 14:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-22  2:00 [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/er/ Alessandro Barbieri
  -- strict thread matches above, loose matches on Subject: below --
2022-03-23 14:38 Alessandro Barbieri
2021-06-14 23:09 Alessandro Barbieri
2020-04-12 16:39 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-04-12 16:16 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-03-08 16:21 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-03-03 16:01 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-02-23  3:59 Alessandro Barbieri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox