public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tom Rix <Tom.Rix@amd.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rocm-compilersupport] rawhide: Simplify arches
Date: Mon, 19 Oct 2026 13:45:11 GMT	[thread overview]
Message-ID: <179241751168.1.16523889333905662334.rpms-rocm-compilersupport-47adf882f8cf@fedoraproject.org> (raw)

            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
 

                 reply	other threads:[~2026-10-19 13:45 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=179241751168.1.16523889333905662334.rpms-rocm-compilersupport-47adf882f8cf@fedoraproject.org \
    --to=tom.rix@amd.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