mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-18 00:42:17 -05:00
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
2 changed files with 6 additions and 1 deletions
|
@ -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"))
|
||||
|
|
|
@ -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)))
|
||||
|
||||
|
|
Loading…
Reference in a new issue