public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/redhat-rpm-config] rawhide: Use RVA23 baseline for ELN/riscv64
@ 2026-10-16 13:18 Yaakov Selkowitz
0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-10-16 13:18 UTC (permalink / raw)
To: git-commits
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=
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-16 13:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-16 13:18 [rpms/redhat-rpm-config] rawhide: Use RVA23 baseline for ELN/riscv64 Yaakov Selkowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox