Add riscv64 support

(cherry picked from commit 19722bfcff59f982866c3abeb763417f9ffc351c)
This commit is contained in:
Songsong Zhang 2024-04-27 11:10:36 +00:00 committed by Richard W.M. Jones
parent 832c74d88d
commit 7f67a1723e

View File

@ -42,7 +42,7 @@
Name: %{pkg_name}
Version: %{compiler_rt_version}%{?rc_ver:~rc%{rc_ver}}%{?llvm_snapshot_version_suffix:~%{llvm_snapshot_version_suffix}}
Release: 2%{?dist}
Release: 3%{?dist}
Summary: LLVM "compiler-rt" runtime libraries
License: Apache-2.0 WITH LLVM-exception OR NCSA OR MIT
@ -134,7 +134,7 @@ ln -s i386-redhat-linux-gnu %{buildroot}%{_prefix}/lib/clang/%{maj_ver}/lib/%{_t
%files
%license LICENSE.TXT
%ifarch x86_64 aarch64
%ifarch x86_64 aarch64 riscv64
%{_prefix}/lib/clang/%{maj_ver}/bin/*
%endif
%{_prefix}/lib/clang/%{maj_ver}/include/*
@ -145,6 +145,9 @@ ln -s i386-redhat-linux-gnu %{buildroot}%{_prefix}/lib/clang/%{maj_ver}/lib/%{_t
#%endif
%changelog
* Sat Apr 27 2024 Songsong Zhang <U2FsdGVkX1@gmail.com> - 18.1.2-3
- Add riscv64 support
* Mon Apr 08 2024 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 18.1.2-2
- Rebuild LLVM 18.1.2 (RHEL-27724)