From 384de55233d6c37a3dfc3dda586594f1b1a5f451 Mon Sep 17 00:00:00 2001 From: Andreas Enge Date: Wed, 27 Aug 2014 12:17:23 +0200 Subject: 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. --- guix/build-system/gnu.scm | 3 ++- guix/build-system/perl.scm | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'guix') diff --git a/guix/build-system/gnu.scm b/guix/build-system/gnu.scm index b2b184db34..2c41ce0eb4 100644 --- a/guix/build-system/gnu.scm +++ b/guix/build-system/gnu.scm @@ -268,7 +268,8 @@ (define* (gnu-build store name source inputs (out-of-source? #f) (tests? #t) (test-target "check") - (parallel-build? #t) (parallel-tests? #t) + (parallel-build? #t) + (parallel-tests? #t) (patch-shebangs? #t) (strip-binaries? #t) (strip-flags ''("--strip-debug")) 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 @@ (define* (perl-build store name source inputs (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 @@ (define builder #:system ,system #:test-target "test" #:tests? ,tests? + #:parallel-build? ,parallel-build? + #:parallel-tests? ,parallel-tests? #:outputs %outputs #:inputs %build-inputs))) -- cgit v1.2.3