From d3b010c38c449ea17bf7beba48de39acec26ae04 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 20 Nov 2024 20:33:10 +0000 Subject: gnu: Respect --cores build argument in some python packages. Reported by Greg Hogan in #74445. * gnu/packages/astronomy.scm (python-asdf-astropy, python-astropy, python-photutils, python-poppy, python-regions, python-reproject, python-sunpy, python-spectral-cube, python-stdatamodels, python-pysiaf, python-sbpy, python-asdf-coordinates-schemas, python-roman-datamodels, python-webbpsf, python-yt): [arguments]: Adjust "-n" or "--numprocess" to respect "--cores" build argument. * gnu/packages/check.scm (python-crosshair): Likewise. * gnu/packages/databases.scm (python-fastparquet, python-pycurl, awscli, python-s3transfer): Likewise. * gnu/packages/python-xyz.scm (python-glymur, python-zarr, python-dask): Likewise. Change-Id: Ifbc6435e4ad22b0ae822b485bccca41eaa165cc5 --- gnu/packages/python-xyz.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index ceb122e08d8..3872b511a11 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -2296,7 +2296,7 @@ Python library and command line interface.") (arguments (list #:test-flags - #~(list "--numprocesses" "auto" + #~(list "--numprocesses" (number->string (parallel-job-count)) ;; Failing test due to inability of ctypes.util.find_library() ;; to determine library path, which is patched above. "--ignore=tests/test_config.py") @@ -28320,7 +28320,7 @@ codecs for use in data storage and communication applications.") (arguments (list #:test-flags - #~(list "-n" "auto" + #~(list "--numprocesses" (number->string (parallel-job-count)) ;; This tests are flaky. The pass several times on my laptop ;; but occasionally fail. They fail pretty reliably on the ;; build farm. @@ -28845,7 +28845,7 @@ decisions with any given backend.") (list ;; Avoid coverage #:test-flags - #~(list "-n" "auto" + #~(list "--numprocesses" (number->string (parallel-job-count)) "-m" "not gpu and not slow and not network" ;; These all fail with different hashes. Doesn't seem ;; problematic. -- cgit v1.3