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

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

sys-cluster/rankstr: new package

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

 sys-cluster/rankstr/Manifest             |  1 +
 sys-cluster/rankstr/metadata.xml         | 19 ++++++++++++++++
 sys-cluster/rankstr/rankstr-0.0.2.ebuild | 38 ++++++++++++++++++++++++++++++++
 3 files changed, 58 insertions(+)

diff --git a/sys-cluster/rankstr/Manifest b/sys-cluster/rankstr/Manifest
new file mode 100644
index 0000000..49b1c2e
--- /dev/null
+++ b/sys-cluster/rankstr/Manifest
@@ -0,0 +1 @@
+DIST rankstr-0.0.2.tar.gz 10290 BLAKE2B 4efa609804bffd0fe9215e9b06112615ed85657af88bd15e1a51a5db7ccc8701bf162ea88096df69a42ecd062e3099e5c18986d72fd8c5cc14b89fd019b3322d SHA512 fd4814ec797566004c3141b46b4ca410e217857e2bee3dc3b0f350c2c10fcaff62e3608fb0233894a0960aade660f55a536ea7cc41c9aed3a355b3a05f432a0f

diff --git a/sys-cluster/rankstr/metadata.xml b/sys-cluster/rankstr/metadata.xml
new file mode 100644
index 0000000..d2422a7
--- /dev/null
+++ b/sys-cluster/rankstr/metadata.xml
@@ -0,0 +1,19 @@
+<?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/rankstr</remote-id>
+  </upstream>
+  <longdescription lang="en">The rankstr (rank string) library provides functions that identify unique strings across an MPI communicator.
+
+A key use case is to split a communicator into subcommunicators such that all processes in a resulting subcommunicator consist of those processes that provided an identical input string. rankstr_mpi_comm_split is a function like MPI_Comm_split, but it takes a variable-length string as the color argument insead of an integer value.
+
+The rankstr_mpi function does not output a communicator, but instead returns a unique integer for each unique string.
+
+For scalability, the implementation uses a distributed, bitonic sort via point-to-point messages over the input communicator to compare string values. The caller must provide two distinct tag values that are safe for the function to use for its point-to-point messages.
+  </longdescription>
+</pkgmetadata>

diff --git a/sys-cluster/rankstr/rankstr-0.0.2.ebuild b/sys-cluster/rankstr/rankstr-0.0.2.ebuild
new file mode 100644
index 0000000..ffe57a9
--- /dev/null
+++ b/sys-cluster/rankstr/rankstr-0.0.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit cmake-utils
+
+DESCRIPTION="Split an MPI communicator into subcomms based on string values"
+HOMEPAGE="https://github.com/ECP-VeloC/rankstr"
+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 )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	>=dev-util/cmake-2.8
+"
+
+src_prepare() {
+	#do not build static library
+	sed -i '/rankstr-static/d' src/CMakeLists.txt || die
+	default
+	cmake-utils_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DMPI="$(usex mpi "" OFF)"
+	)
+	cmake-utils_src_configure
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/rankstr/
@ 2020-03-02 22:04 Alessandro Barbieri
  0 siblings, 0 replies; 7+ messages in thread
