projects
/
packages
/
opencl-clang.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- release 3 (llvm 14.0.6 on x32)
[packages/opencl-clang.git]
/
opencl-clang.spec
diff --git
a/opencl-clang.spec
b/opencl-clang.spec
index a69d8a3b184616c49c66182e84ece6f6c46cf738..d71a45ed26799cf6325a4d6084325c566cc574a2 100644
(file)
--- a/
opencl-clang.spec
+++ b/
opencl-clang.spec
@@
-1,17
+1,17
@@
# requires the OpenCL patches
# requires the OpenCL patches
-%define llvm_version 11.0.0
-
-%define spirv_llvm_translator_version 11.0.0
+%define llvm_version 14.0.0
+%define spirv_llvm_translator_version 14.0.0
Summary: Intel Graphics Compute Runtime for OpenCL
Summary: Intel Graphics Compute Runtime for OpenCL
+Summary(pl.UTF-8): Biblioteki uruchomieniowe Intel Graphics Compute dla OpenCL
Name: opencl-clang
Name: opencl-clang
-Version: 1
1
.0.0
-Release:
2
+Version: 1
4
.0.0
+Release:
3
License: University of Illinois/NCSA Open Source License
Group: Libraries
Source0: https://github.com/intel/opencl-clang/archive/v%{version}/%{name}-%{version}.tar.gz
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:
31e0ca207e06d6bb1a49661cafd8a3ea
+# Source0-md5:
c12fe86fd498c1c5a2e2be2129339584
URL: https://01.org/compute-runtime
BuildRequires: SPIRV-LLVM-Translator-devel >= %{spirv_llvm_translator_version}
BuildRequires: clang >= %{llvm_rpm_version}
URL: https://01.org/compute-runtime
BuildRequires: SPIRV-LLVM-Translator-devel >= %{spirv_llvm_translator_version}
BuildRequires: clang >= %{llvm_rpm_version}
@@
-19,6
+19,7
@@
BuildRequires: clang-devel >= %{llvm_version}
BuildRequires: cmake >= 3.4.3
BuildRequires: llvm-devel >= %{llvm_version}
BuildRequires: pkgconfig
BuildRequires: cmake >= 3.4.3
BuildRequires: llvm-devel >= %{llvm_version}
BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.605
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@
-26,6
+27,11
@@
Common clang is a thin wrapper library around clang. Common clang has
OpenCL-oriented API and is capable to compile OpenCL C kernels to
SPIR-V modules.
OpenCL-oriented API and is capable to compile OpenCL C kernels to
SPIR-V modules.
+%description -l pl.UTF-8
+Common clang to niewielka biblioteka obudowująca clanga. Ma API
+zorientowane na OpenCL i potrafi kompilować jądra C OpenCL do modułów
+WPIR-V
+
%package devel
Summary: Header files for %{name} library
Summary(pl.UTF-8): Pliki nagłówkowe biblioteki %{name}
%package devel
Summary: Header files for %{name} library
Summary(pl.UTF-8): Pliki nagłówkowe biblioteki %{name}
@@
-62,8
+68,8
@@
rm -rf $RPM_BUILD_ROOT
%{__make} -C build install \
DESTDIR=$RPM_BUILD_ROOT
%{__make} -C build install \
DESTDIR=$RPM_BUILD_ROOT
-
mv $RPM_BUILD_ROOT%{_libdir}/libopencl-clang.so.11
$RPM_BUILD_ROOT%{_libdir}/libopencl-clang.so.%{llvm_version}
-ln -s libopencl-clang.so.%{llvm_version} $RPM_BUILD_ROOT%{_libdir}/libopencl-clang.so.1
1
+
%{__mv} $RPM_BUILD_ROOT%{_libdir}/libopencl-clang.so.14
$RPM_BUILD_ROOT%{_libdir}/libopencl-clang.so.%{llvm_version}
+ln -s libopencl-clang.so.%{llvm_version} $RPM_BUILD_ROOT%{_libdir}/libopencl-clang.so.1
4
ln -sf libopencl-clang.so.%{llvm_version} $RPM_BUILD_ROOT%{_libdir}/libopencl-clang.so
%post -p /sbin/ldconfig
ln -sf libopencl-clang.so.%{llvm_version} $RPM_BUILD_ROOT%{_libdir}/libopencl-clang.so
%post -p /sbin/ldconfig
@@
-76,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}
%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.1
1
+%ghost %attr(755,root,root) %{_libdir}/libopencl-clang.so.1
4
%files devel
%defattr(644,root,root,755)
%files devel
%defattr(644,root,root,755)
This page took
0.146347 seconds
and
4
git commands to generate.