Update to 15.0.7

This commit is contained in:
cf-zhao 2023-06-23 21:13:42 +08:00 committed by cf_zhao
parent 3edc7da228
commit bc6b16049f
4 changed files with 24 additions and 5 deletions

Binary file not shown.

BIN
libclc-15.0.7.src.tar.xz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,15 +1,29 @@
%bcond_without check
%global maj_ver 15
%global min_ver 0
%global patch_ver 7
%global clc_version %{maj_ver}.%{min_ver}.%{patch_ver}
%global clc_srcdir libclc-%{version}%{?rc_ver:rc%{rc_ver}}.src
%global debug_package %{nil} %global debug_package %{nil}
Name: libclc Name: libclc
Version: 12.0.1 Version: %{clc_version}
Release: 2 Release: 1
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}/%{clc_srcdir}.tar.xz
Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/%{clc_srcdir}.tar.xz.sig
ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 riscv64 loongarch64 ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 riscv64 loongarch64
BuildRequires: clang-devel libedit-devel llvm-devel >= 3.9 python3 zlib-devel BuildRequires: gcc gcc-c++
BuildRequires: cmake spirv-llvm-translator-tools BuildRequires: clang
BuildRequires: libedit-devel
BuildRequires: llvm-devel >= 3.9
BuildRequires: python3
BuildRequires: zlib-devel
BuildRequires: cmake
BuildRequires: spirv-llvm-translator-tools
%description %description
bclc is an open source, BSD/MIT dual licensed implementation of the bclc is an open source, BSD/MIT dual licensed implementation of the
@ -59,7 +73,9 @@ export CFLAGS="%{build_cflags} -D__extern_always_inline=inline"
%make_install %make_install
%check %check
%if %{with check}
make test make test
%endif
%files %files
%license LICENSE.TXT %license LICENSE.TXT
@ -74,6 +90,9 @@ make test
%{_libdir}/pkgconfig/%{name}.pc %{_libdir}/pkgconfig/%{name}.pc
%changelog %changelog
* Fri Jun 23 2023 cf-zhao <zhaochuanfeng@huawei.com> 15.0.7-1
- Update to 15.0.7
* Thu Feb 16 2023 Wenlong Zhang<zhangwenlong@loongson.cn> - 12.0.1-2 * Thu Feb 16 2023 Wenlong Zhang<zhangwenlong@loongson.cn> - 12.0.1-2
- Add loongarch64 support - Add loongarch64 support