git: 311a1ef5ebf0 - 2024Q3 - graphics/mesa-devel: unbreak clover on iris/crocus after 222ad6365e18
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 28 Sep 2024 21:45:38 UTC
The branch 2024Q3 has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=311a1ef5ebf011b6e78bcd53597a072a1a2ceffc
commit 311a1ef5ebf011b6e78bcd53597a072a1a2ceffc
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-09-28 21:43:20 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-09-28 21:44:59 +0000
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)
---
graphics/mesa-devel/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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