public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Nikita Popov <npopov@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/llvm] rawhide: Enable amdgcn-amd-amdhsa only if offload enabled
Date: Wed, 24 Jun 2026 15:47:55 GMT	[thread overview]
Message-ID: <178231607574.1.9300918239079326985.rpms-llvm-d1a723a6aecf@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/llvm
            Branch : rawhide
            Commit : d1a723a6aecfef5e12aaf8314d947f7b07e7d593
            Author : Nikita Popov <npopov@redhat.com>
            Date   : 2026-06-24T10:27:56+00:00
            Stats  : +2/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/llvm/c/d1a723a6aecfef5e12aaf8314d947f7b07e7d593?branch=rawhide

            Log:
            Enable amdgcn-amd-amdhsa only if offload enabled

There are two different triples here, one used only by offload
and one only used by libclc.

This fixes a build failure on i686 where libclc is enabled but
offload is not.

[skip changelog]

---
diff --git a/llvm.spec b/llvm.spec
index aa474f5..c9c9282 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -1522,10 +1522,11 @@ cd llvm/utils/lit
 
 %if %{with offload}
 %global runtimes %{runtimes};offload
+%global runtime_targets %{runtime_targets};amdgcn-amd-amdhsa
 %endif
 
 %if %{with libclc} || %{with offload}
-%global runtime_targets %{runtime_targets};amdgcn-amd-amdhsa;nvptx64-nvidia-cuda
+%global runtime_targets %{runtime_targets};nvptx64-nvidia-cuda
 %endif
 
 %if %{with libclc}

                 reply	other threads:[~2026-06-24 15:47 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=178231607574.1.9300918239079326985.rpms-llvm-d1a723a6aecf@fedoraproject.org \
    --to=npopov@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