summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-core/opencl/files/0001-Always-enable-beta-extensions-2330.patch32
-rw-r--r--meta-oe/recipes-core/opencl/opencl-cts_2025.04.14.bb (renamed from meta-oe/recipes-core/opencl/opencl-cts_2025.01.22.bb)3
2 files changed, 1 insertions, 34 deletions
diff --git a/meta-oe/recipes-core/opencl/files/0001-Always-enable-beta-extensions-2330.patch b/meta-oe/recipes-core/opencl/files/0001-Always-enable-beta-extensions-2330.patch
deleted file mode 100644
index 430f9575c4..0000000000
--- a/meta-oe/recipes-core/opencl/files/0001-Always-enable-beta-extensions-2330.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1From 3a275fe81b6d436194f563e7a3d24f302d14a211 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?K=C3=A9vin=20Petit?= <kpet@free.fr>
3Date: Tue, 11 Mar 2025 18:40:29 +0000
4Subject: [PATCH] Always enable beta extensions (#2330)
5
6`CL_ENABLE_BETA_EXTENSIONS` was just introduced in
7https://github.com/KhronosGroup/OpenCL-Headers/pull/276
8to guard provisional and other experimental extensions. The CTS
9currently assumes
10all definitions are always present.
11
12Signed-off-by: Kevin Petit <kevin.petit@arm.com>
13Upstream-Status: Backport [https://github.com/KhronosGroup/OpenCL-CTS/commit/3a275fe81b6d436194f563e7a3d24f302d14a211]
14---
15 CMakeLists.txt | 1 +
16 1 file changed, 1 insertion(+)
17
18diff --git a/CMakeLists.txt b/CMakeLists.txt
19index 898f62e97bdc..8a93ea9fb843 100644
20--- a/CMakeLists.txt
21+++ b/CMakeLists.txt
22@@ -18,6 +18,7 @@ add_definitions(-DCL_USE_DEPRECATED_OPENCL_1_2_APIS=1)
23 add_definitions(-DCL_USE_DEPRECATED_OPENCL_1_1_APIS=1)
24 add_definitions(-DCL_USE_DEPRECATED_OPENCL_1_0_APIS=1)
25 add_definitions(-DCL_NO_EXTENSION_PROTOTYPES)
26+add_definitions(-DCL_ENABLE_BETA_EXTENSIONS)
27
28 option(USE_CL_EXPERIMENTAL "Use Experimental definitions" OFF)
29 if(USE_CL_EXPERIMENTAL)
30--
312.47.2
32
diff --git a/meta-oe/recipes-core/opencl/opencl-cts_2025.01.22.bb b/meta-oe/recipes-core/opencl/opencl-cts_2025.04.14.bb
index 52c8c59f27..9c6a55691f 100644
--- a/meta-oe/recipes-core/opencl/opencl-cts_2025.01.22.bb
+++ b/meta-oe/recipes-core/opencl/opencl-cts_2025.04.14.bb
@@ -10,10 +10,9 @@ RDEPENDS:${PN} += "python3-core python3-io"
10 10
11 11
12SRC_URI = "git://github.com/KhronosGroup/OpenCL-CTS.git;protocol=https;branch=main;lfs=0 \ 12SRC_URI = "git://github.com/KhronosGroup/OpenCL-CTS.git;protocol=https;branch=main;lfs=0 \
13 file://0001-Always-enable-beta-extensions-2330.patch \
14 file://0001-Ignore-Compiler-Warnings.patch" 13 file://0001-Ignore-Compiler-Warnings.patch"
15 14
16SRCREV = "5b3518096ca7b82854daadb2b2fae704fe2d9cb5" 15SRCREV = "e96edaef8b582c2412a2aab4b82f5c88af88617d"
17 16
18EXTRA_OECMAKE:append = " -DENABLE_WERROR=OFF -DCL_INCLUDE_DIR=${STAGING_INCDIR} -DCL_LIB_DIR=${STAGING_LIBDIR} -DOPENCL_LIBRARIES=OpenCL" 17EXTRA_OECMAKE:append = " -DENABLE_WERROR=OFF -DCL_INCLUDE_DIR=${STAGING_INCDIR} -DCL_LIB_DIR=${STAGING_LIBDIR} -DOPENCL_LIBRARIES=OpenCL"
19 18