public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/slurm] epel10: conditionalize oneapi
@ 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 : 7f3862c5251cfe02c6a821ea0d065632fadce20e
Author : Tom spot Callaway <spotaws@amazon.com>
Date   : 2026-03-15T22:31:39-04:00
Stats  : +13/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/slurm/c/7f3862c5251cfe02c6a821ea0d065632fadce20e?branch=epel10

Log:
conditionalize oneapi

---
diff --git a/slurm.spec b/slurm.spec
index 55b2e73..092cbea 100644
--- a/slurm.spec
+++ b/slurm.spec
@@ -14,6 +14,13 @@
 %bcond_with ucx
 %endif
 
+# follow arch-inclusions for oneapi-level-zero
+%ifarch x86_64
+%bcond_without oneapi
+%else
+%bcond_with oneapi
+%endif
+
 Name:           slurm
 Version:        25.11.4
 Release:        %autorelease
@@ -72,7 +79,9 @@ BuildRequires:  munge-devel
 %if (0%{?rhel} != 9) || ("%{_arch}" != "s390x")
 BuildRequires:  numactl-devel
 %endif
+%if 0%{?fedora} && %{with oneapi}
 BuildRequires:  oneapi-level-zero-devel
+%endif
 BuildRequires:  pam-devel
 BuildRequires:  pmix-devel
 BuildRequires:  rdma-core-devel
@@ -258,7 +267,11 @@ export LDFLAGS="%{build_ldflags} -Wl,-z,lazy"
   --disable-debug \
   --disable-salloc-background \
   --disable-partial_attach \
+%if 0%{?fedora} && %{with oneapi}
   --with-oneapi=yes \
+%else
+  --with-oneapi=no \
+%endif
   --with-pmix=%{_prefix} \
   --with-shared-libslurm \
 %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 oneapi 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