summaryrefslogtreecommitdiff
path: root/guix/build-system
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2021-10-01 14:53:56 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2021-10-01 21:27:35 +0200
commit834415c33a2fd909e410a5cf352c597f05bb6999 (patch)
tree841bd7eafeb3f950378c203f8dbbae2d65719a1c /guix/build-system
parent7dbd06a13b2e1109fc916e34f07ec1c474bfba96 (diff)
downloadguix-patches-834415c33a2fd909e410a5cf352c597f05bb6999.tar
guix-patches-834415c33a2fd909e410a5cf352c597f05bb6999.tar.gz
build-system: linux-module: Build and install in parallel.
* guix/build-system/linux-module.scm (linux-module-build) (guix/build-system/linux-module.scm): Accept the PARALLEL-BUILD? keyword and pass it on to the builder. * guix/build/linux-module-build-system.scm (build, install): Capture and honour it.
Diffstat (limited to 'guix/build-system')
-rw-r--r--guix/build-system/linux-module.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/guix/build-system/linux-module.scm b/guix/build-system/linux-module.scm
index 33bc8c95df..548ed7a9aa 100644
--- a/guix/build-system/linux-module.scm
+++ b/guix/build-system/linux-module.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2019 Danny Milosavljevic <dannym@scratchpost.org>
;;; Copyright © 2020 Mathieu Othacehe <m.othacehe@gmail.com>
+;;; Copyright © 2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -157,6 +158,7 @@
%standard-phases))
(outputs '("out"))
(make-flags ''())
+ (parallel-build? #t)
(system (%current-system))
(source-directory ".")
(guile #f)
@@ -187,6 +189,7 @@
#:tests? ,tests?
#:outputs %outputs
#:make-flags ,make-flags
+ #:parallel-build? ,parallel-build?
#:inputs %build-inputs)))
(define guile-for-build
@@ -213,6 +216,7 @@
(guile #f)
(outputs '("out"))
(make-flags ''())
+ (parallel-build? #t)
(search-paths '())
(native-search-paths '())
(tests? #f)