aboutsummaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp
diff options
context:
space:
mode:
authorMin Ma <min.ma@xilinx.com>2019-03-08 14:41:59 -0800
committerManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>2019-06-28 15:47:15 -0700
commit59c887fba547f208b7b9e3bf268b76596a548be4 (patch)
tree3e735222e331639161e25a801a811530318ebe64 /meta-xilinx-bsp
parent1ac4882e206fe38dd4a2f7cc71165826f57d9f93 (diff)
downloadmeta-xilinx-59c887fba547f208b7b9e3bf268b76596a548be4.tar.gz
meta-xilinx-59c887fba547f208b7b9e3bf268b76596a548be4.tar.bz2
meta-xilinx-59c887fba547f208b7b9e3bf268b76596a548be4.zip
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>
Diffstat (limited to 'meta-xilinx-bsp')
-rw-r--r--meta-xilinx-bsp/recipes-xrt/opencl-clhpp/opencl-clhpp_git.bb27
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 0000000..3e0eaf3
--- /dev/null
+++ b/meta-xilinx-bsp/recipes-xrt/opencl-clhpp/opencl-clhpp_git.bb
@@ -0,0 +1,27 @@
+SUMMARY = "Host API C++ bindings"
+DESCRIPTION = "OpenCL compute API headers C++ bindings from Khronos Group"
+LICENSE = "Khronos"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7e4a01f0c56b39419aa287361a82df00"
+SECTION = "base"
+
+SRC_URI = "git://github.com/KhronosGroup/OpenCL-CLHPP.git;protocol=https"
+
+PV = "2.0.10+git${SRCPV}"
+SRCREV = "acd6972bc65845aa28bd9f670dec84cbf8b760f3"
+
+S = "${WORKDIR}/git"
+
+do_configure () {
+:
+}
+
+# Only cl2.hpp is necessary.
+# Base on the repo, Directly input_cl2.hpp copied as cl2.hpp
+do_compile () {
+:
+}
+
+do_install () {
+ install -d ${D}${includedir}/CL/
+ install -m 0644 ${S}/input_cl2.hpp ${D}${includedir}/CL/cl2.hpp
+}