From: Alessandro Barbieri @ 2020-03-02 22:04 UTC (permalink / raw
  To: gentoo-commits

commit:     6f783fe6d58fb58dd0d6a3e6063aade441a84322
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Mar  2 21:49:47 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Mar  2 22:03:53 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6f783fe6

sys-cluster/rankstr: unconditionally depend on MPI

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

 sys-cluster/rankstr/rankstr-0.0.2.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-cluster/rankstr/rankstr-0.0.2.ebuild b/sys-cluster/rankstr/rankstr-0.0.2.ebuild
index ffe57a9..d3db985 100644
--- a/sys-cluster/rankstr/rankstr-0.0.2.ebuild
+++ b/sys-cluster/rankstr/rankstr-0.0.2.ebuild
@@ -12,11 +12,11 @@ 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"
+IUSE="test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
-	mpi? ( virtual/mpi )
+	virtual/mpi
 "
 DEPEND="${RDEPEND}"
 BDEPEND="
@@ -32,7 +32,7 @@ src_prepare() {
 
 src_configure() {
 	local mycmakeargs=(
-		-DMPI="$(usex mpi "" OFF)"
+		-DMPI="ON"
 	)
 	cmake-utils_src_configure
 }


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

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/rankstr/
@ 2020-03-03 15:46 Andrew Ammerlaan
  0 siblings, 0 replies; 7+ messages in thread
From: Andrew Ammerlaan @ 2020-03-03 15:46 UTC (permalink / raw
  To: gentoo-commits

commit:     e20063d897434729526ff8b8018ce173f98ea53a
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Tue Mar  3 15:45:51 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Mar  3 15:45:51 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e20063d8

sys-cluster/rankstr: No need to add IUSE="test"

this is only usefull if you have additional
dependencies that are required to run tests

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

 sys-cluster/rankstr/rankstr-0.0.2.ebuild | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys-cluster/rankstr/rankstr-0.0.2.ebuild b/sys-cluster/rankstr/rankstr-0.0.2.ebuild
index d3db985..9a78dd9 100644
--- a/sys-cluster/rankstr/rankstr-0.0.2.ebuild
+++ b/sys-cluster/rankstr/rankstr-0.0.2.ebuild
@@ -12,8 +12,6 @@ SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="test"
-RESTRICT="!test? ( test )"
 
 RDEPEND="
 	virtual/mpi


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

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/rankstr/
@ 2020-03-03 15:55 Andrew Ammerlaan
  0 siblings, 0 replies; 7+ messages in thread
From: Andrew Ammerlaan @ 2020-03-03 15:55 UTC (permalink / raw
  To: gentoo-commits

commit:     bdfc3fdea48c7fd7d090e59adf0350fcbd4acb6c
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Tue Mar  3 15:55:17 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Mar  3 15:55:17 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bdfc3fde

sys-cluster/rankstr: src_configure no longer necessary

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

 sys-cluster/rankstr/rankstr-0.0.2.ebuild | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/sys-cluster/rankstr/rankstr-0.0.2.ebuild b/sys-cluster/rankstr/rankstr-0.0.2.ebuild
index 9a78dd9..fec34b4 100644
--- a/sys-cluster/rankstr/rankstr-0.0.2.ebuild
+++ b/sys-cluster/rankstr/rankstr-0.0.2.ebuild
@@ -27,10 +27,3 @@ src_prepare() {
 	default
 	cmake-utils_src_prepare
 }
-
-src_configure() {
-	local mycmakeargs=(
-		-DMPI="ON"
-	)
-	cmake-utils_src_configure
-}


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

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

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

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

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

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

diff --git a/sys-cluster/rankstr/rankstr-0.0.2.ebuild b/sys-cluster/rankstr/rankstr-0.0.2.ebuild
index fec34b4..1f5b143 100644
--- a/sys-cluster/rankstr/rankstr-0.0.2.ebuild
+++ b/sys-cluster/rankstr/rankstr-0.0.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="7"
 
-inherit cmake-utils
+inherit cmake
 
 DESCRIPTION="Split an MPI communicator into subcomms based on string values"
 HOMEPAGE="https://github.com/ECP-VeloC/rankstr"
@@ -25,5 +25,5 @@ src_prepare() {
 	#do not build static library
 	sed -i '/rankstr-static/d' src/CMakeLists.txt || die
 	default
-	cmake-utils_src_prepare
+	cmake_src_prepare
 }


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

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

commit:     31a0b740a990ff2d5a5e12d97365266f8957b721
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Mar 23 13:53:19 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=31a0b740

sys-cluster/rankstr: add 0.2.0, drop 0.0.3

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

 sys-cluster/rankstr/Manifest                                      | 2 +-
 .../rankstr/{rankstr-0.0.3.ebuild => rankstr-0.2.0.ebuild}        | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/sys-cluster/rankstr/Manifest b/sys-cluster/rankstr/Manifest
index 74b492d27..9af504183 100644
--- a/sys-cluster/rankstr/Manifest
+++ b/sys-cluster/rankstr/Manifest
@@ -1,2 +1,2 @@
-DIST rankstr-0.0.3.tar.gz 14734 BLAKE2B 574dff65368912e0f63da81b35069888cf40c6768e7bea456aa8104976a87c49102ee860f22f405bcc732f1d36be3e4d35e4e58dfba901eda85ce18a0d9d557b SHA512 d1672bb6d09567c44c6bdf96d2dd670edc1d1abb113bb5b893c1cb5a78428b95e425639d5d65f2a68a76f11034a9009c659b5e53ca9f543a6a78d0c14ba59e57
 DIST rankstr-0.1.0.tar.gz 14909 BLAKE2B 488386e2588e71db43d59b02ba277cc409df21615ae6c8e2fa822a0aee2ebf4d0ac4f09c262759b7c4066cf118420404d297c9dfcf2fe80bdd19977a2e120174 SHA512 be36c6316fe2286015f704dbf8733ae2b682f32f5c180cfa5e1adf91ebec2dcba24af1fda8a9f83612edb20327d21aaaf869bb41fcdfb7873b0f1aab7bf6c36a
+DIST rankstr-0.2.0.tar.gz 14805 BLAKE2B cb448147dec904fd306069e452039f3cb219961748d73de313bc559dded1e77c12771a1330b3e73960dbc59b5d3255f3bc9221d813ac82fd6eabab3d562f244b SHA512 af9ac1ae3272626c39d0e5628bd12b9bb14db70fe8e752961919f2cda1e69da3637c84c32584d7f4c89d58cfebdf71efa1b2fb7903059ce2792c64596a06475a

diff --git a/sys-cluster/rankstr/rankstr-0.0.3.ebuild b/sys-cluster/rankstr/rankstr-0.2.0.ebuild
similarity index 71%
rename from sys-cluster/rankstr/rankstr-0.0.3.ebuild
rename to sys-cluster/rankstr/rankstr-0.2.0.ebuild
index ebe6ba8b9..c7a1ae789 100644
--- a/sys-cluster/rankstr/rankstr-0.0.3.ebuild
+++ b/sys-cluster/rankstr/rankstr-0.2.0.ebuild
@@ -1,13 +1,13 @@
-# 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
 
 DESCRIPTION="Split an MPI communicator into subcomms based on string values"
 HOMEPAGE="https://github.com/ECP-VeloC/rankstr"
-SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
@@ -17,7 +17,7 @@ IUSE="test"
 RDEPEND="virtual/mpi"
 DEPEND="${RDEPEND}"
 
-PATCHES=( "${FILESDIR}/${PN}-no-static.patch" )
+PATCHES=( "${FILESDIR}/${PN}-0.1.0-no-static.patch" )
 RESTRICT="!test? ( test )"
 
 src_configure() {


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

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

commit:     c0a41daf91f1347e0d769c5a4c5497e3106de8c0
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Mar 26 08:09:44 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Mar 26 08:09:44 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c0a41daf

sys-cluster/rankstr: restrict tests, need MPI

Closes: https://bugs.gentoo.org/836144
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/rankstr/rankstr-0.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-cluster/rankstr/rankstr-0.2.0.ebuild b/sys-cluster/rankstr/rankstr-0.2.0.ebuild
index c7a1ae789..373a03796 100644
--- a/sys-cluster/rankstr/rankstr-0.2.0.ebuild
+++ b/sys-cluster/rankstr/rankstr-0.2.0.ebuild
@@ -18,7 +18,7 @@ RDEPEND="virtual/mpi"
 DEPEND="${RDEPEND}"
 
 PATCHES=( "${FILESDIR}/${PN}-0.1.0-no-static.patch" )
-RESTRICT="!test? ( test )"
+RESTRICT="test" # tests require an MPI setup
 
 src_configure() {
 	local mycmakeargs=(


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

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

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-23 14:38 [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/rankstr/ Alessandro Barbieri
  -- strict thread matches above, loose matches on Subject: below --
2022-03-26  9:23 Alessandro Barbieri
2020-04-12 16:16 Andrew Ammerlaan
2020-03-03 15:55 Andrew Ammerlaan
2020-03-03 15:46 Andrew Ammerlaan
2020-03-02 22:04 Alessandro Barbieri
2020-02-23  3:52 Alessandro Barbieri

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