sys-cluster/redset: new version

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri 2022-03-23 14:49:46 +01:00
parent 54e5fdbac8
commit 0c44df61f0
No known key found for this signature in database
GPG Key ID: 4E4140121372C837
3 changed files with 50 additions and 35 deletions

View File

@ -1,2 +1,2 @@
DIST redset-0.0.5.tar.gz 465120 BLAKE2B 2050015cdc2b5e8b7e209d99ef5a85dd6ea301c9dec774206e9eab23e5a49b355c89acd05a0997295240b2d3831601e0247295b992af8834bf5667295c407791 SHA512 80c44dd7eb72d8da234f9247743be67bbdf6943bf1f20fe6e66b015d1be47f8b519702bd027b15f43473dae69096a6677a4db58b8bd16fbeffe0d692f7b987a9
DIST redset-0.1.0.tar.gz 466858 BLAKE2B bf60cdc95dc7cb748c9ce131265a2c24d575137b9642ff7ba63f520fbe67c58cd5bbe026f2036d54f239ffadebb5ac4a4a266b7ec8bd9a66eca541b378c8089e SHA512 dc78b668d03a309c44f7c070a08c3fbf9f00fa82bf517c199fac4a67116e6c5b2ab73776299b0b1942a90f9decc6fb238fcf1d0f06a81f6130ae2fdf8eb82541
DIST redset-0.2.0.tar.gz 466707 BLAKE2B b990753af7029316b132dfbf804bc7c2dd49944aea8306290a0cceae3a772014d0e89332b5c5d5d9f866c694fb24de9e06e154f05de65115fe1e6f863e86305f SHA512 d323a1d062e683f1af4269a1a278611de9656cade58ed5bff6d3bc1ec37410dc0785066d7ab4c4d381a51badea850f205f9ee93ab0cafb3dea4f31e17f710e6d

View File

@ -1,34 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit cmake
DESCRIPTION="Low-level distributed erasure coding lib to protect datasets of MPI applications"
HOMEPAGE="https://github.com/ECP-VeloC/redset"
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[mpi]
sys-cluster/rankstr
sys-libs/zlib
virtual/mpi
"
DEPEND="${RDEPEND}"
BDEPEND="
>=dev-util/cmake-2.8
"
RESTRICT="test" # https://github.com/ECP-VeloC/redset/issues/30
PATCHES=( "${FILESDIR}/no-static-${PV}.patch" )
src_install() {
cmake_src_install
dodoc -r doc/rst/.
}

View File

@ -0,0 +1,49 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Low-level distributed erasure coding lib to protect datasets of MPI applications"
HOMEPAGE="https://github.com/ECP-VeloC/redset"
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="slurm test"
RDEPEND="
sys-cluster/KVTree[mpi]
sys-cluster/rankstr
sys-libs/zlib
virtual/mpi
"
DEPEND="
${RDEPEND}
test? (
slurm? ( sys-cluster/slurm )
)
"
RESTRICT="!test? ( test )"
PATCHES=( "${FILESDIR}/${PN}-0.1.0-no-static.patch" )
src_configure() {
local resman="NONE"
use slurm && resman="SLURM"
export "VELOC_RESOURCE_MANAGER=${resman}"
mycmakeargs=(
-DBUILD_SHARED_LIBS=ON
-DREDSET_LINK_STATIC=OFF
-DENABLE_TESTS=$(usex test)
)
cmake_src_configure
}
src_install() {
cmake_src_install
dodoc -r doc/rst/.
}