This is an automated email from the git hooks/post-receive script. cbaines pushed a commit to branch master in repository guix.
The following commit(s) were added to refs/heads/master by this push: new 59796df gnu: subversion: Support running the tests in parallel. 59796df is described below commit 59796dfd63f25f91238e4c1cb68a0b41cad5b848 Author: Christopher Baines <m...@cbaines.net> AuthorDate: Thu Feb 6 08:36:12 2020 +0000 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. --- gnu/packages/version-control.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 2ca64e4..6935869 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -1448,6 +1448,10 @@ following features: (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'.