- config_query_list MESA_OPENCL "Build gallium OpenCL (clover) frontend?" \
- icd \
- standalone \
- disabled &&
+ config_query_list MESA_OPENCL_ENABLE "Build gallium OpenCL (clover)
frontend?" n &&
+
+ if [[ "$MESA_OPENCL_ENABLE" == "y" ]] ;then
+ config_query_list MESA_OPENCL "How should the gallium OpenCL (clover)
frontend be built?" \
+ icd \
+ standalone \
+ &&
+ config_query MESA_OPENCL_SPIRV "Enable SPIR-V support in OpenCL (clover)
frontend?" n
+ fi &&
config_query MESA_RUSTICL "Build gallium rusticl frontend?" n &&
diff --git a/graphics-libs/mesa/HISTORY b/graphics-libs/mesa/HISTORY
index 5a6bfd0..e5d3812 100644
--- a/graphics-libs/mesa/HISTORY
+++ b/graphics-libs/mesa/HISTORY
@@ -1,6 +1,5 @@
-2025-01-20 Pavel Vinogradov <public AT sourcemage.org>
- * CONFIGURE, BUILD: fixed the type of MESA_OPENCL and removed
- MESA_OPENCL_SPIRV handle along with non-existant opencl-spirv flag
+2025-01-21 Justin Boffemmyer <flux AT sourcemage.org>
+ * BUILD, CONFIGURE: correct OpenCL options