!12 Update to 15.0.7

From: @cf-zhao 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2023-07-20 06:20:17 +00:00 committed by Gitee
commit 76b98f87c9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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}
Name: libclc
Version: 12.0.1
Release: 2
Version: %{clc_version}
Release: 1
Summary: An implementation of the library requirements of the OpenCL C
License: BSD
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
BuildRequires: clang-devel libedit-devel llvm-devel >= 3.9 python3 zlib-devel
BuildRequires: cmake spirv-llvm-translator-tools
BuildRequires: gcc gcc-c++
BuildRequires: clang
BuildRequires: libedit-devel
BuildRequires: llvm-devel >= 3.9
BuildRequires: python3
BuildRequires: zlib-devel
BuildRequires: cmake
BuildRequires: spirv-llvm-translator-tools
%description
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
%check
%if %{with check}
make test
%endif
%files
%license LICENSE.TXT
@ -74,6 +90,9 @@ make test
%{_libdir}/pkgconfig/%{name}.pc
%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
- Add loongarch64 support