diff --git a/opencl-clhpp.spec b/opencl-clhpp.spec index 104f53e..bcd3124 100644 --- a/opencl-clhpp.spec +++ b/opencl-clhpp.spec @@ -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 - v2.12.0-6 +- patch 0001-Add_CL_DEVICE_BOARD_NAME_AMD + * Tue Nov 12 2021 yinchangpan - v2.12.0-5 - Add Make Test Check diff --git a/v2.0.12.tar.gz b/v2.0.12.tar.gz index c6f5a9f..8a487c2 100644 Binary files a/v2.0.12.tar.gz and b/v2.0.12.tar.gz differ