diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-21 02:10:47 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-21 02:10:47 +0000 |
commit | 05f320403dfc9333b2cc4ecf0c3c0f8bfc774992 (patch) | |
tree | b6dece740b45c71786f94efef281c04a5c77f8c5 /ocl-icd.spec | |
parent | 8e7798b7b4f6972eee02069418ae4e2a704b97d5 (diff) |
automatic import of ocl-icd
Diffstat (limited to 'ocl-icd.spec')
-rw-r--r-- | ocl-icd.spec | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/ocl-icd.spec b/ocl-icd.spec new file mode 100644 index 0000000..e82ada6 --- /dev/null +++ b/ocl-icd.spec @@ -0,0 +1,55 @@ +Name: ocl-icd +Version: 2.2.12 +Release: 2 +Summary: OpenCL ICD Bindings +License: BSD +URL: https://github.com/OCL-dev/ocl-icd +Source0: https://github.com/OCL-dev/ocl-icd/archive/v%{version}.tar.gz + +BuildRequires: gcc automake autoconf make libtool opencl-headers ruby rubygems +Patch0001: ocl-icd-fix-build-error-with-gcc-10.patch + +%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 +* 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 |