dev-libs/shuffile: rename sys-cluster/shuffile

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-06-14 09:20:01 +02:00
parent 764108ec5a
commit 7327685cc4
6 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
DIST shuffile-0.1.0.tar.gz 28999 BLAKE2B bd8b972d75740ece74de91aa4a2bafad3ce1fc6ed3bd93d5ef4ad7df2264cb7abc26e37b2985bc79219163e1817f3925d76d828ff5a83677b4d601b161fc1d83 SHA512 750eb38a303dea5bb97ad72fcb040fb49c3c059ae974218fbeeaa23a3aa0296d971af45636895a099c719c1eed120e747c1fc06be8d77c0b3d948f89b8586c22
DIST shuffile-0.2.0.tar.gz 29001 BLAKE2B 18b832174eee212ad979bb9913c3767d054edc5c95c901241fd95c0571bf143aa42cd47be5aef4ee94bd1d8df9528020e973bad14b5e13b326ea74590192db0d SHA512 9de8bbd3ef832395853d00dda972464ea9aeab2312a68a1194cfd29cc816c6319b06750c5121197aea696418f5fe6d7ed4f22adb5cc882c87c522cfbb1704bd7

View File

@@ -0,0 +1,16 @@
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -24,13 +24,3 @@
TARGET_LINK_LIBRARIES(shuffile ${SHUFFILE_EXTERNAL_LIBS})
SET_TARGET_PROPERTIES(shuffile PROPERTIES OUTPUT_NAME shuffile CLEAN_DIRECT_OUTPUT 1)
INSTALL(TARGETS shuffile DESTINATION ${CMAKE_INSTALL_LIBDIR})
-
-ADD_LIBRARY(shuffile-static STATIC $<TARGET_OBJECTS:shuffile_o>)
-IF(KVTREE_LINK_STATIC)
- SET_TARGET_PROPERTIES(shuffile-static PROPERTIES LINK_SEARCH_START_STATIC 1)
- SET_TARGET_PROPERTIES(shuffile-static PROPERTIES LINK_SEARCH_END_STATIC 1)
-ENDIF(KVTREE_LINK_STATIC)
-TARGET_LINK_LIBRARIES(shuffile-static ${SHUFFILE_EXTERNAL_LIBS})
-
-SET_TARGET_PROPERTIES(shuffile-static PROPERTIES OUTPUT_NAME shuffile CLEAN_DIRECT_OUTPUT 1)
-INSTALL(TARGETS shuffile-static DESTINATION ${CMAKE_INSTALL_LIBDIR})

View File

@@ -0,0 +1,16 @@
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -26,13 +26,3 @@
SET_TARGET_PROPERTIES(shuffile PROPERTIES OUTPUT_NAME shuffile CLEAN_DIRECT_OUTPUT 1)
INSTALL(TARGETS shuffile DESTINATION ${CMAKE_INSTALL_LIBDIR})
ENDIF()
-
-ADD_LIBRARY(shuffile-static STATIC $<TARGET_OBJECTS:shuffile_o>)
-IF(KVTREE_LINK_STATIC)
- SET_TARGET_PROPERTIES(shuffile-static PROPERTIES LINK_SEARCH_START_STATIC 1)
- SET_TARGET_PROPERTIES(shuffile-static PROPERTIES LINK_SEARCH_END_STATIC 1)
-ENDIF(KVTREE_LINK_STATIC)
-TARGET_LINK_LIBRARIES(shuffile-static ${SHUFFILE_EXTERNAL_LIBS})
-
-SET_TARGET_PROPERTIES(shuffile-static PROPERTIES OUTPUT_NAME shuffile CLEAN_DIRECT_OUTPUT 1)
-INSTALL(TARGETS shuffile-static DESTINATION ${CMAKE_INSTALL_LIBDIR})

View File

@@ -0,0 +1,13 @@
<?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/shuffile</remote-id>
</upstream>
<longdescription lang="en">This module lets one associate a set of files with a process name. Currently, the name is implied to be the rank within MPI_COMM_WORLD. In the event that a set of distributed processes are moved, for example when restarting an MPI job, functions will migrate files from their original locations to the new locations where the processes are running.
</longdescription>
</pkgmetadata>

View File

@@ -0,0 +1,46 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="SHUFFILE Shuffle files between processes"
HOMEPAGE="https://github.com/ECP-VeloC/shuffile"
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="
>=sys-cluster/KVTree-1.0.2[mpi]
sys-libs/zlib
virtual/mpi
"
DEPEND="${RDEPEND}"
BDEPEND="
>=dev-util/cmake-2.8
"
PATCHES=( "${FILESDIR}/${P}-no-static.patch" )
RESTRICT="!test? ( test )"
src_configure() {
mycmakeargs=(
-DBUILD_SHARED_LIBS=ON
-DENABLE_TESTS=$(usex test)
-DSHUFFILE_LINK_STATIC=OFF
)
cmake_src_configure
}
src_test() {
if mountpoint -q /dev/shm ; then
cmake_src_test
else
eerror "make sure to mount /dev/shm or tests will fail"
die
fi
}

View File

@@ -0,0 +1,43 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="SHUFFILE Shuffle files between processes"
HOMEPAGE="https://github.com/ECP-VeloC/shuffile"
SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RDEPEND="
>=sys-cluster/KVTree-1.0.2[mpi]
sys-libs/zlib
virtual/mpi
"
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}/${PN}-0.1.0-no-static.patch" )
RESTRICT="!test? ( test )"
src_configure() {
mycmakeargs=(
-DBUILD_SHARED_LIBS=ON
-DENABLE_TESTS=$(usex test)
-DSHUFFILE_LINK_STATIC=OFF
)
cmake_src_configure
}
src_test() {
if mountpoint -q /dev/shm ; then
cmake_src_test
else
eerror "make sure to mount /dev/shm or tests will fail"
die
fi
}