Skip to content

Commit

Permalink
dev-lang/nim: pass '--parallelBuild:' everywhere, bug #649502
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Sergei Trofimovich committed Feb 26, 2020
1 parent 9dca59f commit e7466b7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions dev-lang/nim/nim-1.0.6.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit e7466b7

Please sign in to comment.