all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: 74436@debbugs.gnu.org
Cc: Nicolas Graves <ngraves@ngraves.fr>
Subject: [bug#74436] [PATCH 1/2] gnu: python-botocore: Respect --cores build argument.
Date: Tue, 19 Nov 2024 15:21:52 +0100	[thread overview]
Message-ID: <20241119142158.15651-1-ngraves@ngraves.fr> (raw)
In-Reply-To: <20241119141244.13904-1-ngraves@ngraves.fr>

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

* gnu/packages/python-xyz.scm (python-botocore)[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 576e0e626f..6394999b78 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19340,7 +19340,7 @@ (define-public python-botocore
     (arguments
      (list
       #:test-flags
-      #~(list "--numprocesses" "auto"
+      #~(list "--numprocesses" (number->string (parallel-job-count))
               ;; It strugles to find 'botocore'.
               "--ignore" "tests/functional/leak/test_resource_leaks.py"
               ;; Tests require networking.
-- 
2.46.0





  reply	other threads:[~2024-11-19 14:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-19 14:12 [bug#74436] [PATCH 0/2] Respect --cores build argument Nicolas Graves via Guix-patches via
2024-11-19 14:21 ` Nicolas Graves via Guix-patches via [this message]
2024-11-19 14:21   ` [bug#74436] [PATCH 2/2] gnu: python-boto3: " Nicolas Graves via Guix-patches via
2024-11-19 15:25 ` [bug#74436] Nicolas Graves <ngraves@ngraves.fr> Sharlatan Hellseher
2024-11-19 19:43 ` bug#74436: [PATCH 0/2] Respect --cores build argument Sharlatan Hellseher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241119142158.15651-1-ngraves@ngraves.fr \
    --to=guix-patches@gnu.org \
    --cc=74436@debbugs.gnu.org \
    --cc=ngraves@ngraves.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.