diff options
author | Min Ma <min.ma@xilinx.com> | 2019-03-08 14:41:59 -0800 |
---|---|---|
committer | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2019-06-28 15:47:15 -0700 |
commit | 59c887fba547f208b7b9e3bf268b76596a548be4 (patch) | |
tree | 3e735222e331639161e25a801a811530318ebe64 | |
parent | 1ac4882e206fe38dd4a2f7cc71165826f57d9f93 (diff) | |
download | meta-xilinx-59c887fba547f208b7b9e3bf268b76596a548be4.tar.gz |
opencl-clhpp_git.bb: Recipe for OpenCL Host API C++ bindings
Recipe for OpenCL Host API C++ bindings. The interface is contained with
a single C++ header file cl2.hpp and all definitions are contained
within the namespace cl.
Signed-off-by: Min Ma <min.ma@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
-rw-r--r-- | meta-xilinx-bsp/recipes-xrt/opencl-clhpp/opencl-clhpp_git.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/recipes-xrt/opencl-clhpp/opencl-clhpp_git.bb b/meta-xilinx-bsp/recipes-xrt/opencl-clhpp/opencl-clhpp_git.bb new file mode 100644 index 00000000..3e0eaf37 --- /dev/null +++ b/meta-xilinx-bsp/recipes-xrt/opencl-clhpp/opencl-clhpp_git.bb | |||
@@ -0,0 +1,27 @@ | |||
1 | SUMMARY = "Host API C++ bindings" | ||
2 | DESCRIPTION = "OpenCL compute API headers C++ bindings from Khronos Group" | ||
3 | LICENSE = "Khronos" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7e4a01f0c56b39419aa287361a82df00" | ||
5 | SECTION = "base" | ||
6 | |||
7 | SRC_URI = "git://github.com/KhronosGroup/OpenCL-CLHPP.git;protocol=https" | ||
8 | |||
9 | PV = "2.0.10+git${SRCPV}" | ||
10 | SRCREV = "acd6972bc65845aa28bd9f670dec84cbf8b760f3" | ||
11 | |||
12 | S = "${WORKDIR}/git" | ||
13 | |||
14 | do_configure () { | ||
15 | : | ||
16 | } | ||
17 | |||
18 | # Only cl2.hpp is necessary. | ||
19 | # Base on the repo, Directly input_cl2.hpp copied as cl2.hpp | ||
20 | do_compile () { | ||
21 | : | ||
22 | } | ||
23 | |||
24 | do_install () { | ||
25 | install -d ${D}${includedir}/CL/ | ||
26 | install -m 0644 ${S}/input_cl2.hpp ${D}${includedir}/CL/cl2.hpp | ||
27 | } | ||