blob: b2f350df4eba6c1876340d3546837c8561913d52 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
Name: ocl-icd
Version: 2.2.14
Release: 2
Summary: OpenCL ICD Bindings
License: BSD
URL: https://github.com/OCL-dev/ocl-icd/tree/v%{version}
Source0: https://github.com/OCL-dev/ocl-icd/archive/refs/tags/v%{version}.tar.gz
BuildRequires: gcc automake autoconf make libtool opencl-headers ruby rubygems
%description
%{summary}.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release} opencl-headers
%description devel
This package contains the development files for %{name}.
%prep
%autosetup -p1
%build
autoreconf -vfi
%configure
%make_build
%install
%make_install
rm -vf %{buildroot}%{_libdir}/*.la
rm -vrf %{buildroot}%{_defaultdocdir}
%check
make check
%ldconfig_scriptlets
%files
%license COPYING
%doc NEWS README
%{_libdir}/libOpenCL.so.*
%files devel
%doc ocl_icd_loader_gen.map ocl_icd_bindings.c
%{_includedir}/ocl_icd.h
%{_libdir}/libOpenCL.so
%{_libdir}/pkgconfig/%{name}.pc
%{_libdir}/pkgconfig/OpenCL.pc
%changelog
* Sun Jun 25 2023 yangxingyu <yangxingyu13@huawei.com> - 2.2.14
- update to 2.2.14
* Fri Jul 30 2021 sunguoshuai <sunguoshuai@huawei.com> - 2.2.12-2
- ocl-icd fix build error with gcc 10
* Mon Jul 27 2020 maminjie <maminjie1@huawei.com> - 2.2.12-1
- package init
|