1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

graphics/mesa-devel: unbreak clover on iris/crocus after 222ad6365e

$ 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
This commit is contained in:
Jan Beich 2024-09-28 23:43:20 +02:00
parent 9a7cf8d3cc
commit 61575915c3

View File

@ -1,6 +1,7 @@
PORTNAME= mesa
DISTVERSION= 24.2-branchpoint-3388
DISTVERSIONSUFFIX= -g6c84103276a
PORTREVISION= 1
CATEGORIES= graphics
PKGNAMESUFFIX= -devel
@ -114,7 +115,7 @@ OPENCL_RUN_DEPENDS= libclc-${LLVM_PORT:T}>0:devel/libclc@${LLVM_PORT:T}
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