public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tom spot Callaway <spotaws@amazon.com>
To: git-commits@fedoraproject.org
Subject: [rpms/slurm] epel10: conditionalize oneapi
Date: Wed, 22 Jul 2026 07:55:50 GMT [thread overview]
Message-ID: <178470695008.1.7847373802050962723.rpms-slurm-7f3862c5251c@fedoraproject.org> (raw)
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}
reply other threads:[~2026-07-22 7:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178470695008.1.7847373802050962723.rpms-slurm-7f3862c5251c@fedoraproject.org \
--to=spotaws@amazon.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox