[packages/opencl-clang] up to 18.1.0
atler
atler at pld-linux.org
Fri Apr 5 11:15:23 CEST 2024
commit 38b9be4d5d94cdc6754c8eaf48b43e1a611d23a3
Author: Jan Palus <atler at pld-linux.org>
Date: Fri Apr 5 10:08:22 2024 +0200
up to 18.1.0
opencl-clang.spec | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/opencl-clang.spec b/opencl-clang.spec
index 443c55d..f431362 100644
--- a/opencl-clang.spec
+++ b/opencl-clang.spec
@@ -1,17 +1,17 @@
# requires the OpenCL patches
-%define llvm_version 17.0.0
-%define spirv_llvm_translator_version 17.0.0
+%define llvm_version 18.1.0
+%define spirv_llvm_translator_version 18.1.0
Summary: Intel Graphics Compute Runtime for OpenCL
Summary(pl.UTF-8): Biblioteki uruchomieniowe Intel Graphics Compute dla OpenCL
Name: opencl-clang
-Version: 17.0.0
+Version: 18.1.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: a25025d30918dc0e22f00a088a1ed69e
+# Source0-md5: bc489b3d1222c1c637fd777bc056b5af
URL: https://01.org/compute-runtime
BuildRequires: SPIRV-LLVM-Translator-devel >= %{spirv_llvm_translator_version}
BuildRequires: clang >= %{llvm_rpm_version}
@@ -68,8 +68,8 @@ rm -rf $RPM_BUILD_ROOT
%{__make} -C build install \
DESTDIR=$RPM_BUILD_ROOT
-%{__mv} $RPM_BUILD_ROOT%{_libdir}/libopencl-clang.so.17 $RPM_BUILD_ROOT%{_libdir}/libopencl-clang.so.%{llvm_version}
-ln -s libopencl-clang.so.%{llvm_version} $RPM_BUILD_ROOT%{_libdir}/libopencl-clang.so.17
+%{__mv} $RPM_BUILD_ROOT%{_libdir}/libopencl-clang.so.18.1 $RPM_BUILD_ROOT%{_libdir}/libopencl-clang.so.%{llvm_version}
+ln -s libopencl-clang.so.%{llvm_version} $RPM_BUILD_ROOT%{_libdir}/libopencl-clang.so.18.1
ln -sf libopencl-clang.so.%{llvm_version} $RPM_BUILD_ROOT%{_libdir}/libopencl-clang.so
%post -p /sbin/ldconfig
@@ -82,7 +82,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.17
+%ghost %attr(755,root,root) %{_libdir}/libopencl-clang.so.18.1
%files devel
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/opencl-clang.git/commitdiff/38b9be4d5d94cdc6754c8eaf48b43e1a611d23a3
More information about the pld-cvs-commit
mailing list