1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-10 23:20:37 +02:00
Commit Graph

173 Commits

Author SHA1 Message Date
Cayetano Santos
3eeff7cc21 gnu: hwloc-2: Use git-fetch.
* gnu/packages/mpi.scm (hwloc-2)[source]: Switch to git-fetch.
[properties]: Delete.
[arguments]<#:phases>: Remove ’delete-configure and ’move-man3-pages;
add ’move-man-pages.

Merges guix/guix!7434

Change-Id: Id0ae1c858c4dc0d52de45f6a1714cb63019bb7b3
2026-03-30 12:12:42 +02:00
Cayetano Santos
ea44e60c30 gnu: hwloc-2: Disinherit from hwloc-1.
* gnu/packages/mpi.scm (hwloc-2)[inherit]: Remove field.
[name, build-system, home-page, synopsis, description, license]: Copy
from hwloc.
[inputs, native-inputs, arguments]: Copy from hwloc and incorporate
changes.

Change-Id: I9330782463bc740534bc5f974b18fe987a61f2f4
2026-03-30 12:10:46 +02:00
Romain GARBAGE
9d116c4dcf gnu: hwloc-2: Propagate exposed dependencies.
* gnu/packages/mpi.scm (hwloc-2): Propagate exposed dependencies.

Merges guix/guix!7284

