public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/llvm] rawhide: Enable amdgcn-amd-amdhsa only if offload enabled
@ 2026-06-24 15:47 Nikita Popov
0 siblings, 0 replies; only message in thread
From: Nikita Popov @ 2026-06-24 15:47 UTC (permalink / raw)
To: git-commits
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}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-24 15:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-24 15:47 [rpms/llvm] rawhide: Enable amdgcn-amd-amdhsa only if offload enabled Nikita Popov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox