From 574eef1ee927f58ffacac1a54718722fed68cdf1 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Wed, 8 Nov 2023 14:19:52 +0200 Subject: [PATCH] Lower memory usage for riscv64 Signed-off-by: David Abdurachmanov --- rust.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/rust.spec b/rust.spec index c29fa40..5c72f60 100644 --- a/rust.spec +++ b/rust.spec @@ -89,7 +89,7 @@ Name: rust Version: 1.73.0 -Release: 2%{?dist} +Release: 2.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) @@ -680,7 +680,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 %define enable_debuginfo --debuginfo-level=0 --debuginfo-level-std=2 @@ -1062,6 +1062,9 @@ rm -rf "./build/%{rust_triple}/stage2-tools/%{rust_triple}/cit/" %changelog +* Wed Nov 08 2023 David Abdurachmanov - 1.73.0-2.0.riscv64 +- Lower memory usage on riscv64 + * Thu Oct 26 2023 Josh Stone - 1.73.0-2 - Use thin-LTO and PGO for rustc itself.