commit: 935dee83f1a4e64c0a72cd00d6e1f772c8441fd1 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Fri Apr 19 12:07:48 2024 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Fri Apr 19 12:44:52 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=935dee83
dev-lang/nim: wait longer for parallel Closes: https://bugs.gentoo.org/930200 Closes: https://bugs.gentoo.org/889604 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> dev-lang/nim/nim-1.6.14-r1.ebuild | 10 ++++++---- dev-lang/nim/nim-2.0.4.ebuild | 6 +++--- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/dev-lang/nim/nim-1.6.14-r1.ebuild b/dev-lang/nim/nim-1.6.14-r1.ebuild index 58e6390b88ed..07e043cf4ffb 100644 --- a/dev-lang/nim/nim-1.6.14-r1.ebuild +++ b/dev-lang/nim/nim-1.6.14-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -104,12 +104,14 @@ src_compile() { edo ./build.sh --parallel "$(makeopts_jobs)" - ebegin "Waiting for unfinished jobs" - while [[ ! -f "bin/nim" ]]; do - sleep 1 + ebegin "Waiting for unfinished parallel jobs" + while [[ ! -f "bin/nim" ]] ; do + sleep 3 done + sleep 10 eend 0 + edo chmod +x ./bin/nim edo ./bin/nim compile koch edo ./koch boot -d:nimUseLinenoise --skipParentCfg:off edo ./koch tools diff --git a/dev-lang/nim/nim-2.0.4.ebuild b/dev-lang/nim/nim-2.0.4.ebuild index 706b0d3df3cf..192bb90437ae 100644 --- a/dev-lang/nim/nim-2.0.4.ebuild +++ b/dev-lang/nim/nim-2.0.4.ebuild @@ -86,12 +86,12 @@ src_compile() { ebegin "Waiting for unfinished parallel jobs" while [[ ! -f "bin/nim" ]] ; do - sleep 1 + sleep 3 done + sleep 10 eend 0 - chmod +x ./bin/nim || die - + edo chmod +x ./bin/nim edo ./bin/nim compile -d:release koch edo ./koch boot -d:nimUseLinenoise -d:release --skipParentCfg:off edo ./koch tools -d:release