aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/opencl/clinfo_2.2.18.04.06.bb
diff options
context:
space:
mode:
authorAnuj Mittal <anuj.mittal@intel.com>2019-08-21 16:07:13 +0800
committerKhem Raj <raj.khem@gmail.com>2019-08-21 12:41:20 -0700
commit191b689b83e14ff5c96ca54fabbee6de7081ee8e (patch)
tree2a5db9ae56627965772728dec68ecb2953f9b019 /meta-oe/recipes-support/opencl/clinfo_2.2.18.04.06.bb
parentad947d2c7717597616f189b7b14fa243483ce5fa (diff)
downloadmeta-openembedded-191b689b83e14ff5c96ca54fabbee6de7081ee8e.tar.gz
clinfo: add recipe
clinfo is a simple command-line application that enumerates all possible (known) properties of the OpenCL platform and devices available on the system. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/opencl/clinfo_2.2.18.04.06.bb')
-rw-r--r--meta-oe/recipes-support/opencl/clinfo_2.2.18.04.06.bb20
1 files changed, 20 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/opencl/clinfo_2.2.18.04.06.bb b/meta-oe/recipes-support/opencl/clinfo_2.2.18.04.06.bb
new file mode 100644
index 0000000000..9fd88ced95
--- /dev/null
+++ b/meta-oe/recipes-support/opencl/clinfo_2.2.18.04.06.bb
@@ -0,0 +1,20 @@
+SUMMARY = "Enumerate all known properties of OpenCL platform and devices."
+DESCRIPTION = "clinfo is a simple command-line application that enumerates \
+all possible (known) properties of the OpenCL platform and devices \
+available on the system."
+HOMEPAGE = "https://github.com/Oblomov/clinfo"
+
+LICENSE = "CC0-1.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=fd8857f774dfb0eefe1e80c8f9240a7e"
+
+SRC_URI = "git://github.com/Oblomov/clinfo.git;protocol=https"
+
+SRCREV = "59d0daf898e48d76ccbb788acbba258fa0a8ba7c"
+
+S = "${WORKDIR}/git"
+
+DEPENDS += "opencl-headers opencl-icd-loader"
+
+do_install() {
+ install -D -m 755 clinfo ${D}${bindir}/clinfo
+}