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.
This commit is contained in:
parent
18311966d1
commit
384de55233
|
@ -268,7 +268,8 @@ System: GCC, GNU Make, Bash, Coreutils, etc."
|
||||||
(out-of-source? #f)
|
(out-of-source? #f)
|
||||||
(tests? #t)
|
(tests? #t)
|
||||||
(test-target "check")
|
(test-target "check")
|
||||||
(parallel-build? #t) (parallel-tests? #t)
|
(parallel-build? #t)
|
||||||
|
(parallel-tests? #t)
|
||||||
(patch-shebangs? #t)
|
(patch-shebangs? #t)
|
||||||
(strip-binaries? #t)
|
(strip-binaries? #t)
|
||||||
(strip-flags ''("--strip-debug"))
|
(strip-flags ''("--strip-debug"))
|
||||||
|
|
|
@ -47,6 +47,8 @@
|
||||||
(perl (default-perl))
|
(perl (default-perl))
|
||||||
(search-paths '())
|
(search-paths '())
|
||||||
(tests? #t)
|
(tests? #t)
|
||||||
|
(parallel-build? #t)
|
||||||
|
(parallel-tests? #t)
|
||||||
(make-maker-flags ''())
|
(make-maker-flags ''())
|
||||||
(phases '(@ (guix build perl-build-system)
|
(phases '(@ (guix build perl-build-system)
|
||||||
%standard-phases))
|
%standard-phases))
|
||||||
|
@ -79,6 +81,8 @@ provides a `Makefile.PL' file as its build system."
|
||||||
#:system ,system
|
#:system ,system
|
||||||
#:test-target "test"
|
#:test-target "test"
|
||||||
#:tests? ,tests?
|
#:tests? ,tests?
|
||||||
|
#:parallel-build? ,parallel-build?
|
||||||
|
#:parallel-tests? ,parallel-tests?
|
||||||
#:outputs %outputs
|
#:outputs %outputs
|
||||||
#:inputs %build-inputs)))
|
#:inputs %build-inputs)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue