public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/llvm] rawhide: Set baseline arch for riscv64
@ 2026-10-26 15:00 Yaakov Selkowitz
0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-10-26 15:00 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-26 15:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-26 15:00 [rpms/llvm] rawhide: Set baseline arch for 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