diff mbox series

[meta-arago,scarthgap,v1,2/3] meta-arago-test: recipes-graphics: Add opencl c headers

Message ID 20250505153309.1739313-3-a-christidis@ti.com
State New
Headers show
Series OpenCL C / C++ header revamp | expand

Commit Message

Antonios Christidis May 5, 2025, 3:33 p.m. UTC
From: Antonios Christidis <a-christidis@ti.com>

Add opencl c headers, tag 2024.05.08.

Signed-off-by: Antonios Christidis <a-christidis@ti.com>
---
 .../opencl/opencl-headers_2024.05.08.bb       | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 meta-arago-test/recipes-graphics/opencl/opencl-headers_2024.05.08.bb

Comments

Denys Dmytriyenko May 6, 2025, 4:11 p.m. UTC | #1
On Mon, May 05, 2025 at 10:33:08AM -0500, Antonios Christidis via lists.yoctoproject.org wrote:
> From: Antonios Christidis <a-christidis@ti.com>
> 
> Add opencl c headers, tag 2024.05.08.

Same comment I gave to Randolph for mesa-demos - adding a different/newer 
version of an upstream recipe is generally not recommended from a YP 
compliance perspective. That's why it was a guarded .bbappend here.

May not be a big issue for scarthgap only, as long as it's done properly in 
master.


> Signed-off-by: Antonios Christidis <a-christidis@ti.com>
> ---
>  .../opencl/opencl-headers_2024.05.08.bb       | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
>  create mode 100644 meta-arago-test/recipes-graphics/opencl/opencl-headers_2024.05.08.bb
> 
> diff --git a/meta-arago-test/recipes-graphics/opencl/opencl-headers_2024.05.08.bb b/meta-arago-test/recipes-graphics/opencl/opencl-headers_2024.05.08.bb
> new file mode 100644
> index 00000000..b66181a9
> --- /dev/null
> +++ b/meta-arago-test/recipes-graphics/opencl/opencl-headers_2024.05.08.bb
> @@ -0,0 +1,19 @@
> +SUMMARY  = "OpenCL API Headers"
> +DESCRIPTION = "OpenCL compute API headers from Khronos Group"
> +LICENSE  = "Apache-2.0"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
> +SECTION = "base"
> +
> +S = "${WORKDIR}/git"
> +
> +SRCREV = "8275634cf9ec31b6484c2e6be756237cb583999d"
> +
> +SRC_URI = "git://github.com/KhronosGroup/OpenCL-Headers.git;branch=main;protocol=https"
> +
> +inherit cmake
> +
> +EXTRA_OECMAKE = "-DBUILD_TESTING=OFF"
> +
> +ALLOW_EMPTY:${PN} = "1"
> +
> +BBCLASSEXTEND = "native nativesdk"
> -- 
> 2.34.1
diff mbox series

Patch

diff --git a/meta-arago-test/recipes-graphics/opencl/opencl-headers_2024.05.08.bb b/meta-arago-test/recipes-graphics/opencl/opencl-headers_2024.05.08.bb
new file mode 100644
index 00000000..b66181a9
--- /dev/null
+++ b/meta-arago-test/recipes-graphics/opencl/opencl-headers_2024.05.08.bb
@@ -0,0 +1,19 @@ 
+SUMMARY  = "OpenCL API Headers"
+DESCRIPTION = "OpenCL compute API headers from Khronos Group"
+LICENSE  = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+SECTION = "base"
+
+S = "${WORKDIR}/git"
+
+SRCREV = "8275634cf9ec31b6484c2e6be756237cb583999d"
+
+SRC_URI = "git://github.com/KhronosGroup/OpenCL-Headers.git;branch=main;protocol=https"
+
+inherit cmake
+
+EXTRA_OECMAKE = "-DBUILD_TESTING=OFF"
+
+ALLOW_EMPTY:${PN} = "1"
+
+BBCLASSEXTEND = "native nativesdk"