commit: f29658991e1fd295f10bf26d7a1275eebc43befa Author: Kurt Kanzenbach <kurt <AT> kmk-computers <DOT> de> AuthorDate: Sun Jul 12 14:18:09 2020 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Fri Jul 24 12:03:30 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2965899
sys-cluster/hpx: Fix memory requirement Instead of guessing the number of make jobs, better use the corresponding eclass to get it. Closes: https://bugs.gentoo.org/732274 Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Kurt Kanzenbach <kurt <AT> kmk-computers.de> Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> sys-cluster/hpx/hpx-1.4.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-cluster/hpx/hpx-1.4.1.ebuild b/sys-cluster/hpx/hpx-1.4.1.ebuild index 964325329bb..7206bca4082 100644 --- a/sys-cluster/hpx/hpx-1.4.1.ebuild +++ b/sys-cluster/hpx/hpx-1.4.1.ebuild @@ -12,7 +12,7 @@ else SRC_URI="https://stellar.cct.lsu.edu/files/${PN}_${PV}.tar.gz" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" fi -inherit cmake fortran-2 python-single-r1 check-reqs +inherit cmake fortran-2 python-single-r1 check-reqs multiprocessing DESCRIPTION="C++ runtime system for parallel and distributed applications" HOMEPAGE="https://stellar.cct.lsu.edu/tag/hpx/" @@ -65,7 +65,7 @@ hpx_memory_requirement() { if [[ -z ${MAKEOPTS} ]] ; then echo "2G" else - local jobs=`echo ${MAKEOPTS} | cut -d j -f 2` + local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)") echo "${jobs}G" fi }
