public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/llvm] rawhide: Set baseline arch for riscv64
Date: Mon, 26 Oct 2026 15:00:17 GMT	[thread overview]
Message-ID: <179302681709.1.6592554685576974499.rpms-llvm-4d2c407eb4e3@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/llvm
            Branch : rawhide
            Commit : 4d2c407eb4e3e76645aa6d798757327c9893a762
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-10-26T11:59:25-03:00
            Stats  : +9/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/llvm/c/4d2c407eb4e3e76645aa6d798757327c9893a762?branch=rawhide

            Log:
            Set baseline arch for riscv64

While Fedora continues with a lesser baseline, RHEL 11 will target RVA23.

https://github.com/fedora-eln/eln/issues/630

---
diff --git a/llvm.spec b/llvm.spec
index d1cd85a..c7b5b59 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -1618,6 +1618,15 @@ cd llvm/utils/lit
 %endif
 %endif
 
+%ifarch riscv64
+%if 0%{?rhel} >= 11
+%global cfg_file_content %{cfg_file_content} -march=rva23u64
+%else
+# Fedora, RHEL 10
+%global cfg_file_content %{cfg_file_content} -march=rv64gc
+%endif
+%endif
+
 %ifarch s390x
 %if 0%{?rhel} >= 11 || 0%{?fedora} >= 45
 %global cfg_file_content %{cfg_file_content} -march=z15 -mtune=z17

                 reply	other threads:[~2026-10-26 15:00 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=179302681709.1.6592554685576974499.rpms-llvm-4d2c407eb4e3@fedoraproject.org \
    --to=yselkowi@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