!7 [patch] add missing const to context properties #127

From: @greatpanc
Reviewed-by: @ouwenchang
Signed-off-by: @ouwenchang
This commit is contained in:
openeuler-ci-bot 2021-11-23 08:27:09 +00:00 committed by Gitee
commit 66c51d44a0
2 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
%global date 2020.12.18
Name: opencl-clhpp
Version: 2.0.12
Release: 6
Release: 7
Summary: OpenCL (Open Computing Language) bind cpp header files.
License: Apache-2.0
URL: https://github.com/KhronosGroup/OpenCL-CLHPP
@ -34,6 +34,7 @@ mv %{_builddir}/OpenCL-CLHPP-%{version}/external/CMock/vendor/Unity/* %{_builddi
ln -s /usr/lib64/libOpenCL.so.1 %{_builddir}/OpenCL-CLHPP-%{version}/libOpenCL.so
git apply 0001-Add_CL_DEVICE_BOARD_NAME_AMD.patch
git apply 0002-add-missing-const-to-context-properties.patch
rm -rf build
mkdir build
@ -57,6 +58,9 @@ make test
/usr/local/include/CL/cl2.hpp
%changelog
* Tue Nov 12 2021 yinchangpan <yinchangpan2@huawei.com> - v2.12.0-7
- patch 0002-add-missing-const-to-context-properties
* Tue Nov 12 2021 yinchangpan <yinchangpan2@huawei.com> - v2.12.0-6
- patch 0001-Add_CL_DEVICE_BOARD_NAME_AMD

Binary file not shown.