patch Add_CL_DEVICE_BOARD_NAME_AMD
This commit is contained in:
parent
03536f1eeb
commit
e6f1a015ca
@ -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: 5
|
Release: 6
|
||||||
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
|
||||||
@ -13,7 +13,7 @@ Source4: https://github.com/ThrowTheSwitch/CException/archive/refs/t
|
|||||||
|
|
||||||
BuildArch: noarch
|
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)
|
Provides: bundled(grpc)
|
||||||
|
|
||||||
@ -33,6 +33,8 @@ mv %{_builddir}/OpenCL-CLHPP-%{version}/external/CMock/vendor/Unity/* %{_builddi
|
|||||||
%build
|
%build
|
||||||
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
|
||||||
|
|
||||||
rm -rf build
|
rm -rf build
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
@ -55,6 +57,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-6
|
||||||
|
- patch 0001-Add_CL_DEVICE_BOARD_NAME_AMD
|
||||||
|
|
||||||
* Tue Nov 12 2021 yinchangpan <yinchangpan2@huawei.com> - v2.12.0-5
|
* Tue Nov 12 2021 yinchangpan <yinchangpan2@huawei.com> - v2.12.0-5
|
||||||
- Add Make Test Check
|
- 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