From b222f9956c4bb8fff0966d9ee35fdb22a61d2341 Mon Sep 17 00:00:00 2001 From: laokz Date: Thu, 2 Jan 2025 09:38:26 +0000 Subject: [PATCH] riscv64: fix OOM build error --- rust.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/rust.spec b/rust.spec index af7ad1f..c9808ec 100644 --- a/rust.spec +++ b/rust.spec @@ -22,7 +22,7 @@ Name: rust Version: 1.82.0 -Release: 7 +Release: 8 Summary: The Rust Programming Language License: Apache-2.0 OR MIT URL: https://www.rust-lang.org @@ -376,7 +376,7 @@ test -r "%{profiler}" --enable-verbose-tests \ %{?codegen_units_std} \ --release-channel=stable -%ifarch loongarch64 +%ifarch loongarch64 riscv64 %{python} ./x.py build -j "$((($ncpus + 3) / 4))" --stage 2 %else %{python} ./x.py build -j "$ncpus" --stage 2 @@ -549,6 +549,9 @@ export %{rust_env} %{_mandir}/man1/cargo*.1* %changelog +* Fri Jan 03 2025 laokz - 1.82.0-8 +- fix the error out of memory for riscv64 + * Fri Dec 20 2024 Wenlong Zhang - 1.82.0-7 - fix the error out of memory for loongarch64 -- Gitee