GNU bug report logs - #39451
[PATCH] gnu: subversion: Support running the tests in parallel.

Previous Next

Package: guix-patches;

Reported by: Christopher Baines <mail <at> cbaines.net>

Date: Thu, 6 Feb 2020 08:43:01 UTC

Severity: normal

Tags: fixed, patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 39451 in the body.
You can then email your comments to 39451 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#39451; Package guix-patches. (Thu, 06 Feb 2020 08:43:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Baines <mail <at> cbaines.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 06 Feb 2020 08:43:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: subversion: Support running the tests in parallel.
Date: Thu,  6 Feb 2020 08:42:07 +0000
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 20db6b4b08..140eccb7ec 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -1434,6 +1434,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'.
-- 
2.25.0





Information forwarded to guix-patches <at> gnu.org:
bug#39451; Package guix-patches. (Fri, 07 Feb 2020 22:58:02 GMT) Full text and rfc822 format available.

Message #8 received at 39451 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Christopher Baines <mail <at> cbaines.net>
Cc: 39451 <at> debbugs.gnu.org
Subject: Re: [bug#39451] [PATCH] gnu: subversion: Support running the tests
 in parallel.
Date: Fri, 7 Feb 2020 17:57:20 -0500
On Thu, Feb 06, 2020 at 08:42:07AM +0000, Christopher Baines wrote:
> This drops the time to build the package on my machine from ~14 minutes to ~5
> minutes.

Awesome. If it seems reliable for you (doesn't crash due to race
conditions) then please push.




Added tag(s) fixed. Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 13 Feb 2020 22:28:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 39451 <at> debbugs.gnu.org and Christopher Baines <mail <at> cbaines.net> Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 13 Feb 2020 22:28:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 13 Mar 2020 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 157 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.