guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#74436] [PATCH 2/2] gnu: python-boto3: Respect --cores build argumen


From: Nicolas Graves
Subject: [bug#74436] [PATCH 2/2] gnu: python-boto3: Respect --cores build argument.
Date: Tue, 19 Nov 2024 15:21:53 +0100

This commit ensures that a user-provided --cores argument to guix
build is respected.

* gnu/packages/python-xyz.scm (python-boto3)[arguments]
<#:test-flags>: Replace "auto" numprocesses by parallel-job-count.
---
 gnu/packages/python-xyz.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6394999b78..1439c278bc 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19379,7 +19379,7 @@ (define-public python-boto3
     (arguments
      (list
       #:test-flags
-      #~(list "--numprocesses" "auto"
+      #~(list "--numprocesses" (number->string (parallel-job-count))
               ;; Integration tests are trying to connect to AWS.
               "--ignore" "tests/integration")))
     (native-inputs
-- 
2.46.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]