From 54d5880ad4db1d433776ea96464af185f9db901e Mon Sep 17 00:00:00 2001 From: zhangxianjun Date: Sun, 9 Jun 2024 11:46:29 +0800 Subject: [PATCH] strip loongarch64 check error --- clang.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/clang.spec b/clang.spec index c160369..bda08ed 100644 --- a/clang.spec +++ b/clang.spec @@ -37,7 +37,7 @@ Name: %{pkg_name} Version: %{clang_version} -Release: 16 +Release: 17 Summary: A C language family front-end for LLVM License: NCSA @@ -208,7 +208,12 @@ pathfix.py -i %{__python3} -pn \ %setup -q -n %{clang_srcdir} %autopatch -M200 -p2 - +%ifarch loongarch64 +rm test/CodeGenCUDA/amdgpu-kernel-arg-pointer-type.cu test/CodeGenCUDA/bug-kerner-registration-reuse.cu \ + test/CodeGenCUDA/cxx-call-kernel.cpp test/CodeGenCUDA/incomplete-func-ptr-type.cu \ + test/CodeGenCUDA/kernel-dbg-info.cu test/CodeGenCUDA/kernel-stub-name.cu \ + test/CodeGenCUDA/lambda.cu test/CodeGenCUDA/offloading-entries.cu +%endif pathfix.py -i %{__python3} -pn \ tools/clang-format/ \ tools/clang-format/git-clang-format \ @@ -394,6 +399,9 @@ LD_LIBRARY_PATH=%{buildroot}/%{install_libdir} %{__ninja} check-all -C ./_build %{install_bindir}/git-clang-format %changelog +* Sun Jun 9 2024 zhangxianjun - 17.0.6-17 +- strip loongarch test error + * Mon Apr 29 2024 wangqiang - 17.0.6-16 - Ignored the `-Wa,--generate-missing-build-notes=` option, update llvm-lit config to support macro `build_for_openeuler` -- Gitee