From 2779fd2e4203733e31a22df06cb183328feea3d5 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Wed, 8 Nov 2023 15:24:49 +0200 Subject: [PATCH] Enable riscv64 Signed-off-by: David Abdurachmanov --- rust.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/rust.spec b/rust.spec index 67c25ad..455ec7a 100644 --- a/rust.spec +++ b/rust.spec @@ -89,15 +89,19 @@ %endif # LLDB isn't available everywhere... +%ifnarch riscv64 %if 0%{?rhel} && 0%{?rhel} < 8 %bcond_with lldb %else %bcond_without lldb %endif +%else +%bcond_with lldb +%endif Name: rust Version: 1.72.1 -Release: 3%{?dist} +Release: 3.0.riscv64%{?dist} Summary: The Rust Programming Language License: (Apache-2.0 OR MIT) AND (Artistic-2.0 AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0 AND Unicode-DFS-2016) # ^ written as: (rust itself) and (bundled libraries) @@ -737,7 +741,7 @@ end} %build %{export_rust_env} -%ifarch %{arm} %{ix86} +%ifarch %{arm} %{ix86} riscv64 # full debuginfo is exhausting memory; just do libstd for now # https://github.com/rust-lang/rust/issues/45854 %if 0%{?rhel} && 0%{?rhel} < 8 @@ -1115,6 +1119,9 @@ rm -rf "./build/%{rust_triple}/stage2-tools/%{rust_triple}/cit/" %changelog +* Wed Nov 08 2023 David Abdurachmanov - 1.72.1-3.0.riscv64 +- Enable riscv64 + * Fri Sep 29 2023 Josh Stone - 1.72.1-3 - Fix the profiler runtime with compiler-rt-17 - Switch to unbundled wasi-libc on Fedora