summaryrefslogtreecommitdiff
path: root/guix/build-system/perl.scm
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2014-08-27 12:17:23 +0200
committerAndreas Enge <andreas@enge.fr>2014-08-27 14:29:18 +0200
commit384de55233d6c37a3dfc3dda586594f1b1a5f451 (patch)
tree3e780276b25eb7cf20bbb450bbc15520b8543556 /guix/build-system/perl.scm
parent18311966d14faa0e195dbf9436a559cdf7c6d765 (diff)
downloadguix-patches-384de55233d6c37a3dfc3dda586594f1b1a5f451.tar
guix-patches-384de55233d6c37a3dfc3dda586594f1b1a5f451.tar.gz
build-system/perl: Add handling of flags for parallel build and testing.
* guix/build-system/perl.scm (perl-build): Add support for variables parallel-build? and parallel-tests?. * guix/build-system/gnu.scm (gnu-build): Add a line break for clarity.
Diffstat (limited to 'guix/build-system/perl.scm')
-rw-r--r--guix/build-system/perl.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/guix/build-system/perl.scm b/guix/build-system/perl.scm
index 56954911cb..e8fe2d56c8 100644
--- a/guix/build-system/perl.scm
+++ b/guix/build-system/perl.scm
@@ -47,6 +47,8 @@
(perl (default-perl))
(search-paths '())
(tests? #t)
+ (parallel-build? #t)
+ (parallel-tests? #t)
(make-maker-flags ''())
(phases '(@ (guix build perl-build-system)
%standard-phases))
@@ -79,6 +81,8 @@ provides a `Makefile.PL' file as its build system."
#:system ,system
#:test-target "test"
#:tests? ,tests?
+ #:parallel-build? ,parallel-build?
+ #:parallel-tests? ,parallel-tests?
#:outputs %outputs
#:inputs %build-inputs)))