up to 13.0.0 auto/th/opencl-clang-13.0.0-1
authorJan Palus <atler@pld-linux.org>
Sun, 7 Nov 2021 19:25:11 +0000 (20:25 +0100)
committerJan Palus <atler@pld-linux.org>
Sun, 7 Nov 2021 19:25:11 +0000 (20:25 +0100)
opencl-clang.spec

index e694d8dd78fa9e2c25329fdb385e0b29424aa28f..d7457791ed2f712cd83d2c419e35311c18f2bbfe 100644 (file)
@@ -1,17 +1,17 @@
 
 # requires the OpenCL patches
-%define llvm_version 12.0.0
+%define llvm_version 13.0.0
 
-%define spirv_llvm_translator_version 12.0.0
+%define spirv_llvm_translator_version 13.0.0
 
 Summary:       Intel Graphics Compute Runtime for OpenCL
 Name:          opencl-clang
-Version:       12.0.0
-Release:       2
+Version:       13.0.0
+Release:       1
 License:       University of Illinois/NCSA Open Source License
 Group:         Libraries
 Source0:       https://github.com/intel/opencl-clang/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: e8abbdba2d39f3f090d949dd8fc4737b
+# Source0-md5: 6e719b1a8067ac23d2a640f43feb046e
 URL:           https://01.org/compute-runtime
 BuildRequires: SPIRV-LLVM-Translator-devel >= %{spirv_llvm_translator_version}
 BuildRequires: clang >= %{llvm_rpm_version}
@@ -63,8 +63,8 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} -C build install \
        DESTDIR=$RPM_BUILD_ROOT
 
-mv $RPM_BUILD_ROOT%{_libdir}/libopencl-clang.so.12 $RPM_BUILD_ROOT%{_libdir}/libopencl-clang.so.%{llvm_version}
-ln -s libopencl-clang.so.%{llvm_version} $RPM_BUILD_ROOT%{_libdir}/libopencl-clang.so.12
+mv $RPM_BUILD_ROOT%{_libdir}/libopencl-clang.so.13 $RPM_BUILD_ROOT%{_libdir}/libopencl-clang.so.%{llvm_version}
+ln -s libopencl-clang.so.%{llvm_version} $RPM_BUILD_ROOT%{_libdir}/libopencl-clang.so.13
 ln -sf libopencl-clang.so.%{llvm_version} $RPM_BUILD_ROOT%{_libdir}/libopencl-clang.so
 
 %post  -p /sbin/ldconfig
@@ -77,7 +77,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc README.md
 %attr(755,root,root) %{_libdir}/libopencl-clang.so.%{llvm_version}
-%ghost %attr(755,root,root) %{_libdir}/libopencl-clang.so.12
+%ghost %attr(755,root,root) %{_libdir}/libopencl-clang.so.13
 
 %files devel
 %defattr(644,root,root,755)
This page took 0.076483 seconds and 4 git commands to generate.