commit:     2b44e6d66b0f89e110d6b64aec0dde1d842c44b8
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Jul 26 22:52:27 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Jul 26 23:28:42 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2b44e6d6

sys-cluster/SIONfwd: initial import

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

 sys-cluster/SIONfwd/Manifest             |  1 +
 sys-cluster/SIONfwd/SIONfwd-1.0.1.ebuild | 37 ++++++++++++++++++++++++++++++++
 sys-cluster/SIONfwd/metadata.xml         | 16 ++++++++++++++
 3 files changed, 54 insertions(+)

diff --git a/sys-cluster/SIONfwd/Manifest b/sys-cluster/SIONfwd/Manifest
new file mode 100644
index 000000000..ca547bc19
--- /dev/null
+++ b/sys-cluster/SIONfwd/Manifest
@@ -0,0 +1 @@
+DIST SIONfwd-v1.0.1.tar.bz2 9531 BLAKE2B 
fd998f9785e2d5de7c9431121109ca1a02ab3de648672db2fa2f45957788407850c8ffb75f93d283e4bd39c53f6627c8c93c637428812eaa86602c855cbd2fdd
 SHA512 
3e71d0fbab76ae89b1a21be38a95986f1e5e913ea7bb5b17f3c21a905f5bda04634889264bdd101de833db8f069bc473093b805e5f6f453ac40290059fa2c51e

diff --git a/sys-cluster/SIONfwd/SIONfwd-1.0.1.ebuild 
b/sys-cluster/SIONfwd/SIONfwd-1.0.1.ebuild
new file mode 100644
index 000000000..84a979319
--- /dev/null
+++ b/sys-cluster/SIONfwd/SIONfwd-1.0.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+MYP="${PN}-v${PV}"
+
+inherit cmake
+
+DESCRIPTION="A minimalistic I/O forwarding server and client library for 
SIONlib"
+HOMEPAGE="https://gitlab.jsc.fz-juelich.de/cstao-public/SIONlib/SIONfwd";
+SRC_URI="https://gitlab.jsc.fz-juelich.de/cstao-public/SIONlib/SIONfwd/-/archive/v${PV}/${MYP}.tar.bz2";
+S="${WORKDIR}/${MYP}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="virtual/mpi"
+DEPEND="${RDEPEND}"
+
+#RESTRICT="!test? ( test )"
+RESTRICT="test" #test failures related to MPI
+
+src_configure() {
+       mycmakeargs=(
+               -DBUILD_SHARED_LIBS=ON
+               -DCMAKE_BUILD_TYPE=Release
+               -DSIONfwd_BUILD_TESTING=$(usex test)
+       )
+       cmake_src_configure
+}
+
+src_test() {
+       ./test.sh || die
+}

diff --git a/sys-cluster/SIONfwd/metadata.xml b/sys-cluster/SIONfwd/metadata.xml
new file mode 100644
index 000000000..a938734b8
--- /dev/null
+++ b/sys-cluster/SIONfwd/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="person">
+    <email>lssndrbarbi...@gmail.com</email>
+    <name>Alessandro Barbieri</name>
+  </maintainer>
+  <longdescription lang="en">
+SIONfwd uses MPI's port mechanism to establish dynamic connections between 
server and client which are then used to transmit remote procedure calls (RPCs).
+Both client and server have to be launched trough an MPI process startup 
mechanism (e.g. the mpiexec program), but using different MPI_COMM_WORLD, i.e. 
separate invocations of the startup mechanism.
+The server prints the information that the client needs to connect to its 
stdout.
+The client expects to find this information in certain environment variables.
+A shell function that reads the information from the server and exports the 
environment variables required by the client is provided by the server 
(sionfwd-server bash-defs).
+See the file test.sh for details.
+</longdescription>
+</pkgmetadata>

Reply via email to