add 0002-add-missing-const-to-context-properties.patch

This commit is contained in:
greatpanc 2021-11-23 15:38:27 +08:00
parent 2f7d0d0c79
commit c4905a2ec9
2 changed files with 5 additions and 1 deletions

View File

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

Binary file not shown.