From 3c490942d0d98701d1c0971e60911fa6bd3ecb76 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 16 Sep 2023 11:00:10 +0100 Subject: gentoo auto-resync : 16:09:2023 - 11:00:10 --- sys-cluster/Manifest.gz | Bin 11545 -> 11546 bytes sys-cluster/hpx/Manifest | 6 +-- sys-cluster/hpx/hpx-1.9.0.ebuild | 105 --------------------------------------- sys-cluster/hpx/hpx-1.9.1.ebuild | 105 +++++++++++++++++++++++++++++++++++++++ sys-cluster/hpx/hpx-9999.ebuild | 2 +- 5 files changed, 109 insertions(+), 109 deletions(-) delete mode 100644 sys-cluster/hpx/hpx-1.9.0.ebuild create mode 100644 sys-cluster/hpx/hpx-1.9.1.ebuild (limited to 'sys-cluster') diff --git a/sys-cluster/Manifest.gz b/sys-cluster/Manifest.gz index fdc368e9e624..265cd02f66a1 100644 Binary files a/sys-cluster/Manifest.gz and b/sys-cluster/Manifest.gz differ diff --git a/sys-cluster/hpx/Manifest b/sys-cluster/hpx/Manifest index 522531ffc708..4ee9e9512c2a 100644 --- a/sys-cluster/hpx/Manifest +++ b/sys-cluster/hpx/Manifest @@ -1,5 +1,5 @@ AUX hpx-1.8.0-python.patch 873 BLAKE2B 825d41a28c2e97633d9dfbdb5efd2d2a2d92f7a064c92d709391f672dae7e01b14de8e60b9aed3b6dd72ec07f17ebd78831e35b76c3e57808d58c3d4cf1ffe11 SHA512 ce200541f91642a44a2d5c019e822fe2bc358bf6d9e362b75d2713c651a01aed07a6c46e8ca571d49b805c1bcadd6aa7eb39ad0e65e201d18d02c9884683818b -DIST hpx-1.9.0.tar.gz 5648944 BLAKE2B 642fa16e97954973715bbd87b242b1f7ed13c64dfcffb00f50d7826dd114b3908a350b87508b9b6fde66df8fd772ae1b501f209bc200e3331312c0cc4ab88e80 SHA512 a9b55999e0d9f79433a44f0f7f21340e947fa0ba354ecb007340664a0f4820be1f7723075d18775a395a455648bbb4bff85061e6f7ad4b551b93943e845d4443 -EBUILD hpx-1.9.0.ebuild 2291 BLAKE2B 87edc7a82cea23be19e7257fe8522b45c83ce3f2a2ee525b4a70af92b2e81a1d47c844d94cf6b048e37d4e61cafb25bff51857a49053214581bb60e0c0dfbfb2 SHA512 d363831d6edd967fafaca3c3759085462fc2ffa13191c36bb3477f9981d6d7add4b3c1c816db387306eb7808f53bade184d9a11c1adecc38211f59cfa7a62309 -EBUILD hpx-9999.ebuild 2238 BLAKE2B 8892a7597254221ebd4295882c5a937940ac668af53f465485e7b63721558df5e5ece99c5a1b1dcdc05bc1a6b3df011a34f425b4fcddd1fbc189e3564d5b73ae SHA512 b863ae65c64919190dc4d9452cff74d08b9ff15920d8182cc40df577abbd505c8fa584c128838da6701ba142d6e2f46a07ac1905cc6a8082b683b1648b51ed41 +DIST hpx-1.9.1.tar.gz 5662661 BLAKE2B 81631333b8899a7271e8c6edf587d0a3afadde28f2605ac4f8ff6ddc3fa5afb5ad8d05818ae6d0bfa8fb7241d3aebfe5f838b85b77f54327010308b22b4900b7 SHA512 a7972beada950cf6ef3b61f20496a08b220e4f48c28c11d57c20683906ca5124a9f36ac2552318883a5ab1db6efdbf63d1141b6e0c484c560a8c1311ae2d7090 +EBUILD hpx-1.9.1.ebuild 2291 BLAKE2B 0e618f6fdb308de630c961fe061fe6a8a80a69bed6170893cf0f3b2732d69332dcc699fa2bea02c0b544a6dc5c96c28e640150970b9e648af6b9e1091809a01f SHA512 b1cb8a9bfca4768c565526fdd211362277f5451847d507d2b1ae90a44f97b499c476dd28d5081c5251740b000a712fab28e3193386c6caaf6ad6e1ed5a9fb1fb +EBUILD hpx-9999.ebuild 2238 BLAKE2B 805728e5f209cbe5ca498beacc1f49408ac197566fa2b9b1803372a27e6eec8c50e05f72992a523c20aaaeb19af2864f990fc1c70535998f610305fa61149311 SHA512 5f8e3b57aebc071341f8252c8418c5de0e83335c47bba5fb11a381dd7d4d69137f639492a8426027a0019b9e1380e52b38ee035fee90a4b47ccfc7e9d16d6e0d MISC metadata.xml 1220 BLAKE2B a5837e65f59f895e5680cdcb7e82d6ef775d36300e86bd3b180f223ef4516278a9af17f361e2e55c10b42544c134cc1b7d677d46d20d0e400169fcb4b863d22d SHA512 62ff93d5e85b160d042e55c16a1755937dc85e93ab7c25b96d4ae90da099582e1b7a741d3588e8446fe45c354f0d9b8f7589cebcf999b07a64906d71c79474a3 diff --git a/sys-cluster/hpx/hpx-1.9.0.ebuild b/sys-cluster/hpx/hpx-1.9.0.ebuild deleted file mode 100644 index 2418f19d261f..000000000000 --- a/sys-cluster/hpx/hpx-1.9.0.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) - -if [[ ${PV} == 9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/STEllAR-GROUP/hpx.git" -else - SRC_URI="https://github.com/STEllAR-GROUP/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -fi -inherit check-reqs cmake multiprocessing python-single-r1 - -DESCRIPTION="C++ runtime system for parallel and distributed applications" -HOMEPAGE="https://hpx.stellar-group.org/" - -SLOT="0" -LICENSE="Boost-1.0" -IUSE="examples jemalloc mpi papi +perftools tbb zlib" -# tests fail to compile -RESTRICT="test" - -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} - ?? ( jemalloc perftools tbb ) -" - -BDEPEND=" - virtual/pkgconfig -" -RDEPEND=" - ${PYTHON_DEPS} - >=dev-cpp/asio-1.12.0 - dev-libs/boost:= - sys-apps/hwloc:= - jemalloc? ( dev-libs/jemalloc:= ) - mpi? ( virtual/mpi ) - papi? ( dev-libs/papi ) - perftools? ( dev-util/google-perftools:= ) - tbb? ( dev-cpp/tbb:= ) - zlib? ( sys-libs/zlib ) -" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}/${PN}-1.8.0-python.patch" -) - -hpx_memory_requirement() { - # HPX needs enough main memory for compiling - # rule of thumb: 1G per job - if [[ -z ${MAKEOPTS} ]] ; then - echo "2G" - else - local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)") - echo "${jobs}G" - fi -} - -pkg_pretend() { - local CHECKREQS_MEMORY=$(hpx_memory_requirement) - check-reqs_pkg_setup -} - -pkg_setup() { - local CHECKREQS_MEMORY=$(hpx_memory_requirement) - check-reqs_pkg_setup - python-single-r1_pkg_setup -} - -src_configure() { - local mycmakeargs=( - -DHPX_WITH_EXAMPLES=OFF - -DHPX_WITH_DOCUMENTATION=OFF - -DHPX_WITH_PARCELPORT_MPI=$(usex mpi) - -DHPX_WITH_PAPI=$(usex papi) - -DHPX_WITH_GOOGLE_PERFTOOLS=$(usex perftools) - -DHPX_WITH_COMPRESSION_ZLIB=$(usex zlib) - -DHPX_WITH_TESTS=OFF - ) - if use jemalloc; then - mycmakeargs+=( -DHPX_WITH_MALLOC=jemalloc ) - elif use perftools; then - mycmakeargs+=( -DHPX_WITH_MALLOC=tcmalloc ) - elif use tbb; then - mycmakeargs+=( -DHPX_WITH_MALLOC=tbbmalloc ) - else - mycmakeargs+=( -DHPX_WITH_MALLOC=system ) - fi - - cmake_src_configure -} - -src_compile() { - cmake_src_compile -} - -src_install() { - cmake_src_install - use examples && dodoc -r examples/ - python_fix_shebang "${ED}" -} diff --git a/sys-cluster/hpx/hpx-1.9.1.ebuild b/sys-cluster/hpx/hpx-1.9.1.ebuild new file mode 100644 index 000000000000..8deb0b7b7817 --- /dev/null +++ b/sys-cluster/hpx/hpx-1.9.1.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +if [[ ${PV} == 9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/STEllAR-GROUP/hpx.git" +else + SRC_URI="https://github.com/STEllAR-GROUP/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +fi +inherit check-reqs cmake multiprocessing python-single-r1 + +DESCRIPTION="C++ runtime system for parallel and distributed applications" +HOMEPAGE="https://hpx.stellar-group.org/" + +SLOT="0" +LICENSE="Boost-1.0" +IUSE="examples jemalloc mpi papi +perftools tbb zlib" +# tests fail to compile +RESTRICT="test" + +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + ?? ( jemalloc perftools tbb ) +" + +BDEPEND=" + virtual/pkgconfig +" +RDEPEND=" + ${PYTHON_DEPS} + >=dev-cpp/asio-1.12.0 + dev-libs/boost:= + sys-apps/hwloc:= + jemalloc? ( dev-libs/jemalloc:= ) + mpi? ( virtual/mpi ) + papi? ( dev-libs/papi ) + perftools? ( dev-util/google-perftools:= ) + tbb? ( dev-cpp/tbb:= ) + zlib? ( sys-libs/zlib ) +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-1.8.0-python.patch" +) + +hpx_memory_requirement() { + # HPX needs enough main memory for compiling + # rule of thumb: 1G per job + if [[ -z ${MAKEOPTS} ]] ; then + echo "2G" + else + local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)") + echo "${jobs}G" + fi +} + +pkg_pretend() { + local CHECKREQS_MEMORY=$(hpx_memory_requirement) + check-reqs_pkg_setup +} + +pkg_setup() { + local CHECKREQS_MEMORY=$(hpx_memory_requirement) + check-reqs_pkg_setup + python-single-r1_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DHPX_WITH_EXAMPLES=OFF + -DHPX_WITH_DOCUMENTATION=OFF + -DHPX_WITH_PARCELPORT_MPI=$(usex mpi) + -DHPX_WITH_PAPI=$(usex papi) + -DHPX_WITH_GOOGLE_PERFTOOLS=$(usex perftools) + -DHPX_WITH_COMPRESSION_ZLIB=$(usex zlib) + -DHPX_WITH_TESTS=OFF + ) + if use jemalloc; then + mycmakeargs+=( -DHPX_WITH_MALLOC=jemalloc ) + elif use perftools; then + mycmakeargs+=( -DHPX_WITH_MALLOC=tcmalloc ) + elif use tbb; then + mycmakeargs+=( -DHPX_WITH_MALLOC=tbbmalloc ) + else + mycmakeargs+=( -DHPX_WITH_MALLOC=system ) + fi + + cmake_src_configure +} + +src_compile() { + cmake_src_compile +} + +src_install() { + cmake_src_install + use examples && dodoc -r examples/ + python_fix_shebang "${ED}" +} diff --git a/sys-cluster/hpx/hpx-9999.ebuild b/sys-cluster/hpx/hpx-9999.ebuild index fef4b1933ee7..8bdbcb41d96a 100644 --- a/sys-cluster/hpx/hpx-9999.ebuild +++ b/sys-cluster/hpx/hpx-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{10..12} ) if [[ ${PV} == 9999 ]] ; then inherit git-r3 -- cgit v1.2.3