add opencl-clhpp software package
This commit is contained in:
parent
78cd864bd2
commit
f1a95aeb6f
30
opencl-clhpp.spec
Normal file
30
opencl-clhpp.spec
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
%global date 2021.11.11
|
||||||
|
Name: opencl-clhpp
|
||||||
|
Version: 2.0.12
|
||||||
|
Release: 1
|
||||||
|
Summary: OpenCL (Open Computing Language) bind cpp header files.
|
||||||
|
License: Apache-2.0
|
||||||
|
URL: https://github.com/KhronosGroup/OpenCL-CLHPP
|
||||||
|
Source0: https://github.com/KhronosGroup/OpenCL-CLHPP/archive/refs/tags/v%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n OpenCL-CLHPP-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
# Nothing to build
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %{buildroot}%{_includedir}/CL/
|
||||||
|
install -p -m 0644 include/CL/* -t %{buildroot}%{_includedir}/CL/
|
||||||
|
|
||||||
|
%files
|
||||||
|
%dir %{_includedir}/CL
|
||||||
|
%{_includedir}/CL/cl2.hpp
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Nov 11 2021 yinchangpan <yinchangpan2@huawei.com> - v2.12.0-1
|
||||||
|
- Package init
|
||||||
BIN
v2.0.12.tar.gz
Normal file
BIN
v2.0.12.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user