!6 [patch] Add_CL_DEVICE_BOARD_NAME_AMD
From: @greatpanc Reviewed-by: Signed-off-by:
This commit is contained in:
commit
2f7d0d0c79
@ -1,7 +1,7 @@
|
||||
%global date 2020.12.18
|
||||
Name: opencl-clhpp
|
||||
Version: 2.0.12
|
||||
Release: 5
|
||||
Release: 6
|
||||
Summary: OpenCL (Open Computing Language) bind cpp header files.
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/KhronosGroup/OpenCL-CLHPP
|
||||
@ -13,7 +13,7 @@ Source4: https://github.com/ThrowTheSwitch/CException/archive/refs/t
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: gcc-c++ cmake >= 3.14.0 ocl-icd rubygems ruby python
|
||||
BuildRequires: gcc-c++ cmake >= 3.14.0 ocl-icd rubygems ruby python git
|
||||
|
||||
Provides: bundled(grpc)
|
||||
|
||||
@ -33,6 +33,8 @@ mv %{_builddir}/OpenCL-CLHPP-%{version}/external/CMock/vendor/Unity/* %{_builddi
|
||||
%build
|
||||
ln -s /usr/lib64/libOpenCL.so.1 %{_builddir}/OpenCL-CLHPP-%{version}/libOpenCL.so
|
||||
|
||||
git apply 0001-Add_CL_DEVICE_BOARD_NAME_AMD.patch
|
||||
|
||||
rm -rf build
|
||||
mkdir build
|
||||
cd build
|
||||
@ -55,6 +57,9 @@ make test
|
||||
/usr/local/include/CL/cl2.hpp
|
||||
|
||||
%changelog
|
||||
* Tue Nov 12 2021 yinchangpan <yinchangpan2@huawei.com> - v2.12.0-6
|
||||
- patch 0001-Add_CL_DEVICE_BOARD_NAME_AMD
|
||||
|
||||
* Tue Nov 12 2021 yinchangpan <yinchangpan2@huawei.com> - v2.12.0-5
|
||||
- Add Make Test Check
|
||||
|
||||
|
||||
BIN
v2.0.12.tar.gz
BIN
v2.0.12.tar.gz
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user