From e3ce76a9dd5e0952a8e9f1a2b8f2f887d670a4be Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Mon, 13 Feb 2023 17:39:33 +0800 Subject: [PATCH] Build with clang 15 --- clang.spec | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/clang.spec b/clang.spec index 635eb93..da5d349 100644 --- a/clang.spec +++ b/clang.spec @@ -1,5 +1,4 @@ -%define anolis_release 2 -%global _clang_extra_ldflags %{?_lto_cflags} +%define anolis_release 3 %global toolchain clang @@ -194,9 +193,10 @@ Requires: python3 clang-format integration for git. %package -n python3-clang -Summary: Python3 bindings for clang -Requires: %{name}-libs = %{version}-%{release} -Requires: python3 +Summary: Python3 bindings for clang +Requires: %{name}-libs = %{version}-%{release} +Requires: python3 + %description -n python3-clang %{summary}. @@ -359,7 +359,7 @@ ln -s %{_datadir}/clang/clang-format-diff.py %{buildroot}%{_bindir}/clang-format %check %if %{with check} # requires lit.py from LLVM utilities -# FIXME: Fix failing ARM tests +# FIXME (Feb 2023): TEST 'Clang :: Driver/XRay/xray-instrument-os.c' FAILED LD_LIBRARY_PATH=%{buildroot}/%{_libdir} %{__ninja} check-all -C %{__cmake_builddir} || \ true %endif @@ -469,6 +469,9 @@ true %{python3_sitelib}/clang/ %changelog +* Sun Feb 12 2023 Funda Wang - 15.0.7-3 +- Rebuild with clang 15 + * Wed Feb 1 2023 Funda Wang - 15.0.7-2 - Rebuild with clang -- Gitee