Accepting request 922854 from home:aaronpuchert:llvm-next

- Update to version 0.2.0+llvm13.0.0.
- Make it easier to build release candidates.

OBS-URL: https://build.opensuse.org/request/show/922854
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=40
This commit is contained in:
Stefan Dirsch 2021-10-04 09:03:57 +00:00 committed by Git OBS Bridge
parent 47301eaea4
commit 8d9a69e833
4 changed files with 15 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6b777ee2cd57da1b122f76c208463f620eef508f4128210c6b1a96bfb75c74dc
size 124192

3
libclc-13.0.0.src.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7dc0131f05842a8ed29997362de260c82e188aa0639e482683ece8b47cca21b2
size 125820

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Oct 2 20:13:04 UTC 2021 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Update to version 0.2.0+llvm13.0.0.
- Make it easier to build release candidates.
-------------------------------------------------------------------
Wed Sep 29 12:44:19 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -16,16 +16,18 @@
#
%define _libclc_llvm_ver 12.0.0
%define _libclc_llvm_ver 13.0.0
%define _version %_libclc_llvm_ver%{?_rc:rc%_rc}
%define _tagver %_libclc_llvm_ver%{?_rc:-rc%_rc}
Name: libclc
Version: 0.2.0+llvm%{_libclc_llvm_ver}
Version: 0.2.0+llvm%{_libclc_llvm_ver}%{?_rc:~rc%_rc}
Release: 0
Summary: OpenCL C programming language library
License: Apache-2.0 WITH LLVM-exception AND (BSD-3-Clause OR MIT)
Group: Development/Libraries/C and C++
URL: https://libclc.llvm.org/
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{_libclc_llvm_ver}/%{name}-%{_libclc_llvm_ver}.src.tar.xz
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{_tagver}/%{name}-%{_version}.src.tar.xz
Source1: %{name}-rpmlintrc
BuildRequires: cmake
%if 0%{?suse_version} >= 1550
@ -48,7 +50,7 @@ BuildArch: noarch
Library requirements of the OpenCL C programming language.
%prep
%setup -q -n libclc-%{_libclc_llvm_ver}.src
%setup -q -n libclc-%{_version}.src
%build
# The libraries are bitcode files, so LTO is neither supported nor does it help.