Skip to contentSkip to conversation

opencl: move headers and loader recipe to common directory

PATCH In review Anuj Mittal 2 participants 3 messages Jun 12, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 opencl: move headers and loader recipe to common directory

---
 meta-oe/recipes-core/{ocl-icd => opencl}/ocl-icd_git.bb           | 0
 .../recipes-core/{opencl-headers => opencl}/opencl-headers_git.bb | 0
 .../{opencl-icd-loader => opencl}/opencl-icd-loader_git.bb        | 0
 3 files changed, 0 insertions(+), 0 deletions(-)
 rename meta-oe/recipes-core/{ocl-icd => opencl}/ocl-icd_git.bb (100%)
 rename meta-oe/recipes-core/{opencl-headers => opencl}/opencl-headers_git.bb (100%)
 rename meta-oe/recipes-core/{opencl-icd-loader => opencl}/opencl-icd-loader_git.bb (100%)
meta-oe/recipes-core/opencl/ocl-icd_git.bb renamed from meta-oe/recipes-core/ocl-icd/ocl-icd_git.bb +0 -0
similarity index 100%
rename from meta-oe/recipes-core/ocl-icd/ocl-icd_git.bb
rename to meta-oe/recipes-core/opencl/ocl-icd_git.bb
meta-oe/recipes-core/opencl/opencl-headers_git.bb renamed from meta-oe/recipes-core/opencl-headers/opencl-headers_git.bb +0 -0
similarity index 100%
rename from meta-oe/recipes-core/opencl-headers/opencl-headers_git.bb
rename to meta-oe/recipes-core/opencl/opencl-headers_git.bb
meta-oe/recipes-core/opencl/opencl-icd-loader_git.bb renamed from meta-oe/recipes-core/opencl-icd-loader/opencl-icd-loader_git.bb +0 -0
similarity index 100%
rename from meta-oe/recipes-core/opencl-icd-loader/opencl-icd-loader_git.bb
rename to meta-oe/recipes-core/opencl/opencl-icd-loader_git.bb
Signature · 1 line
2.25.4
#1 lore raw

PATCH 2/2 opencl-clhpp: add recipe

Recipe to provide OpenCL API C++ bindings.

---
 .../recipes-core/opencl/opencl-clhpp_git.bb   | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-oe/recipes-core/opencl/opencl-clhpp_git.bb
meta-oe/recipes-core/opencl/opencl-clhpp_git.bb new file +22 -0
new file mode 100644
index 000000000..540c5d346
@@ -0,0 +1,22 @@
+SUMMARY  = "OpenCL API C++ bindings"
+DESCRIPTION = "OpenCL API C++ bindings from Khronos"
+
+SRC_URI = "git://github.com/KhronosGroup/OpenCL-CLHPP.git;protocol=https"
+
+LICENSE  = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+PV = "2.0.11+git${SRCPV}"
+SRCREV = "432b551429b362a877ed9b647b7114022b332be0"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+EXTRA_OECMAKE = " \
+                  -DBUILD_DOCS=OFF \
+                  -DBUILD_EXAMPLES=OFF \
+                  -DBUILD_TESTS=OFF \
+                  "
+
+ALLOW_EMPTY_${PN} = "1"
Signature · 1 line
2.25.4
#2 lore raw

Re: [oe] [PATCH 2/2] opencl-clhpp: add recipe

Quoted 28 lines · Anuj Mittal

Recipe to provide OpenCL API C++ bindings.

---
 .../recipes-core/opencl/opencl-clhpp_git.bb   | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-oe/recipes-core/opencl/opencl-clhpp_git.bb
meta-oe/recipes-core/opencl/opencl-clhpp_git.bb new file +7 -0
new file mode 100644
index 000000000..540c5d346
@@ -0,0 +1,22 @@
+SUMMARY  = "OpenCL API C++ bindings"
+DESCRIPTION = "OpenCL API C++ bindings from Khronos"
+
+SRC_URI = "git://github.com/KhronosGroup/OpenCL-CLHPP.git;protocol=https"
+
+LICENSE  = "Apache-2.0"
+LIC_FILES_CHKSUM =

"file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57"

meta-oe/recipes-core/opencl/opencl-clhpp_git.bb new file +5 -0
+
+PV = "2.0.11+git${SRCPV}"
+SRCREV = "432b551429b362a877ed9b647b7114022b332be0"
+
+S = "${WORKDIR}/git"

meta-oe/recipes-core/opencl/opencl-clhpp_git.bb line 22

Quoted 10 lines
meta-oe/recipes-core/opencl/opencl-clhpp_git.bb new file +10 -0
+
+inherit cmake
+
+EXTRA_OECMAKE = " \
+                  -DBUILD_DOCS=OFF \
+                  -DBUILD_EXAMPLES=OFF \
+                  -DBUILD_TESTS=OFF \
+                  "
+
+ALLOW_EMPTY_${PN} = "1"

Why is this needed ?

Quoted 5 lines

--
2.25.4