1
Fork 0

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>
This commit is contained in:
Maciej Barć 2024-04-19 14:07:48 +02:00
parent 4a38ebeb43
commit 935dee83f1
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
2 changed files with 9 additions and 7 deletions

View File

@ -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

View File

@ -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