1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: slurm-minimal: Only build with openpmix when supported.

* gnu/packages/parallel.scm (slurm-minimal)[inputs]: Only include
openpmix on systems where it is supported.

Change-Id: If8ec32d409eb19bceff61d9f8a9350ec346744a0
This commit is contained in:
Efraim Flashner
2025-05-04 14:11:35 +03:00
parent 0095f2a015
commit 8e8a94ba15

View File

@@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014, 2020 Eric Bavier <bavier@posteo.net>
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2015-2018, 2020-2024 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2015-2018, 2020-2025 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Pjotr Prins <pjotr.guix@thebird.nl>
;;; Copyright © 2016 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2016, 2020, 2021, 2022, 2023 Ricardo Wurmus <rekado@elephly.net>
@@ -230,14 +230,18 @@ when jobs finish.")
(mkdir "contribs")
(rename-file "tmp-pmi" "contribs/pmi")
(rename-file "tmp-pmi2" "contribs/pmi2")))))
(inputs (list freeipmi
`(,hwloc-2 "lib")
json-c
linux-pam
openpmix
munge
numactl
readline))
(inputs
(append
(list freeipmi
`(,hwloc-2 "lib")
json-c
linux-pam)
(if (supported-package? openpmix)
(list openpmix)
'())
(list munge
numactl
readline)))
(native-inputs
(list autoconf expect perl pkg-config python-wrapper))
(build-system gnu-build-system)