summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2024-09-28 23:43:20 +0200
committerJan Beich <jbeich@FreeBSD.org>2024-09-28 23:44:59 +0200
commit311a1ef5ebf011b6e78bcd53597a072a1a2ceffc (patch)
tree3dd96cc50b5955f1435a305d845e563d1fe99d8b
parent3514705d501d8babd38d31145c4e88bce1b76441 (diff)
graphics/mesa-devel: unbreak clover on iris/crocus after 222ad6365e18
$ IRIS_ENABLE_CLOVER=1 clpeak WARNING: OpenCL support via iris driver is incomplete. For a complete and conformant OpenCL implementation, use https://github.com/intel/compute-runtime instead Platform: rusticl clCreateContextFromType (-1) Regressed by: https://gitlab.freedesktop.org/mesa/mesa/-/commit/82e9880b04f3 (cherry picked from commit 61575915c3106a636032c8fd5d40385c448a399a)
-rw-r--r--graphics/mesa-devel/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/mesa-devel/Makefile b/graphics/mesa-devel/Makefile
index 3fa4e0cd5b15..3f73ed4fbc21 100644
--- a/graphics/mesa-devel/Makefile
+++ b/graphics/mesa-devel/Makefile
@@ -1,6 +1,7 @@
PORTNAME= mesa
DISTVERSION= 24.1-branchpoint-3782
DISTVERSIONSUFFIX= -gc8d64860ec7
+PORTREVISION= 1
CATEGORIES= graphics
PKGNAMESUFFIX= -devel
@@ -113,7 +114,7 @@ OPENCL_RUN_DEPENDS= libclc>0:devel/libclc
OPENCL_SOVERSION= ${LLVM_VERSION}${${LLVM_VERSION}>=18:?.1:}
OPENCL_CONFIGURE_ENV= PKG_CONFIG_PATH="${LLVM_PREFIX}/libdata/pkgconfig"
OPENCL_MESON_FALSE= b_lundef # environ
-OPENCL_MESON_TRUE= gallium-rusticl
+OPENCL_MESON_TRUE= gallium-rusticl opencl-spirv
OPENCL_MESON_ON= -Dgallium-opencl=icd
OPENCL_MESON_OFF= -Dgallium-opencl=disabled
OPENCL_VARS+= COINST_RUN_DEPENDS+=clover>0:lang/clover # ICD