public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/intel-opencl-clang] rawhide: Fix ELN build
@ 2026-10-28  0:19 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-10-28  0:19 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/intel-opencl-clang
            Branch : rawhide
            Commit : 534d67dd61fd1e19349b8756d8e63328d14a8dd3
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-10-27T20:16:36-04:00
            Stats  : +1/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/intel-opencl-clang/c/534d67dd61fd1e19349b8756d8e63328d14a8dd3?branch=rawhide

            Log:
            Fix ELN build

ELN (the future RHEL 11) tracks rawhide and has a newer LLVM, so the compat
package must be used thereon.

---
diff --git a/intel-opencl-clang.spec b/intel-opencl-clang.spec
index 63e5051..e4f00c9 100644
--- a/intel-opencl-clang.spec
+++ b/intel-opencl-clang.spec
@@ -4,7 +4,7 @@
 %global llvm_ver 22
 
 # f44 ships LLVM 22 as the main package; f45+ provide llvm22 compat
-%if 0%{?fedora} >= 45
+%if 0%{?fedora} >= 45 || 0%{?rhel} >= 11
 %global llvm_compat %{llvm_ver}
 %global llvm_bindir %{_libdir}/llvm%{llvm_ver}/bin
 %global llvm_cmake  %{_libdir}/llvm%{llvm_ver}/%{_lib}/cmake

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

only message in thread, other threads:[~2026-10-28  0:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-28  0:19 [rpms/intel-opencl-clang] rawhide: Fix ELN build Yaakov Selkowitz

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