public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/llvm] rawhide: Move libLLVMOffloadKernel.so to libomp package
@ 2026-08-18 22:38 Tom Stellard
  0 siblings, 0 replies; only message in thread
From: Tom Stellard @ 2026-08-18 22:38 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/llvm
            Branch : rawhide
            Commit : 5bdb9e692c83f45b8b9ac9bd68328ed74ee3be98
            Author : Tom Stellard <tstellar@redhat.com>
            Date   : 2026-08-17T20:48:23+00:00
            Stats  : +8/-5 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/llvm/c/5bdb9e692c83f45b8b9ac9bd68328ed74ee3be98?branch=rawhide

            Log:
            Move libLLVMOffloadKernel.so to libomp package

This matches what we do for libLLVMOffload.so and fixes a file not
found error when building with offload disabled.

[skip changelog]

---
diff --git a/llvm.spec b/llvm.spec
index 9e2bd1c..f111eaa 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -3455,11 +3455,6 @@ fi
     libRemarks.so*
 }}
 %expand_libs LLVMgold.so
-%if %{maj_ver} >= 24
-%{expand_libs %{expand:
-    libLLVMOffloadKernel.so*
-}}
-%endif
 %if %{without compat_build}
 %{_libdir}/bfd-plugins/LLVMgold.so
 %endif
@@ -3746,6 +3741,9 @@ fi
 %if %{with offload}
 %expand_libs libomptarget.so.%{so_suffix}
 %expand_libs libLLVMOffload.so.%{so_suffix}
+%if %{maj_ver} >= 24
+%expand_libs libLLVMOffloadKernel.so.%{so_suffix}
+%endif
 %endif
 
 %files -n %{pkg_name_libomp}-devel
@@ -3761,6 +3759,11 @@ fi
     libomptarget.so
     libLLVMOffload.so
 }}
+%if %{maj_ver} >= 24
+%{expand_libs %{expand:
+    libLLVMOffloadKernel.so
+}}
+%endif
 
 %{expand_libs %{expand:
     amdgcn-amd-amdhsa/libompdevice.a

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

only message in thread, other threads:[~2026-08-18 22:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-18 22:38 [rpms/llvm] rawhide: Move libLLVMOffloadKernel.so to libomp package Tom Stellard

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