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:
parent
4a38ebeb43
commit
935dee83f1
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue