From 4af1448e73751ff9c4062caba368e25f6abe2ce3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=95=E6=99=93=E5=80=A9?= Date: Tue, 7 Dec 2021 14:38:47 +0800 Subject: [PATCH] update spec for riscv --- compiler-rt.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/compiler-rt.spec b/compiler-rt.spec index 4fa20d3..ac772ec 100644 --- a/compiler-rt.spec +++ b/compiler-rt.spec @@ -4,7 +4,7 @@ Name: compiler-rt Version: 10.0.1 -Release: 3 +Release: 4 Summary: LLVM "compiler-rt" runtime libraries License: NCSA or MIT URL: http://llvm.org @@ -52,7 +52,11 @@ cd _build # move blacklist/abilist files to where clang expect them mkdir -p %{buildroot}%{_libdir}/clang/%{version}/share + +# no lists are available on riscv64 +%ifnarch riscv64 mv -v %{buildroot}%{_datadir}/*list.txt %{buildroot}%{_libdir}/clang/%{version}/share/ +%endif # move sanitizer libs to better place %global libclang_rt_installdir lib/linux @@ -103,6 +107,9 @@ fi %endif %changelog +* Thu Jan 06 2022 lvxiaoqian - 10.0.1-4 +- update spec for no lists are available on riscv64 + * Fri Sep 25 2020 Guoshuai Sun - 10.0.1-3 - hwasan_symbolize should run in python2 and python3, and python3 is default now -- Gitee