dev-lang/nim: pass '--parallelBuild:' everywhere, bug #649502
authorSergei Trofimovich <slyfox@gentoo.org>
Wed, 26 Feb 2020 17:39:32 +0000 (17:39 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Wed, 26 Feb 2020 17:39:43 +0000 (17:39 +0000)
Reported-by: Toralf Förster
Closes: https://bugs.gentoo.org/649502
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
dev-lang/nim/nim-1.0.6.ebuild

index 05a236951686ae1ff0bf016f8abfd805cb550bd3..3f1e8966eb08e4b4e587116b112ded3f3581ebce 100644 (file)
@@ -48,15 +48,16 @@ src_compile() {
        _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
        # build nimble and friends
        # --stable to avoid pulling HEAD nimble
-       PATH="./bin:$PATH" _run ./koch --stable tools
+       PATH="./bin:$PATH" _run ./koch --stable tools --parallelBuild:$(makeopts_jobs)
 
        if use doc; then
-               PATH="./bin:$PATH" _run ./koch doc
+               # TODO: '--parallelBuild:' does ont seem to work
+               PATH="./bin:$PATH" _run ./koch doc --parallelBuild:$(makeopts_jobs)
        fi
 }
 
 src_test() {
-       PATH="./bin:$PATH" _run ./koch test
+       PATH="./bin:$PATH" _run ./koch test --parallelBuild:$(makeopts_jobs)
 }
 
 src_install() {