Change-Id: I1b57896f2c039a8e9ee53eb9990b802ecffac61b
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
2026-03-23 11:13:14 +01:00
Ludovic Courtès
1ae20f03f4 gnu: Reference the inherited inputs values.
This commit was made by running this command:

  sed -e's/modify-inputs (package-\([a-z-]*\)inputs [a-zA-Z0-9-]\+)/modify-inputs \1inputs/g' -i gnu/packages/*.scm

… and then reverting individual hunks where the change would trigger unbound
variable warnings or other issues (such as ‘native-inputs’ is bound in the
body of the ‘inputs’ field, but it refers to the ‘native-inputs’ thunk defined
just above).

Change-Id: I6d94819f2809313fa1fbefc61897502ee7d66fab
2026-03-20 13:27:16 +01:00
Ludovic Courtès
2a50c9598b gnu: Reference the inherited ‘arguments’ value.
This commit was made by running this command:

  sed -e's/substitute-keyword-arguments (package-arguments [a-zA-Z0-9-]\+)/substitute-keyword-arguments arguments/g' -i gnu/packages/*.scm

… and then:

  1. reverting changes from ‘gnu/packages/rust.scm’ and
     ‘gnu/packages/java.scm’ since they would incur derivation changes and/or
     breakage;
  2. reverting the change for ‘gcc-final’ in ‘gnu/packages/commencement.scm’;
  3. reverting the change for ‘onnx-optimizer’, ‘openquest’, and ‘certbot’,
     which use ‘substitute-keyword-arguments’ for arguments that are not
     inherited (and thus ‘arguments’ would be unbound);
  4. reverting the change for ‘insight-toolkit-legacy’ and ‘wine64-staging’
     which make bogus assumptions about inherited arguments.

Change-Id: I122a7cf517b6b63cae38944b5d33ade4b1f5a89c
2026-03-20 13:27:15 +01:00
Romain GARBAGE
1205f53f8d gnu: Add openmpi-rocm, an Open MPI variant with ROCm support.
* gnu/packages/mpi.scm (openmpi-5): New variable.

Merges guix/guix!6032

Change-Id: I2ff58c0f76d861f4570b4d9dd60aefa747a73345
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
2026-03-16 10:16:40 +01:00
Romain GARBAGE
af3900a316 gnu: openmpi-4: Don't mix quasiquotes with G-exps.
* gnu/packages/mpi.scm (openmpi-4): Don't mix quasiquotes with G-exps.

Merges guix/guix!6032

Change-Id: Ic989184bb25dc3519ea4281cf2c9cac1c18af7a9
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
2026-03-16 10:16:40 +01:00
Romain GARBAGE
fb34cb983a gnu: hwloc-2: Enable ROCm support.
* gnu/packages/mpi.scm (hwloc-2): Enable ROCm support.

Merges guix/guix!6032

Change-Id: I68d57c377bf461dd32a2c7b7793ed85158683199
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
Modified-by: Cayetano Santos <csantosb@inventati.org>
2026-03-16 10:16:40 +01:00
Romain GARBAGE
f380c63da4 gnu: hwloc-2: Fix OpenCL linking error for dependents.
* gnu/packages/mpi.scm (hwloc-2)[origin]: Add patch adding a configure
flag for OpenCL.
[native-inputs]: Add dependencies required to generate configure. Remove
opencl-ic-loader...
[inputs]: ...and move it here.
[arguments]: Use new configure flag. Force configure script generation.

Merges guix/guix!6032

Change-Id: Idd31c6b6efbab9c87f83c5af750a0994518be69a
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
2026-03-16 10:16:40 +01:00
Romain GARBAGE
cf5b8dce21 gnu: hwloc: Switch to G-expressions.
This commit updates both hwloc packages to use G-exps at the same time
as one inherits on the other and doing it in 2 steps would lead to a
commit with a broken state.

* gnu/packages/mpi.scm (hwloc-1, hwloc-2): Switch to G-expressions.

Merges guix/guix!6032

Change-Id: Ie59b12bb1fb9d7d800449afdbf8cfb44c08ec3e9
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
2026-03-16 10:16:39 +01:00
Cayetano Santos
0f4c29ef1d gnu: hwloc-2: Add support for opencl, levelzero and libxml2.
* gnu/packages/mpi.scm (hwloc-2)[native-inputs]: Add opencl-headers and
opencl-icd-loader.
[inputs]: Add level-zero and libxml2.

Change-Id: I1af1921c848d8812848e453edac7701c9b1983d2
2026-03-16 10:16:39 +01:00
Philippe SWARTVAGHER
49c849438a gnu: hwloc-2: Update to 2.13.0.
* gnu/packages/mpi.scm (hwloc-2): Update to 2.13.0.

Merges guix/guix!6359

Change-Id: I020c86425dcbb83613365448356c7bec0e540b93
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
Modified-by: Cayetano Santos <csantosb@inventati.org>
2026-03-16 10:16:39 +01:00
Ludovic Courtès
d6d1554fe7 gnu: openmpi-5: Update to 5.0.9.
* gnu/packages/mpi.scm (openmpi-5): Update to 5.0.9.

Change-Id: If10ce47b8f09cf24cca617bf4556c1587cbde8b1
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-12-11 15:55:23 +01:00
Ludovic Courtès
b1feaa61ea gnu: libfabric: Update to 2.3.0.
* gnu/packages/linux.scm (libfabric): Update to 2.3.0.
(libfabric-1): New variable.
* gnu/packages/mpi.scm (openmpi-4)[inputs]: Use ‘libfabric-1’ instead of ‘libfabric’.
(openmpi-5)[inputs]: Replace ‘libfabric-1’ by ‘libfabric’.

Change-Id: I2cd739f1891960b0e8c6125589e3b05c82956353
2025-10-24 16:42:52 +02:00
Nicolas Graves
9cd4bdd30a gnu: python-mpi4py: Update to 4.1.0.
* gnu/packages/mpi.scm (python-mpi4py): Update to 4.1.0.
[arguments]<#:phases>: Add 'check phase replacement.
<#:test-flags>: Set them.
[native-inputs]: Replace python-cython-0 by python-cython.

Change-Id: I8d1ab87bdb27607fe73c1865fd5fa3c174421840
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-28 19:23:54 +01:00
Nicolas Graves
c608175c5d gnu: python-mpi4py: Switch to pyproject.
* gnu/packages/mpi.scm (python-mpi4py):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments, description]: Improve style.
[native-inputs]: Add python-cython-0, python-pytest,
python-setuptools.

Change-Id: I3d21936ce3dc368d358174a984885f7450032195
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-28 19:23:54 +01:00
Luca Cirrottola
b768eefa59 gnu: scorep-openmpi: Update to 9.0.
* gnu/packages/mpi.scm (make-scorep): Update to 9.0.
[source]: Update URI.
[inputs]: Add cubew, gotcha, libbfd, libiberty.
[native-inputs]: Remove cube.
[arguments]<#:configure-flags>: Adapt.
Change-Id: I832bb5092091080b5544e51c60ca8e3bc27beb12
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-08-29 16:58:11 +02:00
Philippe SWARTVAGHER
23f64c8d12 gnu: hwloc: Update to 2.12.2.
* gnu/packages/mpi.scm (hwloc): Update to 2.12.2.

Change-Id: I982b72ff9ea8a2885015e514b3378816668fd280
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-08-27 11:34:01 +02:00
Maxim Cournoyer
e28ab6a6fe gnu: turbovnc: Simplify 'delete-all-but' in snippet.
* gnu/packages/vnc.scm (turbovnc) [source] <snippet>: Simplify.
* gnu/packages/astronomy.scm (phd2): Likewise.
* gnu/packages/emulators.scm (libretro-dolphin-emu)
(retroarch-minimal): Likewise.
* gnu/packages/golang-web.scm (go-github-com-aws-aws-sdk-go-v2-service-sqs)
(go-go-opentelemetry-io-contrib-propagators-autoprop)
(go-go-opentelemetry-io-otel-exporters-otlp-otlptrace)
(go-go-opentelemetry-io-otel-exporters-otlp-otlptrace-otlptracegrpc)
(go-go-opentelemetry-io-otel-exporters-otlp-otlptrace-otlptracehttp)
(go-go-opentelemetry-io-otel-exporters-zipkin)
(go-go-opentelemetry-io-otel-log, go-go-opentelemetry-io-otel-sdk)
(go-go-opentelemetry-io-otel-sdk-log, go-go-opentelemetry-io-otel-sdk-metric)
(go-google-golang-org-genproto-googleapis-api): Likewise.
* gnu/packages/golang-xyz.scm (go-go-uber-org-zap-exp): Likewise.
* gnu/packages/ipfs.scm (go-github-com-ipfs-shipyard-nopfs-ipfs): Likewise.
* gnu/packages/mpi.scm (openmpi-5): Likewise.

Change-Id: I286ff1e949ccb97f9369f2a172c8559e3884dba7
2025-08-25 08:58:42 +09:00
Nigko Yerden
cf6868187a gnu: openmpi-5: Update to 5.0.8 and fix build with gcc-14.
gnu/packages/mpi.scm (openmpi-5): Update to 5.0.8.
[arguments]<#:configure-flags>: Add CFLAGS to declare warnings as
non-errors.

Change-Id: I05386e05f374c6e319201cdb64fd0670549d79a1
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-07-28 12:37:08 +02:00
Janneke Nieuwenhuizen
862730dede gnu: openmpi-4: Fix build with gcc-14.
* gnu/packages/mpi.scm (openmpi-4)[arguments]: Add CFLAGS to #:configure-flags
to relax gcc-14's strictness.

Change-Id: I4a19a473a729ce054d855ec2c4d6ea94dc94b849
2025-07-18 20:17:26 +02:00
Luca Cirrottola
4ba4607850 gnu: Add gotcha.
* gnu/packages/mpi.scm (gotcha): New variable.

Change-Id: Ia78f11ba482cacc0702092ac30462c3d5cc248f7
Reviewed-by: Ludovic Courtès <ludo@gnu.org>
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-06-26 12:25:37 +01:00
Philippe SWARTVAGHER
d4acc5183e gnu: hwloc: Update to 2.12.1.
* gnu/packages/mpi.scm (hwloc): Update to 2.12.1.

Change-Id: Ia690274ec823bfe86bcfd2a93faa1cf536e4ee3f
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-06-02 10:31:56 +02:00
Greg Hogan
56f940e72f gnu: Rename valgrind-next to valgrind.
* gnu/packages/valgrind.scm (valgrind/pinned): Make public.
(valgrind): Delete.
(valgrind-next): Rename to valgrind.
(valgrind/interactive): Inherit from valgrind.
* gnu/packages/audio.scm (codec2),
* gnu/packages/bootloaders.scm (dtc),
* gnu/packages/chromium.scm (ungoogled-chromium),
* gnu/packages/crates-io.scm (rust-crabgrind-0.1),
* gnu/packages/crates-tls.scm (rust-rustls-pki-types-1),
* gnu/packages/file-systems.scm (bindfs),
* gnu/packages/gnome.scm (libratbag, gnome-software),
* gnu/packages/high-availability.scm (pacemaker),
* gnu/packages/linux.scm (multipath-tools),
* gnu/packages/machine-learning.scm (python-pytorch),
* gnu/packages/mpi.scm (openmpi-4),
* gnu/packages/music.scm (stargate),
* gnu/packages/perl-check.scm (perl-test-runvalgrind),
* gnu/packages/prolog.scm (trealla),
* gnu/packages/qt.scm (qtwebengine-5, qt-creator),
* gnu/packages/robotics.scm (aseba),
* gnu/packages/ruby.scm (ruby-ruby-memcheck),
* gnu/packages/spreadsheet.scm (sc-im),
* gnu/packages/web.scm (jq): Rename valgrind to valgrind/pinned.

Change-Id: I9dec25abce643ef6d815a2cc50414c4f65f1e8d3
2025-05-13 16:35:39 +00:00
Efraim Flashner
0095f2a015 gnu: mpich: Update to 4.3.0.
* gnu/packages/mpi.scm (mpich): Update to 4.3.0.
[arguments]: Adjust the configure-flags depending on if ucx is an input.
Move the 'check phase to after the 'install phase.

Change-Id: I2dd14703947d1ead4c99a64501ab92b8d4027521
2025-05-04 16:40:08 +03:00
Philippe SWARTVAGHER
00787cd616 gnu: hwloc: Update to 2.12.0.
* gnu/packages/mpi.scm (hwloc): Update to 2.12.0.

Change-Id: I6d35e8da99e98ba18e71df94f4c7f63f69332bb3
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-02-20 12:04:51 +01:00
Ludovic Courtès
44982c9218 gnu: openmpi: Update to 5.0.7.
* gnu/packages/mpi.scm (openmpi-5): Update to 5.0.7.

Change-Id: I017c8979dfb97994a1c4b48fa099abe496548936
2025-02-15 22:47:58 +01:00
Maxim Cournoyer
4baaa124fc gnu: Add missing imports for relocated scorep-openmpi.
This is a follow-up to 1109bc6858.

* gnu/packages/mpi.scm: Add missing imports.

Change-Id: I9953662e6bc79bd04d60ad7fe88fd17dbde20bc4
2025-01-21 15:43:53 +09:00
Maxim Cournoyer
1109bc6858 gnu: Relocate scorep-openmpi to (gnu packages mpi).
The make-scorep procedure makes use of its argument, a package, at the top
level.  Since it is not delayed, it is susceptible to cause top level module
cycles, as it did with the introduction of commit fc27362f8d.

* gnu/packages/profiling.scm (make-scorep, scorep-openmpi): Move to...
* gnu/packages/mpi.scm: ... here.

Change-Id: I7989fb7c3da654f36d8e5e86bc383f02bd577935
2025-01-21 14:54:31 +09:00
Romain GARBAGE
ecb8ca6266 gnu: openmpi@4: Hard-code file name of ‘ssh’ command.
This patch fixes a runtime error when launching an MPI program using
mpiexec/mpirun in an environment where the ssh command is not
available.

* gnu/packages/mpi.scm (openmpi-4)[inputs]: Add openssh-sans-x.
(openmpi-4)[arguments]: Fix path in code.

Change-Id: I65255186c37b6eaba3c283c7046163abc2cb38b7
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-23 20:45:31 +01:00
Maxim Cournoyer
08e0144d23 gnu: openmpi-5: Streamline source and do not install HTML doc.
This reduces the installed package size by 63 MiB.

* gnu/packages/mpi.scm (openmpi-5) [source]: Add modules, snippet fields.

Change-Id: Ie3dc365a2e4e48dc4c385dd447d3c64b7db065ca
2024-12-18 16:27:09 +09:00
Ludovic Courtès
15647355e5 gnu: openmpi@5: Update to 5.0.6.
* gnu/packages/mpi.scm (openmpi-5): Update to 5.0.6.

Change-Id: I1aed5f0e76d64a215c4a13f445628ec206e31acf
2024-12-01 17:48:20 +01:00
Efraim Flashner
1bcf1a0146 gnu: openmpi-5: Don't force building with ucx.
* gnu/packages/mpi.scm (openmpi-5)[inputs]: Use inherited inputs to only
add ucx when it is supported.
[arguments]: Only add configure-flag for ucx when it is included as an
input.

Change-Id: I4a5fc86999ffbafdb99bd68c170fc7a1fa6a33a5
2024-12-01 14:55:08 +02:00
Ludovic Courtès
a7d6a79a98 gnu: openmpi: Disable static libraries.
* gnu/packages/mpi.scm (openmpi-4)[arguments]: Pass “--disable-static”.
* gnu/packages/mpi.scm (openmpi-5)[arguments]: Likewise.

Change-Id: Ia6a8bc8a88d12a37878a45eed380262759bd4565
2024-11-25 11:22:24 +01:00
Ludovic Courtès
30e469cc9c gnu: openmpi@5: Remove reference to GCC and other build tools.
This removes GCC from the direct references of openmpi@5.

* gnu/packages/mpi.scm (openmpi-5)[arguments]: Replace arguments
entirely instead of using ‘substitute-keyword-arguments’.  Reintroduce
‘remove-absolute’ phase.  Remove ‘find-opensm-headers’ and ‘remove-logs’
phases, which are no longer needed.

Change-Id: Ia3b25230488ca13310cd5bb2ae45f6990e906fa5
2024-10-25 11:55:35 +02:00
Philippe SWARTVAGHER
d73598c786 gnu: hwloc: Update to 2.11.2.
* gnu/packages/mpi.scm (hwloc): Update to 2.11.2.

Change-Id: I19c1b9b073ff55e8174d25a6f11048db34d6acdf
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-24 14:50:09 +02:00
Maxim Cournoyer
f59df1aa3c build-systems: gnu: Export %default-gnu-imported-modules and %default-gnu-modules.
Until now users would have to cargo cult or inspect the private
%default-modules variable of (guix build-systems gnu) to discover which
modules to include when extending the used modules via the #:modules argument.

The renaming was automated via the command:

  $ git grep -l %gnu-build-system-modules
    | xargs sed 's/%gnu-build-system-modules/%default-gnu-imported-modules/' -i

* guix/build-system/gnu.scm (%gnu-build-system-modules): Rename to...
(%default-gnu-imported-modules): ... this.
(%default-modules): Rename to...
(%default-gnu-modules): ... this.  Export.
(dist-package, gnu-build, gnu-cross-build): Adjust accordingly.

Change-Id: Idef307fff13cb76f3182d782b26e1cd3a5c757ee
2024-08-31 10:42:16 +02:00
Romain GARBAGE
4dc1442cc1 gnu: openmpi: Set default version to 4.x.
* gnu/packages/mpi.scm (openmpi-4): New variable.
(openmpi): Redefine variable.

Change-Id: If5bb4429c935982ddaa1a5acbd728367ebbfd6fd
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-08-19 16:15:05 +02:00
Romain GARBAGE
208c296f96 gnu: Add openmpi-5.
* gnu/packages/mpi.scm (openmpi-5): New variable.

Change-Id: I048692b2e928077c9cfa9fb8076ceb356251e1db
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-08-19 16:15:05 +02:00
Romain GARBAGE
07adb7e26a gnu: Add mpich-ofi.
* gnu/packages/mpi.scm (mpich-ofi): New variable.

Change-Id: I577fa8fc15ffe7df82d737721ca5a2e034c1e43a
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-08-19 12:02:35 +02:00
Romain GARBAGE
063b02a290 gnu: mpich: Update to 4.2.2.
* gnu/packages/mpi.scm (mpich): Update to 4.2.2.
[native-inputs]: Add python-minimal.

Change-Id: I9f3e42cb58c399a89835ac38dcfdd9dd11efe210
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-08-14 10:57:51 +01:00
Ludovic Courtès
fcd3c5d3aa gnu: hwloc: Update to 2.11.1.
* gnu/packages/mpi.scm (hwloc-2): Update to 2.11.1.
[native-inputs]: Add BASH.

Co-authored-by: Philippe SWARTVAGHER <phil.swart@gmx.fr>
Change-Id: If5531cb82911833153b0e795e9f20b0d0ae940c2
2024-07-18 17:31:18 +02:00
Philippe SWARTVAGHER
9cf37ccb81 gnu: hwloc: Update to 2.10.0.
* gnu/packages/mpi.scm (hwloc): Update to 2.10.0.

Change-Id: If3971c18542dd3d2d03fa48f5d440d38c6f827a7
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-06-13 18:55:32 +02:00
Ludovic Courtès
eaf54b598f gnu: hwloc: Remove dependency on graphics libraries when cross-compiling.
* gnu/packages/mpi.scm (hwloc-1)[inputs]: Remove dependency on graphics
libraries when cross-compiling.

Change-Id: I698ac3f8aadda634f6753bdeba0f5fbd77e608df
2024-04-04 16:05:30 +02:00
Ludovic Courtès
ad2fcbfca4 gnu: openmpi: Update to 4.1.6.
* gnu/packages/mpi.scm (openmpi): Update to 4.1.6.
2023-11-15 11:36:20 +01:00
Ludovic Courtès
f1f8d56b75 gnu: hwloc: Update to 2.9.3.
* gnu/packages/mpi.scm (hwloc-2): Update to 2.9.3.
2023-11-15 11:36:19 +01:00
Lars Bilke
55da0930e3 gnu: openmpi: Enable PMIx.
* gnu/packages/mpi.scm (openmpi)[arguments]: Pass “--with-pmix=internal”.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-09-14 22:55:25 +02:00
Philippe SWARTVAGHER
fa7d3972f8 gnu: hwloc: Update to 2.9.2.
* gnu/packages/mpi.scm (hwloc-2): Update to 2.9.2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-07-11 15:52:26 +02:00
Ludovic Courtès
9f7cd1fcaf gnu: Add updater input properties for R and Python packages.
* gnu/packages/cran.scm (r-glue, r-xfun, r-vctrs)
(r-lifecycle): Turn comment about r-knitr into 'properties' field.
* gnu/packages/mpi.scm (python-mpi4py)[properties]: New field.
2023-05-31 23:26:12 +02:00
Liliana Marie Prikler
4f01ef2acb gnu: python-mpi4py: Update home-page.
* gnu/packages/mpi.scm (python-mpi4py)[home-page]: Use “github.com” instead
of “bitbucket.com”.
2023-05-28 23:14:19 +02:00