forked from pool/libclc
Accepting request 922957 from X11:XOrg
OBS-URL: https://build.opensuse.org/request/show/922957 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libclc?expand=0&rev=16
This commit is contained in:
commit
1cd93b0ca3
@ -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
3
libclc-13.0.0.src.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7dc0131f05842a8ed29997362de260c82e188aa0639e482683ece8b47cca21b2
|
||||
size 125820
|
@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- fixed broken %{_llvm_sonum} in libcl(llvm%{_llvm_sonum}) Provides
|
||||
by buildrequiring appropriate llvm/clang -devel packages
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 29 12:00:22 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- needed for jira#SLE/SLE-18743 (Mesa update for sle15-sp4/Leap 15.4)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 14 23:57:28 UTC 2021 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
||||
|
||||
|
24
libclc.spec
24
libclc.spec
@ -16,20 +16,32 @@
|
||||
#
|
||||
|
||||
|
||||
%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: clang-devel >= 4.0
|
||||
BuildRequires: cmake
|
||||
BuildRequires: llvm >= 4.0
|
||||
%if 0%{?suse_version} >= 1550
|
||||
BuildRequires: clang-devel
|
||||
BuildRequires: llvm-devel
|
||||
%else
|
||||
%if 0%{?sle_version} >= 150300
|
||||
BuildRequires: clang11-devel
|
||||
BuildRequires: llvm11-devel
|
||||
%else
|
||||
BuildRequires: clang9-devel
|
||||
BuildRequires: llvm9-devel
|
||||
%endif
|
||||
%endif
|
||||
BuildRequires: python3-base
|
||||
Provides: libclc(llvm%{_llvm_sonum})
|
||||
BuildArch: noarch
|
||||
@ -38,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.
|
||||
|
Loading…
Reference in New Issue
Block a user