public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tom Stellard <tstellar@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/llvm] rawhide: Move libLLVMOffloadKernel.so to libomp package
Date: Tue, 18 Aug 2026 22:38:35 GMT	[thread overview]
Message-ID: <178709271523.1.15972978278829181885.rpms-llvm-5bdb9e692c83@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-08-18 22:38 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=178709271523.1.15972978278829181885.rpms-llvm-5bdb9e692c83@fedoraproject.org \
    --to=tstellar@redhat.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