mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
build-system: go: Support parallel options for cross builds.
Since these options were added for normal builds, those packages that used these options couldn't be cross built. Supporting these options in go-cross-build restores this functionality. * guix/build-system/go.scm (go-cross-build): Support the #:parallel-build? and #:parallel-tests? keyword arguments. Change-Id: I9768c9562246b61c2ea875a3d5a42809924f3a7d
This commit is contained in:
@@ -271,6 +271,8 @@ commit hash and its date rather than a proper release tag."
|
||||
(tests? #f) ; nothing can be done
|
||||
(test-flags ''())
|
||||
(test-subdirs ''("..."))
|
||||
(parallel-build? #t)
|
||||
(parallel-tests? #t)
|
||||
(allow-go-reference? #f)
|
||||
(system (%current-system))
|
||||
(goarch (first (go-target target)))
|
||||
@@ -325,6 +327,8 @@ commit hash and its date rather than a proper release tag."
|
||||
#:tests? #$tests?
|
||||
#:test-flags #$test-flags
|
||||
#:test-subdirs #$test-subdirs
|
||||
#:parallel-build? #$parallel-build?
|
||||
#:parallel-tests? #$parallel-tests?
|
||||
#:make-dynamic-linker-cache? #f ;cross-compiling
|
||||
#:allow-go-reference? #$allow-go-reference?
|
||||
#:inputs %build-inputs))))
|
||||
|
||||
Reference in New Issue
Block a user