mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
sys-cluster/scr: fix S, pdsh mandatory
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -17,7 +17,6 @@ The Scalable Checkpoint / Restart (SCR) library enables MPI applications to util
|
||||
<flag name="flock">use flock as a file locking type</flag>
|
||||
<flag name="fortran">Enables Fortran support</flag>
|
||||
<flag name="mysql">Enable use of mysql for logging SCR activities</flag>
|
||||
<flag name="pdsh">Enable use of pdsh for scalable restart and scavenge</flag>
|
||||
<flag name="pmix">use pmix as resource manager</flag>
|
||||
<flag name="slurm">use slurm as resource manager</flag>
|
||||
<flag name="syslog">Whether to enable syslog logging</flag>
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user