summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-04-19 14:07:48 +0200
committerMaciej Barć <xgqt@gentoo.org>2024-04-19 14:44:52 +0200
commit935dee83f1a4e64c0a72cd00d6e1f772c8441fd1 (patch)
treeca89bd8d97426ee7570e8659c7e7b6a23905a671 /dev-lang/nim
parentsci-mathematics/cadabra: drop old 2.4.5.5 (diff)
downloadgentoo-935dee83f1a4e64c0a72cd00d6e1f772c8441fd1.tar.gz
gentoo-935dee83f1a4e64c0a72cd00d6e1f772c8441fd1.tar.bz2
gentoo-935dee83f1a4e64c0a72cd00d6e1f772c8441fd1.zip
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@gentoo.org>
Diffstat (limited to 'dev-lang/nim')
-rw-r--r--dev-lang/nim/nim-1.6.14-r1.ebuild10
-rw-r--r--dev-lang/nim/nim-2.0.4.ebuild6
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