~ruther/guix-local

384de55233d6c37a3dfc3dda586594f1b1a5f451 — Andreas Enge 11 years ago 1831196
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.
2 files changed, 6 insertions(+), 1 deletions(-)

M guix/build-system/gnu.scm
M guix/build-system/perl.scm
M guix/build-system/gnu.scm => guix/build-system/gnu.scm +2 -1
@@ 268,7 268,8 @@ System: GCC, GNU Make, Bash, Coreutils, etc."
                    (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"))

M guix/build-system/perl.scm => guix/build-system/perl.scm +4 -0
@@ 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)))