* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/rankstr/, sys-cluster/rankstr/files/
@ 2021-10-30 19:37 Alessandro Barbieri
0 siblings, 0 replies; only message in thread
From: Alessandro Barbieri @ 2021-10-30 19:37 UTC (permalink / raw
To: gentoo-commits
commit: 6fb7c19fd2ed9c1abfcbfa5aaeb58728e83b568b
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Fri Oct 29 15:05:45 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Oct 30 19:37:44 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6fb7c19f
sys-cluster/rankstr: add 0.1.0
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-cluster/rankstr/Manifest | 1 +
.../rankstr/files/rankstr-0.1.0-no-static.patch | 16 ++++++++++++
sys-cluster/rankstr/rankstr-0.1.0.ebuild | 30 ++++++++++++++++++++++
3 files changed, 47 insertions(+)
diff --git a/sys-cluster/rankstr/Manifest b/sys-cluster/rankstr/Manifest
index 928aea85d..74b492d27 100644
--- a/sys-cluster/rankstr/Manifest
+++ b/sys-cluster/rankstr/Manifest
@@ -1 +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
diff --git a/sys-cluster/rankstr/files/rankstr-0.1.0-no-static.patch b/sys-cluster/rankstr/files/rankstr-0.1.0-no-static.patch
new file mode 100644
index 000000000..642334890
--- /dev/null
+++ b/sys-cluster/rankstr/files/rankstr-0.1.0-no-static.patch
@@ -0,0 +1,16 @@
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -24,13 +24,3 @@
+ SET_TARGET_PROPERTIES(rankstr PROPERTIES OUTPUT_NAME rankstr CLEAN_DIRECT_OUTPUT 1)
+ INSTALL(TARGETS rankstr DESTINATION ${CMAKE_INSTALL_LIBDIR})
+ ENDIF()
+-
+-ADD_LIBRARY(rankstr-static STATIC $<TARGET_OBJECTS:rankstr_o>)
+-IF(RANKSTR_LINK_STATIC)
+- SET_TARGET_PROPERTIES(rankstr-static PROPERTIES LINK_SEARCH_START_STATIC 1)
+- SET_TARGET_PROPERTIES(rankstr-static PROPERTIES LINK_SEARCH_END_STATIC 1)
+-ENDIF(RANKSTR_LINK_STATIC)
+-TARGET_LINK_LIBRARIES(rankstr-static ${RANKSTR_EXTERNAL_LIBS})
+-
+-SET_TARGET_PROPERTIES(rankstr-static PROPERTIES OUTPUT_NAME rankstr CLEAN_DIRECT_OUTPUT 1)
+-INSTALL(TARGETS rankstr-static DESTINATION ${CMAKE_INSTALL_LIBDIR})
diff --git a/sys-cluster/rankstr/rankstr-0.1.0.ebuild b/sys-cluster/rankstr/rankstr-0.1.0.ebuild
new file mode 100644
index 000000000..2daa65413
--- /dev/null
+++ b/sys-cluster/rankstr/rankstr-0.1.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+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"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="virtual/mpi"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-no-static.patch" )
+RESTRICT="!test? ( test )"
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_SHARED_LIBS=ON
+ -DENABLE_TESTS=$(usex test)
+ -DRANKSTR_LINK_STATIC=OFF
+ )
+ cmake_src_configure
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-30 19:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-30 19:37 [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/rankstr/, sys-cluster/rankstr/files/ Alessandro Barbieri
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox