mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: subversion: Support running the tests in parallel.
This drops the time to build the package on my machine from ~14 minutes to ~5 minutes. * gnu/packages/version-control.scm (subversion)[arguments]: Add set-PARALLEL phase to set the PARALLEL environment variable.
This commit is contained in:
parent
41884bfa5b
commit
59796dfd63
1 changed files with 4 additions and 0 deletions
|
@ -1448,6 +1448,10 @@ (define-public subversion
|
|||
(substitute* "subversion/tests/libsvn_repos/repos-test.c"
|
||||
(("#!/bin/sh") (string-append "#!" (which "sh"))))
|
||||
#t))
|
||||
(add-before 'check 'set-PARALLEL
|
||||
(lambda _
|
||||
(setenv "PARALLEL" (number->string (parallel-job-count)))
|
||||
#t))
|
||||
(add-after 'install 'install-perl-bindings
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
;; Follow the instructions from 'subversion/bindings/swig/INSTALL'.
|
||||
|
|
Loading…
Reference in a new issue