Enable riscv64

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2023-11-08 15:24:49 +02:00
parent afbd2cf0c4
commit 2779fd2e42
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 9 additions and 2 deletions

View File

@ -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 <davidlt@rivosinc.com> - 1.72.1-3.0.riscv64
- Enable riscv64
* Fri Sep 29 2023 Josh Stone <jistone@redhat.com> - 1.72.1-3
- Fix the profiler runtime with compiler-rt-17
- Switch to unbundled wasi-libc on Fedora