[gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/scr/
commit: 990e63eb444259f983cb9da32277ee4b5ff3ebe0 Author: Alessandro Barbieri gmail com> AuthorDate: Sat May 28 12:46:23 2022 + Commit: Alessandro Barbieri gmail com> CommitDate: Sat May 28 12:53:32 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=990e63eb sys-cluster/scr: enable py3.11 Signed-off-by: Alessandro Barbieri gmail.com> sys-cluster/scr/scr-3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/scr/scr-3.0.ebuild b/sys-cluster/scr/scr-3.0.ebuild index ac71cc7d1..fe59b3b3d 100644 --- a/sys-cluster/scr/scr-3.0.ebuild +++ b/sys-cluster/scr/scr-3.0.ebuild @@ -8,7 +8,7 @@ DOCS_BUILDER="sphinx" DOCS_DIR="${S}/doc/rst" FORTRAN_NEEDED="fortran" MYPV="${PV/_pre/rc}" -PYTHON_COMPAT=( python3_{8..10} pypy3 ) +PYTHON_COMPAT=( python3_{8..11} pypy3 ) inherit cmake python-single-r1 fortran-2 docs
[gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/scr/
commit: 92b8acd22deb7d1667ce41c1458abf5a250ab911 Author: Alessandro Barbieri gmail com> AuthorDate: Tue Apr 19 19:19:23 2022 + Commit: Alessandro Barbieri gmail com> CommitDate: Wed Apr 20 21:56:58 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=92b8acd2 sys-cluster/scr: fix docs Closes: https://bugs.gentoo.org/836254 Signed-off-by: Alessandro Barbieri gmail.com> sys-cluster/scr/scr-3.0.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/sys-cluster/scr/scr-3.0.ebuild b/sys-cluster/scr/scr-3.0.ebuild index ca08463fd..ac71cc7d1 100644 --- a/sys-cluster/scr/scr-3.0.ebuild +++ b/sys-cluster/scr/scr-3.0.ebuild @@ -3,6 +3,7 @@ EAPI=8 +DOCS_AUTODOC=0 DOCS_BUILDER="sphinx" DOCS_DIR="${S}/doc/rst" FORTRAN_NEEDED="fortran"
[gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/scr/, sys-cluster/scr/files/
commit: db8d00fb900eb88470bcbeaee7c3b92d5e8c5df9 Author: Alessandro Barbieri gmail com> AuthorDate: Sat Mar 26 09:14:02 2022 + Commit: Alessandro Barbieri gmail com> CommitDate: Sat Mar 26 09:14:02 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=db8d00fb sys-cluster/scr: also link yogrt for serial library Closes: https://bugs.gentoo.org/821457 Signed-off-by: Alessandro Barbieri gmail.com> sys-cluster/scr/Manifest | 1 - ...GRT_LIBRARIES-to-SCR_EXTERNAL_SERIAL_LIBS.patch | 15 +++ sys-cluster/scr/scr-3.0.ebuild | 1 + sys-cluster/scr/scr-3.0_pre2.ebuild| 104 - 4 files changed, 16 insertions(+), 105 deletions(-) diff --git a/sys-cluster/scr/Manifest b/sys-cluster/scr/Manifest index 0eafc8db1..9f5785127 100644 --- a/sys-cluster/scr/Manifest +++ b/sys-cluster/scr/Manifest @@ -1,2 +1 @@ DIST scr-3.0.tar.gz 1235509 BLAKE2B 3a470c1f55d633993db6ca7c7980e6b8b34513370a8233202ac21d625f64c1630eafd6084735e81fe60e05f182b71114f51f8f4fe69df8cf609b1e6d6ded01f5 SHA512 168bffb7c0280094075879fa5c626dfc57f9004c9ebe09a97cf0d2b0e67c3979f31c7b39466586eb20562e6768ce576625a6d4d99f9ad9fe5ae02a82cfbc988f -DIST scr-3.0_pre2.tar.gz 1231943 BLAKE2B a4d8e779edc4b48a5b13a0cff851496068076a8ae901f3c3d3ad2344708a0abc6b69ce71bd7313286a91844a87930e6fa5c097d1c5b15ebbc12247ba293f843f SHA512 7b90b14cfbb6fa3020b6c3c3a7f5568963374d9fe7ad0b6962632f776c3699d6c38fa04800736d423350190542896ca9240033dca1e820f7f698c336518c891a diff --git a/sys-cluster/scr/files/scr-3.0-add-YOGRT_LIBRARIES-to-SCR_EXTERNAL_SERIAL_LIBS.patch b/sys-cluster/scr/files/scr-3.0-add-YOGRT_LIBRARIES-to-SCR_EXTERNAL_SERIAL_LIBS.patch new file mode 100644 index 0..c430cc90a --- /dev/null +++ b/sys-cluster/scr/files/scr-3.0-add-YOGRT_LIBRARIES-to-SCR_EXTERNAL_SERIAL_LIBS.patch @@ -0,0 +1,15 @@ +From e842ed30c49d26cc818600fd794354103f99c5fe Mon Sep 17 00:00:00 2001 +From: Alessandro Barbieri +Date: Sat, 26 Mar 2022 10:10:01 +0100 +Subject: [PATCH] add YOGRT_LIBRARIES to SCR_EXTERNAL_SERIAL_LIBS + +--- a/cmake/SCR_DEPENDENCIES.cmake b/cmake/SCR_DEPENDENCIES.cmake +@@ -46,6 +46,7 @@ IF(ENABLE_YOGRT) + SET(HAVE_LIBYOGRT TRUE) + INCLUDE_DIRECTORIES(${YOGRT_INCLUDE_DIRS}) + LIST(APPEND SCR_EXTERNAL_LIBS ${YOGRT_LIBRARIES}) ++ LIST(APPEND SCR_EXTERNAL_SERIAL_LIBS ${YOGRT_LIBRARIES}) + LIST(APPEND SCR_LINK_LINE " -L${WITH_YOGRT_PREFIX}/lib -lyogrt") +ENDIF(YOGRT_FOUND) + ENDIF(ENABLE_YOGRT) diff --git a/sys-cluster/scr/scr-3.0.ebuild b/sys-cluster/scr/scr-3.0.ebuild index 436162f74..ca08463fd 100644 --- a/sys-cluster/scr/scr-3.0.ebuild +++ b/sys-cluster/scr/scr-3.0.ebuild @@ -47,6 +47,7 @@ DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}/${PN}-3.0_pre2-shared-libscr_base.patch" "${FILESDIR}/${PN}-3.0_pre2-no-static.patch" + "${FILESDIR}/${P}-add-YOGRT_LIBRARIES-to-SCR_EXTERNAL_SERIAL_LIBS.patch" ) REQUIRED_USE=" ${PYTHON_REQUIRED_USE} diff --git a/sys-cluster/scr/scr-3.0_pre2.ebuild b/sys-cluster/scr/scr-3.0_pre2.ebuild deleted file mode 100644 index 4812b3799..0 --- a/sys-cluster/scr/scr-3.0_pre2.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DOCS_BUILDER="sphinx" -DOCS_DIR="${S}/doc/rst" -FORTRAN_NEEDED="fortran" -MYPV="${PV/_pre/rc}" -PYTHON_COMPAT=( python3_{8..10} pypy3 ) - -inherit cmake python-single-r1 fortran-2 docs - -DESCRIPTION="Scalable Checkpoint / Restart Library" -HOMEPAGE=" - https://computing.llnl.gov/projects/scalable-checkpoint-restart-for-mpi - 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 slurm syslog test txt-log +yogrt" - -RDEPEND=" - ${PYTHON_DEPS} - - app-shells/pdsh - >=sys-cluster/AXL-0.5.0 - sys-cluster/dtcmp - sys-cluster/er - sys-cluster/KVTree - sys-cluster/rankstr - sys-cluster/redset - sys-cluster/spath - sys-libs/zlib - virtual/mpi - - mysql? ( dev-db/mysql-connector-c ) - slurm? ( sys-cluster/slurm ) - yogrt? ( sys-cluster/libyogrt[slurm?] ) -" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}/${P}-shared-libscr_base.patch" - "${FILESDIR}/${P}-no-static.patch" -) -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} - - ?? ( fcntl flock ) -" -RESTRICT="!test? ( test )" - -pkg_setup() { - fortran-2_pkg_setup -} - -src_configure() { - local lock="NONE" - use fcntl && lock="FCNTL" - use flock && lock="FLOCK" - - local log="0" - use syslog && log="1" - use txt-log && log="1" - - local resman="NONE" - use slurm && resman="SLURM" - - local mycmakeargs=( -
[gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/scr/
commit: 52a5f4e29747b8777541d3064559f7e67f230ef7 Author: Alessandro Barbieri gmail com> AuthorDate: Wed Mar 23 14:37:39 2022 + Commit: Alessandro Barbieri gmail com> CommitDate: Wed Mar 23 14:38:47 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=52a5f4e2 sys-cluster/scr: add 3.0 Signed-off-by: Alessandro Barbieri gmail.com> sys-cluster/scr/Manifest | 1 + sys-cluster/scr/scr-3.0.ebuild | 114 + 2 files changed, 115 insertions(+) diff --git a/sys-cluster/scr/Manifest b/sys-cluster/scr/Manifest index 0ab6de12b..0eafc8db1 100644 --- a/sys-cluster/scr/Manifest +++ b/sys-cluster/scr/Manifest @@ -1 +1,2 @@ +DIST scr-3.0.tar.gz 1235509 BLAKE2B 3a470c1f55d633993db6ca7c7980e6b8b34513370a8233202ac21d625f64c1630eafd6084735e81fe60e05f182b71114f51f8f4fe69df8cf609b1e6d6ded01f5 SHA512 168bffb7c0280094075879fa5c626dfc57f9004c9ebe09a97cf0d2b0e67c3979f31c7b39466586eb20562e6768ce576625a6d4d99f9ad9fe5ae02a82cfbc988f DIST scr-3.0_pre2.tar.gz 1231943 BLAKE2B a4d8e779edc4b48a5b13a0cff851496068076a8ae901f3c3d3ad2344708a0abc6b69ce71bd7313286a91844a87930e6fa5c097d1c5b15ebbc12247ba293f843f SHA512 7b90b14cfbb6fa3020b6c3c3a7f5568963374d9fe7ad0b6962632f776c3699d6c38fa04800736d423350190542896ca9240033dca1e820f7f698c336518c891a diff --git a/sys-cluster/scr/scr-3.0.ebuild b/sys-cluster/scr/scr-3.0.ebuild new file mode 100644 index 0..436162f74 --- /dev/null +++ b/sys-cluster/scr/scr-3.0.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DOCS_BUILDER="sphinx" +DOCS_DIR="${S}/doc/rst" +FORTRAN_NEEDED="fortran" +MYPV="${PV/_pre/rc}" +PYTHON_COMPAT=( python3_{8..10} pypy3 ) + +inherit cmake python-single-r1 fortran-2 docs + +DESCRIPTION="Scalable Checkpoint / Restart Library" +HOMEPAGE=" + https://computing.llnl.gov/projects/scalable-checkpoint-restart-for-mpi + 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 slurm syslog test threads txt-log +yogrt" + +RDEPEND=" + ${PYTHON_DEPS} + + app-shells/pdsh + >=sys-cluster/AXL-0.5.0 + sys-cluster/dtcmp + sys-cluster/er + sys-cluster/KVTree + sys-cluster/rankstr + sys-cluster/redset + sys-cluster/spath + sys-libs/zlib + virtual/mpi + + mysql? ( dev-db/mysql-connector-c ) + slurm? ( sys-cluster/slurm ) + yogrt? ( sys-cluster/libyogrt[slurm?] ) +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-3.0_pre2-shared-libscr_base.patch" + "${FILESDIR}/${PN}-3.0_pre2-no-static.patch" +) +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + + ?? ( fcntl flock ) +" +RESTRICT="!test? ( test )" + +pkg_setup() { + fortran-2_pkg_setup +} + +src_configure() { + local lock="NONE" + use fcntl && lock="FCNTL" + use flock && lock="FLOCK" + + local log="0" + use syslog && log="1" + use txt-log && log="1" + + local resman="NONE" + use slurm && resman="SLURM" + + local mycmakeargs=( + -DBUILD_PDSH=OFF + -DBUILD_SHARED_LIBS=ON + -DENABLE_CRAY_DW=OFF + -DENABLE_IBM_BBAPI=OFF + -DENABLE_PDSH=ON + -DSCR_LINK_STATIC=OFF + + -DSCR_FILE_LOCK="${lock}" + -DSCR_LOG_ENABLE="${log}" + -DSCR_RESOURCE_MANAGER="${resman}" + + -DENABLE_EXAMPLES=$(usex examples) + -DENABLE_FORTRAN=$(usex fortran) + -DENABLE_PTHREADS=$(usex threads) + -DENABLE_TESTS=$(usex test) + -DENABLE_YOGRT=$(usex yogrt) + -DSCR_LOG_SYSLOG_ENABLE=$(usex syslog 0 1) + -DSCR_LOG_TXT_ENABLE=$(usex txt-log 0 1) + ) + cmake_src_configure +} + +src_compile() { + cmake_src_compile + docs_compile +} + +src_install() { + cmake_src_install +# find "${ED}" -name '*.a' -delete || die +} + +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 +}
[gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/scr/files/, sys-cluster/scr/
commit: f65def21208a1ffd2ab8ddd1781d139e33dd9b4c Author: Alessandro Barbieri gmail com> AuthorDate: Sat Oct 30 19:00:11 2021 + Commit: Alessandro Barbieri gmail com> CommitDate: Sat Oct 30 19:37:44 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f65def21 sys-cluster/scr: add 3.0_pre2, drop 3.0_pre1 Signed-off-by: Alessandro Barbieri gmail.com> sys-cluster/scr/Manifest | 2 +- sys-cluster/scr/files/scr-3.0_pre2-no-static.patch | 76 ++ .../files/scr-3.0_pre2-shared-libscr_base.patch| 70 sys-cluster/scr/metadata.xml | 1 - .../{scr-3.0_pre1.ebuild => scr-3.0_pre2.ebuild} | 26 5 files changed, 159 insertions(+), 16 deletions(-) diff --git a/sys-cluster/scr/Manifest b/sys-cluster/scr/Manifest index a69a9230c..0ab6de12b 100644 --- a/sys-cluster/scr/Manifest +++ b/sys-cluster/scr/Manifest @@ -1 +1 @@ -DIST scr-3.0_pre1.tar.gz 1629041 BLAKE2B c7922e208964b8456c65393c0f9b17530b3eb66ceab38bc682b1fb78b29f77f2d3a6c51c9c8380720c88606a8da3b34f9a088ed80198f3c4f2bfe6906faac6ef SHA512 3bf290a41cb8abbd7e08ab02580f1e4dd73758946fe0ba7bd861a5099f8396e382dc8b80a0a33b0d45ee929efa069bd7a6381e9ca6f11d9049e113ac9aec6793 +DIST scr-3.0_pre2.tar.gz 1231943 BLAKE2B a4d8e779edc4b48a5b13a0cff851496068076a8ae901f3c3d3ad2344708a0abc6b69ce71bd7313286a91844a87930e6fa5c097d1c5b15ebbc12247ba293f843f SHA512 7b90b14cfbb6fa3020b6c3c3a7f5568963374d9fe7ad0b6962632f776c3699d6c38fa04800736d423350190542896ca9240033dca1e820f7f698c336518c891a diff --git a/sys-cluster/scr/files/scr-3.0_pre2-no-static.patch b/sys-cluster/scr/files/scr-3.0_pre2-no-static.patch new file mode 100644 index 0..2d63ebae8 --- /dev/null +++ b/sys-cluster/scr/files/scr-3.0_pre2-no-static.patch @@ -0,0 +1,76 @@ +--- a/src/CMakeLists.txt b/src/CMakeLists.txt +@@ -83,16 +83,6 @@ +INSTALL(TARGETS scr DESTINATION ${CMAKE_INSTALL_LIBDIR}) + ENDIF() + +-ADD_LIBRARY(scr-static STATIC $) +-IF(SCR_LINK_STATIC) +-SET_TARGET_PROPERTIES(scr-static PROPERTIES LINK_SEARCH_START_STATIC 1) +-SET_TARGET_PROPERTIES(scr-static PROPERTIES LINK_SEARCH_END_STATIC 1) +-ENDIF(SCR_LINK_STATIC) +-TARGET_LINK_LIBRARIES(scr-static ${SCR_EXTERNAL_LIBS}) +- +-SET_TARGET_PROPERTIES(scr-static PROPERTIES OUTPUT_NAME scr CLEAN_DIRECT_OUTPUT 1) +-INSTALL(TARGETS scr-static DESTINATION ${CMAKE_INSTALL_LIBDIR}) +- + # Non-MPI library for CLI + ADD_LIBRARY(cliscr_noMPI_o OBJECT ${cliscr_noMPI_srcs}) + +@@ -103,16 +93,6 @@ +INSTALL(TARGETS scr_base DESTINATION ${CMAKE_INSTALL_LIBDIR}) + ENDIF(BUILD_SHARED_LIBS) + +-ADD_LIBRARY(scr_base-static STATIC $) +-IF(SCR_LINK_STATIC) +-SET_TARGET_PROPERTIES(scr_base-static PROPERTIES LINK_SEARCH_START_STATIC 1) +-SET_TARGET_PROPERTIES(scr_base-static PROPERTIES LINK_SEARCH_END_STATIC 1) +-ENDIF(SCR_LINK_STATIC) +-TARGET_LINK_LIBRARIES(scr_base-static ${SCR_EXTERNAL_SERIAL_LIBS}) +- +-SET_TARGET_PROPERTIES(scr_base-static PROPERTIES OUTPUT_NAME scr_base CLEAN_DIRECT_OUTPUT 1) +-INSTALL(TARGETS scr_base-static DESTINATION ${CMAKE_INSTALL_LIBDIR}) +- + # Fortran + IF(ENABLE_FORTRAN) + IF(BUILD_SHARED_LIBS) +@@ -121,17 +101,6 @@ +SET_TARGET_PROPERTIES(scrf PROPERTIES OUTPUT_NAME scrf CLEAN_DIRECT_OUTPUT 1) +INSTALL(TARGETS scrf DESTINATION ${CMAKE_INSTALL_LIBDIR}) + ENDIF() +- +-ADD_LIBRARY(scrf-static STATIC scrf.c $) +-IF(SCR_LINK_STATIC) +-SET_TARGET_PROPERTIES(scrf-static PROPERTIES LINK_SEARCH_START_STATIC 1) +-SET_TARGET_PROPERTIES(scrf-static PROPERTIES LINK_SEARCH_END_STATIC 1) +-TARGET_LINK_LIBRARIES(scrf-static ${SCR_EXTERNAL_LIBS}) +-ENDIF(SCR_LINK_STATIC) +-TARGET_LINK_LIBRARIES(scrf-static ${SCR_EXTERNAL_LIBS}) +- +-SET_TARGET_PROPERTIES(scrf-static PROPERTIES OUTPUT_NAME scrf CLEAN_DIRECT_OUTPUT 1) +-INSTALL(TARGETS scrf-static DESTINATION ${CMAKE_INSTALL_LIBDIR}) + ENDIF(ENABLE_FORTRAN) + + ### +@@ -164,21 +133,13 @@ + # Build and install C binaries + FOREACH(bin IN ITEMS ${cliscr_c_bins}) + ADD_EXECUTABLE(${bin} ${bin}.c) +-IF(SCR_LINK_STATIC) +-TARGET_LINK_LIBRARIES(${bin} scr_base-static) +-ELSE(SCR_LINK_STATIC) + TARGET_LINK_LIBRARIES(${bin} scr_base) +-ENDIF(SCR_LINK_STATIC) + INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${bin} DESTINATION ${CMAKE_INSTALL_BINDIR}) + ENDFOREACH(bin IN ITEMS ${cliscr_c_bins}) + + # Build and install CLI binaries that link full SCR library + FOREACH(bin IN ITEMS ${cliscr_scr_bins}) + ADD_EXECUTABLE(${bin} ${bin}.c) +-IF(SCR_LINK_STATIC) +-TARGET_LINK_LIBRARIES(${bin} scr-static) +-ELSE(SCR_LINK_STATIC) + TARGET_LINK_LIBRARIES(${bin} scr) +-ENDIF(SCR_LINK_STATIC) + INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${bin} DESTINATION ${CMAKE_INSTALL_BINDIR}) + ENDFOREACH(bin IN ITEMS ${cliscr_scr_bins}) diff
[gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/scr/
commit: 52bbea6a3f316d735b036f0e087dc8bfee041fed Author: Alessandro Barbieri gmail com> AuthorDate: Mon Oct 4 23:09:49 2021 + Commit: Alessandro Barbieri gmail com> CommitDate: Mon Oct 4 23:09:49 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=52bbea6a sys-cluster/scr: use https Signed-off-by: Alessandro Barbieri gmail.com> sys-cluster/scr/scr-3.0_pre1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/scr/scr-3.0_pre1.ebuild b/sys-cluster/scr/scr-3.0_pre1.ebuild index b640a48d2..08524304d 100644 --- a/sys-cluster/scr/scr-3.0_pre1.ebuild +++ b/sys-cluster/scr/scr-3.0_pre1.ebuild @@ -13,7 +13,7 @@ inherit cmake python-single-r1 fortran-2 docs DESCRIPTION="Scalable Checkpoint / Restart Library" HOMEPAGE=" - http://computing.llnl.gov/projects/scalable-checkpoint-restart-for-mpi + https://computing.llnl.gov/projects/scalable-checkpoint-restart-for-mpi https://github.com/LLNL/scr " SRC_URI="https://github.com/LLNL/scr/archive/refs/tags/v${MYPV}.tar.gz -> ${P}.tar.gz"
[gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/scr/
commit: 719a8a624dd9082913a602cfe2d4d91d0e269e76 Author: Alessandro Barbieri gmail com> AuthorDate: Fri Aug 20 23:38:08 2021 + Commit: Alessandro Barbieri gmail com> CommitDate: Fri Aug 20 23:38:08 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=719a8a62 sys-cluster/scr: remove reference to aprun and lsf Signed-off-by: Alessandro Barbieri gmail.com> sys-cluster/scr/scr-3.0_pre1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/scr/scr-3.0_pre1.ebuild b/sys-cluster/scr/scr-3.0_pre1.ebuild index 16f4ec9ad..b640a48d2 100644 --- a/sys-cluster/scr/scr-3.0_pre1.ebuild +++ b/sys-cluster/scr/scr-3.0_pre1.ebuild @@ -69,7 +69,7 @@ src_configure() { use syslog && log="1" use txt-log && log="1" - local resman="NONE" #APRUN LSF + local resman="NONE" use pmix && resman="PMIX" use slurm && resman="SLURM"
[gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/scr/
commit: 836e96f19b6e413691b8e0f73112fa61ce370851 Author: Alessandro Barbieri gmail com> AuthorDate: Tue Aug 3 08:38:36 2021 + Commit: Alessandro Barbieri gmail com> CommitDate: Tue Aug 3 08:38:36 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=836e96f1 sys-cluster/scr: remove einstalldocs Signed-off-by: Alessandro Barbieri gmail.com> sys-cluster/scr/scr-3.0_pre1.ebuild | 1 - 1 file changed, 1 deletion(-) diff --git a/sys-cluster/scr/scr-3.0_pre1.ebuild b/sys-cluster/scr/scr-3.0_pre1.ebuild index 69f58522b..16f4ec9ad 100644 --- a/sys-cluster/scr/scr-3.0_pre1.ebuild +++ b/sys-cluster/scr/scr-3.0_pre1.ebuild @@ -102,6 +102,5 @@ src_compile() { src_install() { cmake_src_install - einstalldocs find "${ED}" -name '*.a' -delete || die }
[gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/scr/
commit: c232c90452d6d3a0b6b0dacde963539d33fbcdb4 Author: Alessandro Barbieri gmail com> AuthorDate: Mon Aug 2 22:53:49 2021 + Commit: Alessandro Barbieri gmail com> CommitDate: Mon Aug 2 22:54:46 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c232c904 sys-cluster/scr: fix S, pdsh mandatory Signed-off-by: Alessandro Barbieri gmail.com> 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 35b2de595..d5d5447f4 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 9671df9d7..69f58522b 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)
[gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/scr/
commit: 89de1321c6c29f71dde57c6765ddf260459d9323 Author: Alessandro Barbieri gmail com> AuthorDate: Sun Aug 1 23:57:35 2021 + Commit: Alessandro Barbieri gmail com> CommitDate: Sun Aug 1 23:57:35 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=89de1321 sys-cluster/scr: initial import Signed-off-by: Alessandro Barbieri gmail.com> sys-cluster/scr/Manifest| 1 + sys-cluster/scr/metadata.xml| 27 ++ sys-cluster/scr/scr-3.0_pre1.ebuild | 105 3 files changed, 133 insertions(+) diff --git a/sys-cluster/scr/Manifest b/sys-cluster/scr/Manifest new file mode 100644 index 0..a69a9230c --- /dev/null +++ b/sys-cluster/scr/Manifest @@ -0,0 +1 @@ +DIST scr-3.0_pre1.tar.gz 1629041 BLAKE2B c7922e208964b8456c65393c0f9b17530b3eb66ceab38bc682b1fb78b29f77f2d3a6c51c9c8380720c88606a8da3b34f9a088ed80198f3c4f2bfe6906faac6ef SHA512 3bf290a41cb8abbd7e08ab02580f1e4dd73758946fe0ba7bd861a5099f8396e382dc8b80a0a33b0d45ee929efa069bd7a6381e9ca6f11d9049e113ac9aec6793 diff --git a/sys-cluster/scr/metadata.xml b/sys-cluster/scr/metadata.xml new file mode 100644 index 0..35b2de595 --- /dev/null +++ b/sys-cluster/scr/metadata.xml @@ -0,0 +1,27 @@ + +http://www.gentoo.org/dtd/metadata.dtd";> + + +lssndrbarbi...@gmail.com +Alessandro Barbieri + + +https://github.com/LLNL/scr/issues +LLNL/scr + + +The Scalable Checkpoint / Restart (SCR) library enables MPI applications to utilize distributed storage on Linux clusters to attain high file I/O bandwidth for checkpointing, restarting, and output in large-scale jobs. With SCR, jobs run more efficiently, recompute less work upon a failure, and reduce load on critical shared resources such as the parallel file system. + + +use fcntl as a file locking type +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 +Whether to enable text file logging +Enable use of yogrt for time remaining in a job allocation + + diff --git a/sys-cluster/scr/scr-3.0_pre1.ebuild b/sys-cluster/scr/scr-3.0_pre1.ebuild new file mode 100644 index 0..9671df9d7 --- /dev/null +++ b/sys-cluster/scr/scr-3.0_pre1.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +DOCS_BUILDER="sphinx" +DOCS_DIR="${S}/doc/rst" +FORTRAN_NEEDED="fortran" +MYPV="${PV/_pre/rc}" +PYTHON_COMPAT=( python3_{8..10} pypy3 ) + +inherit cmake python-single-r1 fortran-2 docs + +DESCRIPTION="Scalable Checkpoint / Restart Library" +HOMEPAGE=" + http://computing.llnl.gov/projects/scalable-checkpoint-restart-for-mpi + https://github.com/LLNL/scr +" +SRC_URI="https://github.com/LLNL/scr/archive/refs/tags/v${MYPV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc examples fcntl +flock +fortran mysql pdsh pmix slurm syslog txt-log +yogrt" + +#cppr +RDEPEND=" + ${PYTHON_DEPS} + + sys-cluster/AXL + sys-cluster/dtcmp + sys-cluster/er + sys-cluster/KVTree + sys-cluster/rankstr + sys-cluster/redset + sys-cluster/spath + sys-libs/zlib + 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?] ) +" +DEPEND="${RDEPEND}" + +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + + ?? ( pmix slurm ) + ?? ( fcntl flock ) +" + +pkg_setup() { + fortran-2_pkg_setup +} + +src_configure() { + local asyncapi="NONE" #INTEL_CPPR + + local lock="NONE" + use fcntl && lock="FCNTL" + use flock && lock="FLOCK" + + local log="0" + use syslog && log="1" + use txt-log && log="1" + + local resman="NONE" #APRUN LSF + use pmix && resman="PMIX" + use slurm && resman="SLURM" + + local mycmakeargs=( + -DBUILD_PDSH=OFF + -DENABLE_INTEL_CPPR=OFF + -DENABLE_ENABLE_CRAY_DW=OFF + -DENABLE_IBM_BBAPI=OF + -DSCR_ASYNC_API="${asyncapi}" + -DSCR_FILE_LOCK="${lock}" + -DSCR_LINK_STATIC=OFF + -DSCR_LOG_ENABLE="${log}" + -DSCR_RESOURCE_MANAGER="${resman}" + + -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) + -DSCR_LOG_TXT_ENABLE=$(usex txt-log 0 1) + ) + cmake_src_configure +} + +src_