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/redhat-rpm-config] rawhide: Use RVA23 baseline for ELN/riscv64
Date: Fri, 16 Oct 2026 13:18:54 GMT [thread overview]
Message-ID: <179215673456.1.6225899569397300210.rpms-redhat-rpm-config-89089cb9ce10@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/redhat-rpm-config
Branch : rawhide
Commit : 89089cb9ce106a702a1094ae59132980e1bc3883
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date : 2026-10-08T22:01:26-04:00
Stats : +3/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/redhat-rpm-config/c/89089cb9ce106a702a1094ae59132980e1bc3883?branch=rawhide
Log:
Use RVA23 baseline for ELN/riscv64
https://github.com/fedora-eln/eln/issues/627
---
diff --git a/macros b/macros
index 5214b94..09d867c 100644
--- a/macros
+++ b/macros
@@ -176,6 +176,8 @@ for k,_ in pairs(stripped_flags) do print(k .. " ") end
%__cflags_arch_ppc64le %[0%{?rhel} >= 9 ? "-mcpu=power9 -mtune=power10" : "-mcpu=power8 -mtune=power8" ]
+%__cflags_arch_riscv64 %[0%{?rhel} >= 11 ? "-march=rva23u64" : "" ]
+
#==============================================================================
# ---- configure and makeinstall.
#
diff --git a/rpmrc b/rpmrc
index cb64f4f..177050b 100644
--- a/rpmrc
+++ b/rpmrc
@@ -16,7 +16,7 @@ optflags: s390x %{__global_compiler_flags} -m64 %{__cflags_arch_s390x} -fasynchr
optflags: aarch64 %{__global_compiler_flags} -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection %{_frame_pointers_cflags} %{_frame_pointers_cflags_aarch64}
-optflags: riscv64 %{__global_compiler_flags} -fasynchronous-unwind-tables %{_frame_pointers_cflags} %{_frame_pointers_cflags_riscv64}
+optflags: riscv64 %{__global_compiler_flags} %{__cflags_arch_riscv64} -fasynchronous-unwind-tables %{_frame_pointers_cflags} %{_frame_pointers_cflags_riscv64}
# set build arch to fedora buildarches on hardware capable of running it
# saves having to do rpmbuild --target=
reply other threads:[~2026-10-16 13:18 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=179215673456.1.6225899569397300210.rpms-redhat-rpm-config-89089cb9ce10@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