Leo, Leo Famulari 写道:
It's unusual that a program requires multithreaded compilation, but I wonder if we can add a property to the package definition to require atleast 2 threads when building.
That's a great idea, although I'm not keen on .*using properties for it.
How about this? Kind regards, T G-R
From a9ef0c78c6aa60ab49f6fcf4fc6b43afdb6f0183 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice <m...@tobias.gr> Date: Mon, 26 Apr 2021 18:39:58 +0200 Subject: [PATCH] gnu: webkitgtk: Always use at least 2 make jobs. Fixes <http://issues.guix.gnu.org/47964>. * gnu/packages/webkit.scm (webkitgtk)[arguments]: Use at least -j2. --- gnu/packages/webkit.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/packages/webkit.scm b/gnu/packages/webkit.scm index 083c8ccb08..74ffe92b84 100644 --- a/gnu/packages/webkit.scm +++ b/gnu/packages/webkit.scm @@ -260,6 +260,9 @@ acceleration in mind, leveraging common 3D graphics APIs for best performance.") ;; now, we explicitly disable it to prevent an error ;; at configuration time. "-DUSE_GSTREAMER_GL=OFF") + #:make-flags + ;; Never build with unsupported -j1: https://issues.guix.gnu.org/47964#5 + (list "-j" (number->string (max 2 (parallel-job-count)))) #:phases (modify-phases %standard-phases (add-after 'unpack 'configure-bubblewrap-store-directory -- 2.31.1
signature.asc
Description: PGP signature