mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
sys-cluster/spath: add 0.2.0
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST spath-0.1.0.tar.gz 25189 BLAKE2B b122e3606d226e610650c97f4e2809183af2b1fce6991f3d55c5652fac4b9fb2ddebc83efca5b10fa24a096e344639076c9be445548e0cc3e89cac6d3e69cd51 SHA512 77e8207e2d1fa62b12133237e9adccc15dcb72f96bf5abbf5883d85d9cde5fac36b39208e1ae30e4386acffea3b7f69aac8abda9ff1ad28cbd6ffac8ad1aac8e
|
||||
DIST spath-0.2.0.tar.gz 25166 BLAKE2B 2d3ddc15456a2c3112078bd6e41954a115842e52d875966d85469579250c4a813b2a6eb06acbe7d0f86bd97f452e979ac325f81e85aaec69349b3f48b72326e4 SHA512 bdfb5188914fbb4568686e9b72cf5350afa8d57010cc363d485a2eed3b2463e97f9609a2697e16e2e09958652d27fe0f146bf0adfaf4bf3b483cd254781ae26a
|
||||
|
||||
41
sys-cluster/spath/spath-0.2.0.ebuild
Normal file
41
sys-cluster/spath/spath-0.2.0.ebuild
Normal file
@@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Path manipulation functions"
|
||||
HOMEPAGE="https://github.com/ECP-VeloC/spath"
|
||||
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="+mpi slurm test"
|
||||
|
||||
RDEPEND="mpi? ( virtual/mpi )"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? ( slurm? ( sys-cluster/slurm ) )
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-0.1.0-no-static.patch" )
|
||||
RESTRICT="!test? ( test )"
|
||||
REQUIRED_USE="test? ( mpi )"
|
||||
|
||||
src_configure() {
|
||||
local vrm="NONE"
|
||||
use slurm && vrm="SLURM"
|
||||
export "VELOC_RESOURCE_MANAGER=${vrm}"
|
||||
|
||||
local mycmakeargs=(
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
-DSPATH_LINK_STATIC=OFF
|
||||
-DTVDISPLAY=OFF
|
||||
|
||||
-DENABLE_TESTS=$(usex test)
|
||||
-DMPI=$(usex mpi)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user