[oe-commits] [meta-openembedded] 02/13: opencl-headers: Initial recipe for OpenCL headers
git at git.openembedded.org
git at git.openembedded.org
Wed Oct 17 16:20:14 UTC 2018
This is an automated email from the git hooks/post-receive script.
khem pushed a commit to branch master-next
in repository meta-openembedded.
commit 256de4995c6bf42b82b07f275aa0f9adf43a1db0
Author: Ankit Navik <ankit.tarot at gmail.com>
AuthorDate: Tue Oct 16 23:19:02 2018 +0530
opencl-headers: Initial recipe for OpenCL headers
Add generic recipe for OpenCL API headers.
Suggested-by: Burton, Ross <ross.burton at intel.com>
Signed-off-by: Ankit Navik <ankit.tarot at gmail.com>
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
.../recipes-core/opencl-headers/opencl-headers_git.bb | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/meta-oe/recipes-core/opencl-headers/opencl-headers_git.bb b/meta-oe/recipes-core/opencl-headers/opencl-headers_git.bb
new file mode 100644
index 0000000..dec1bea
--- /dev/null
+++ b/meta-oe/recipes-core/opencl-headers/opencl-headers_git.bb
@@ -0,0 +1,17 @@
+SUMMARY = "OpenCL API Headers"
+DESCRIPTION = "OpenCL compute API headers from Khronos Group"
+LICENSE = "Khronos"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=dcefc90f4c3c689ec0c2489064e7273b"
+SECTION = "base"
+
+S = "${WORKDIR}/git"
+SRCREV = "40c5d226c7c0706f0176884e9b94b3886679c983"
+SRC_URI = "git://github.com/KhronosGroup/OpenCL-Headers.git"
+
+do_configure[noexec] = "1"
+do_compile[noexec] = "1"
+
+do_install () {
+ install -d ${D}${includedir}/CL/
+ install -m 0644 ${S}/CL/*.h ${D}${includedir}/CL
+}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list