public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/slurm] epel10: conditionalize rocm-smi, because s390, sigh
@ 2026-07-22  7:55 Tom spot Callaway
  0 siblings, 0 replies; only message in thread
From: Tom spot Callaway @ 2026-07-22  7:55 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/slurm
Branch : epel10
Commit : 7442429a547d74fc4b5dbb59c426b184f3851de3
Author : Tom spot Callaway <spotaws@amazon.com>
Date   : 2026-03-15T22:55:19-04:00
Stats  : +9/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/slurm/c/7442429a547d74fc4b5dbb59c426b184f3851de3?branch=epel10

Log:
conditionalize rocm-smi, because s390, sigh

---
diff --git a/slurm.spec b/slurm.spec
index 092cbea..31210c9 100644
--- a/slurm.spec
+++ b/slurm.spec
@@ -21,6 +21,13 @@
 %bcond_with oneapi
 %endif
 
+# follow arch-inclusions for rocm-smi
+%ifarch aarch64 ppc64le x86_64
+%bcond_without rocmsmi
+%else
+%bcond_with rocmsmi
+%endif
+
 Name:           slurm
 Version:        25.11.4
 Release:        %autorelease
@@ -86,7 +93,9 @@ BuildRequires:  pam-devel
 BuildRequires:  pmix-devel
 BuildRequires:  rdma-core-devel
 BuildRequires:  readline-devel
+%if 0%{?fedora} && %{with rocmsmi}
 BuildRequires:  rocm-smi-devel
+%endif
 BuildRequires:  zlib-devel
 
 %if 0%{?fedora} && %{with ucx}

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-22  7:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-22  7:55 [rpms/slurm] epel10: conditionalize rocm-smi, because s390, sigh Tom spot Callaway

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox