diff options
author | Sarah Morgensen <iskarian@mgsn.dev> | 2021-08-06 21:48:33 -0700 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2024-01-21 13:14:19 -0500 |
commit | 16bfc5fb21db8ea47b17ff3248114c34f4c8e3ab (patch) | |
tree | 243306f3334142e733d56324461341e93f0d9c11 /guix/build-system | |
parent | 54c34ef7c179961e93daac8aef81ff61e868e65f (diff) |
build-system/go: Honor #:parallel-build?.
guix/build/go-build-system.scm (build): Honor #:parallel-build?.
guix/build-system/go.scm (go-build): Add PARALLEL-BUILD? parameter.
[builder]: Use it.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Diffstat (limited to 'guix/build-system')
-rw-r--r-- | guix/build-system/go.scm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/guix/build-system/go.scm b/guix/build-system/go.scm index 3883fac786..0acaeca1cc 100644 --- a/guix/build-system/go.scm +++ b/guix/build-system/go.scm @@ -184,6 +184,7 @@ commit hash and its date rather than a proper release tag." (unpack-path "") (build-flags ''()) (tests? #t) + (parallel-build? #t) (allow-go-reference? #f) (system (%current-system)) (goarch #f) @@ -214,6 +215,7 @@ commit hash and its date rather than a proper release tag." #:unpack-path #$unpack-path #:build-flags #$build-flags #:tests? #$tests? + #:parallel-build? #$parallel-build? #:allow-go-reference? #$allow-go-reference? #:inputs #$(input-tuples->gexp inputs))))) |