public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rocm-compilersupport] rawhide: Simplify arches
@ 2026-10-19 13:45 Tom Rix
  0 siblings, 0 replies; only message in thread
From: Tom Rix @ 2026-10-19 13:45 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rocm-compilersupport
            Branch : rawhide
            Commit : 47adf882f8cf0d327e1ae92c1ae7b21ecfa4f7c6
            Author : Tom Rix <Tom.Rix@amd.com>
            Date   : 2026-10-19T06:43:36-07:00
            Stats  : +4/-22 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/rocm-compilersupport/c/47adf882f8cf0d327e1ae92c1ae7b21ecfa4f7c6?branch=rawhide

            Log:
            Simplify arches

There is no upstream support for ppc or aarch64.
No requests for this support have been made in the last year.
So remove the alt_arch option.

Signed-off-by: Tom Rix <Tom.Rix@amd.com>

---
diff --git a/rocm-compilersupport.spec b/rocm-compilersupport.spec
index b47e0c6..9f5ebc8 100644
--- a/rocm-compilersupport.spec
+++ b/rocm-compilersupport.spec
@@ -104,9 +104,6 @@
 %global build_type RelWithDebInfo
 %endif
 
-# Enable ppc and aarch64 builds
-%bcond_with alt_arch
-
 # buid the static analyzer
 %bcond_without sa
 %if %{with sa}
@@ -135,7 +132,7 @@ Version:        %{llvm_maj_ver}
 %if %{with preview}
 Release:        1000.rocm%{rocm_version}%{?dist}
 %else
-Release:        1.rocm%{rocm_version}%{?dist}
+Release:        2.rocm%{rocm_version}%{?dist}
 %endif
 
 Summary:        Various AMD ROCm LLVM related services
@@ -195,28 +192,10 @@ BuildRequires:  python-devel
 
 Provides:       bundled(llvm-project) = %{llvm_maj_ver}
 
-%if 0%{?rhel} || 0%{?suse_version}
-ExclusiveArch:  x86_64
-%global targets_to_build "X86;AMDGPU"
-%else
-%if %{with alt_arch}
-ExclusiveArch:  x86_64 aarch64 ppc64le
-%else
 ExclusiveArch:  x86_64
-%endif
-
-%ifarch x86_64
 %global targets_to_build "X86;AMDGPU;SPIRV"
 %global build_spirv ON
 %global comgr_spirv OFF
-%endif
-%ifarch aarch64
-%global targets_to_build "AArch64;AMDGPU"
-%endif
-%ifarch ppc64le
-%global targets_to_build "PowerPC;AMDGPU"
-%endif
-%endif
 
 %description
 %{summary}
@@ -1158,6 +1137,9 @@ rm %{buildroot}%{bundle_prefix}/lib/libear/ear.c
 %{bundle_prefix}/lib/libomp*.so
 
 %changelog
+* Mon Oct 19 2026 Tom Rix <Tom.Rix@amd.com> - 24-2.rocm10.1.0
+- Simplify arches
+
 * Fri Oct 9 2026 Tom Rix <Tom.Rix@amd.com> - 24-1.rocm10.1.0
 - Update to 10.1
 

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-19 13:45 [rpms/rocm-compilersupport] rawhide: Simplify arches Tom Rix

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