diff --git a/libclc-12.0.0.src.tar.xz b/libclc-12.0.0.src.tar.xz deleted file mode 100644 index 3a317b3..0000000 --- a/libclc-12.0.0.src.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6b777ee2cd57da1b122f76c208463f620eef508f4128210c6b1a96bfb75c74dc -size 124192 diff --git a/libclc-13.0.0.src.tar.xz b/libclc-13.0.0.src.tar.xz new file mode 100644 index 0000000..7af1290 --- /dev/null +++ b/libclc-13.0.0.src.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7dc0131f05842a8ed29997362de260c82e188aa0639e482683ece8b47cca21b2 +size 125820 diff --git a/libclc.changes b/libclc.changes index cf2c114..69027a6 100644 --- a/libclc.changes +++ b/libclc.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Sat Oct 2 20:13:04 UTC 2021 - Aaron Puchert + +- 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 + +- 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 + +- needed for jira#SLE/SLE-18743 (Mesa update for sle15-sp4/Leap 15.4) + ------------------------------------------------------------------- Wed Apr 14 23:57:28 UTC 2021 - Aaron Puchert diff --git a/libclc.spec b/libclc.spec index e12dff0..b8c7538 100644 --- a/libclc.spec +++ b/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.