From c232c90452d6d3a0b6b0dacde963539d33fbcdb4 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Tue, 3 Aug 2021 00:53:49 +0200 Subject: [PATCH] sys-cluster/scr: fix S, pdsh mandatory Signed-off-by: Alessandro Barbieri --- sys-cluster/scr/metadata.xml | 1 - sys-cluster/scr/scr-3.0_pre1.ebuild | 10 ++++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/sys-cluster/scr/metadata.xml b/sys-cluster/scr/metadata.xml index 35b2de595b..d5d5447f40 100644 --- a/sys-cluster/scr/metadata.xml +++ b/sys-cluster/scr/metadata.xml @@ -17,7 +17,6 @@ The Scalable Checkpoint / Restart (SCR) library enables MPI applications to util use flock as a file locking type Enables Fortran support Enable use of mysql for logging SCR activities - Enable use of pdsh for scalable restart and scavenge use pmix as resource manager use slurm as resource manager Whether to enable syslog logging diff --git a/sys-cluster/scr/scr-3.0_pre1.ebuild b/sys-cluster/scr/scr-3.0_pre1.ebuild index 9671df9d7f..69f58522b6 100644 --- a/sys-cluster/scr/scr-3.0_pre1.ebuild +++ b/sys-cluster/scr/scr-3.0_pre1.ebuild @@ -17,16 +17,18 @@ HOMEPAGE=" https://github.com/LLNL/scr " SRC_URI="https://github.com/LLNL/scr/archive/refs/tags/v${MYPV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${MYPV}" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64" -IUSE="doc examples fcntl +flock +fortran mysql pdsh pmix slurm syslog txt-log +yogrt" +IUSE="doc examples fcntl +flock +fortran mysql pmix slurm syslog test txt-log +yogrt" #cppr RDEPEND=" ${PYTHON_DEPS} + app-shells/pdsh sys-cluster/AXL sys-cluster/dtcmp sys-cluster/er @@ -38,7 +40,6 @@ RDEPEND=" virtual/mpi mysql? ( dev-db/mysql-connector-c ) - pdsh? ( app-shells/pdsh ) pmix? ( sys-cluster/pmix ) slurm? ( sys-cluster/slurm ) yogrt? ( sys-cluster/libyogrt[slurm?] ) @@ -51,6 +52,7 @@ REQUIRED_USE=" ?? ( pmix slurm ) ?? ( fcntl flock ) " +RESTRICT="!test? ( test )" pkg_setup() { fortran-2_pkg_setup @@ -75,7 +77,8 @@ src_configure() { -DBUILD_PDSH=OFF -DENABLE_INTEL_CPPR=OFF -DENABLE_ENABLE_CRAY_DW=OFF - -DENABLE_IBM_BBAPI=OF + -DENABLE_IBM_BBAPI=OFF + -DENABLE_PDSH=ON -DSCR_ASYNC_API="${asyncapi}" -DSCR_FILE_LOCK="${lock}" -DSCR_LINK_STATIC=OFF @@ -84,7 +87,6 @@ src_configure() { -DENABLE_EXAMPLES=$(usex examples) -DENABLE_FORTRAN=$(usex fortran) - -DENABLE_PDSH=$(usex pdsh) -DENABLE_TESTS=$(usex test) -DENABLE_YOGRT=$(usex yogrt) -DSCR_LOG_SYSLOG_ENABLE=$(usex syslog 0 1)