Add loongarch64 support

This commit is contained in:
Wenlong Zhang 2023-02-16 19:18:07 +08:00
parent 08d7e9c9be
commit d463b8f29d

View File

@ -2,12 +2,12 @@
Name: libclc Name: libclc
Version: 12.0.1 Version: 12.0.1
Release: 1 Release: 2
Summary: An implementation of the library requirements of the OpenCL C Summary: An implementation of the library requirements of the OpenCL C
License: BSD License: BSD
URL: https://libclc.llvm.org URL: https://libclc.llvm.org
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/%{name}-%{version}.src.tar.xz Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/%{name}-%{version}.src.tar.xz
ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 riscv64 ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 riscv64 loongarch64
BuildRequires: clang-devel libedit-devel llvm-devel >= 3.9 python3 zlib-devel BuildRequires: clang-devel libedit-devel llvm-devel >= 3.9 python3 zlib-devel
BuildRequires: cmake spirv-llvm-translator-tools BuildRequires: cmake spirv-llvm-translator-tools
@ -74,6 +74,9 @@ make test
%{_libdir}/pkgconfig/%{name}.pc %{_libdir}/pkgconfig/%{name}.pc
%changelog %changelog
* Thu Feb 16 2023 Wenlong Zhang<zhangwenlong@loongson.cn> - 12.0.1-2
- Add loongarch64 support
* Fri Mar 18 2022 yaoxin <yaoxin30@huawei.com> - 12.0.1-1 * Fri Mar 18 2022 yaoxin <yaoxin30@huawei.com> - 12.0.1-1
- Upgrade libclc to 12.0.1 to resolve compilation failures. - Upgrade libclc to 12.0.1 to resolve compilation failures.