diff --git a/meta-oe/recipes-core/opencl/opencl-cts_2024.08.08.bb b/meta-oe/recipes-core/opencl/opencl-cts_2024.08.08.bb
index 69181916b1..a65c3da7fc 100644
--- a/meta-oe/recipes-core/opencl/opencl-cts_2024.08.08.bb
+++ b/meta-oe/recipes-core/opencl/opencl-cts_2024.08.08.bb
@@ -26,3 +26,6 @@ do_install() {
 	 find "${D}${bindir}/opencl_test_conformance" -name cmake_install.cmake -type f -delete
         find "${D}${bindir}/opencl_test_conformance" -name CMakeFiles -type d -exec rm -rf "{}" \; -depth
 }
+
+COMPATIBLE_HOST:riscv64 = "null"
+COMPATIBLE_HOST:riscv32 = "null"
