From 55856324620c7b5a3c80dfe6a30cfbbb76e644be9d0e6d3e409dc65f0732ec1b Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Sat, 17 Apr 2021 18:06:30 +0000 Subject: [PATCH] Accepting request 886343 from home:aaronpuchert:llvm-next - Update to version 0.2.0+llvm12.0.0. OBS-URL: https://build.opensuse.org/request/show/886343 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=36 --- libclc-11.0.1.src.tar.xz | 3 --- libclc-12.0.0.src.tar.xz | 3 +++ libclc.changes | 5 +++++ libclc.spec | 9 +++++---- 4 files changed, 13 insertions(+), 7 deletions(-) delete mode 100644 libclc-11.0.1.src.tar.xz create mode 100644 libclc-12.0.0.src.tar.xz diff --git a/libclc-11.0.1.src.tar.xz b/libclc-11.0.1.src.tar.xz deleted file mode 100644 index a206fc3..0000000 --- a/libclc-11.0.1.src.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2362fa479e6e9052b8ee46b991cca43888215095ef2aac1361b204d9870bf684 -size 123076 diff --git a/libclc-12.0.0.src.tar.xz b/libclc-12.0.0.src.tar.xz new file mode 100644 index 0000000..3a317b3 --- /dev/null +++ b/libclc-12.0.0.src.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6b777ee2cd57da1b122f76c208463f620eef508f4128210c6b1a96bfb75c74dc +size 124192 diff --git a/libclc.changes b/libclc.changes index 3ff039c..cf2c114 100644 --- a/libclc.changes +++ b/libclc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 14 23:57:28 UTC 2021 - Aaron Puchert + +- Update to version 0.2.0+llvm12.0.0. + ------------------------------------------------------------------- Sat Jan 9 16:37:14 UTC 2021 - Aaron Puchert diff --git a/libclc.spec b/libclc.spec index 4038ae5..e12dff0 100644 --- a/libclc.spec +++ b/libclc.spec @@ -16,13 +16,13 @@ # -%define _libclc_llvm_ver 11.0.1 +%define _libclc_llvm_ver 12.0.0 Name: libclc Version: 0.2.0+llvm%{_libclc_llvm_ver} Release: 0 Summary: OpenCL C programming language library -License: (BSD-3-Clause OR MIT) AND Apache-2.0 WITH LLVM-exception +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 @@ -44,11 +44,12 @@ Library requirements of the OpenCL C programming language. # The libraries are bitcode files, so LTO is neither supported nor does it help. %define _lto_cflags %{nil} -sed -i "s|python|python3|g" CMakeLists.txt +# TODO: For building all targets, we need llvm-spirv. %cmake \ -DCMAKE_C_COMPILER=clang \ -DCMAKE_CXX_COMPILER=clang++ \ - -DENABLE_RUNTIME_SUBNORMAL:BOOL=ON + -DENABLE_RUNTIME_SUBNORMAL:BOOL=ON \ + -DLIBCLC_TARGETS_TO_BUILD="amdgcn--;amdgcn--amdhsa;amdgcn-mesa-mesa3d;r600--;nvptx--;nvptx64--;nvptx--nvidiacl;nvptx64--nvidiacl" %cmake_build %install