commit: 2f736482adecae6176bafb64906996c06bade0a3 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> AuthorDate: Sun Sep 15 19:47:46 2019 +0000 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> CommitDate: Sun Sep 15 20:28:00 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f736482
dev-libs/openssl: limit parallel jobs Closes: https://bugs.gentoo.org/694512 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> dev-libs/openssl/openssl-1.0.2t.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dev-libs/openssl/openssl-1.0.2t.ebuild b/dev-libs/openssl/openssl-1.0.2t.ebuild index a778b483edc..82daa9fab61 100644 --- a/dev-libs/openssl/openssl-1.0.2t.ebuild +++ b/dev-libs/openssl/openssl-1.0.2t.ebuild @@ -3,7 +3,7 @@ EAPI="7" -inherit flag-o-matic toolchain-funcs multilib multilib-minimal +inherit flag-o-matic toolchain-funcs multiprocessing multilib multilib-minimal # openssl-1.0.2-patches-1.6 contain additional CVE patches # which got fixed with this release. @@ -131,6 +131,13 @@ src_prepare() { sed -i '/stty -icanon min 0 time 50; read waste/d' config || die ./config --test-sanity || die "I AM NOT SANE" + local make_jobs=$(makeopts_jobs) + if [[ ${make_jobs} -gt 6 ]] ; then + # bug 694512 + einfo "Limiting parallel jobs to 6 ..." + export MAKEOPTS=-j6 + fi + multilib_copy_sources }