The shader cache code wont be used on this platform so just disable
it to avoid make check errors.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103264
---
 configure.ac | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index c0fbfe94135..dc361b03a52 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2097,8 +2097,10 @@ if test -n "$with_vulkan_drivers"; then
     VULKAN_DRIVERS=`echo $VULKAN_DRIVERS|tr " " "\n"|sort -u|tr "\n" " "`
 fi
 
+if test "x$dri_platform" != xapple; then
+    DEFINES="$DEFINES -DENABLE_SHADER_CACHE"
+fi
 
-DEFINES="$DEFINES -DENABLE_SHADER_CACHE"
 AM_CONDITIONAL(NEED_MEGADRIVER, test -n "$DRI_DIRS")
 AM_CONDITIONAL(NEED_LIBMESA, test "x$enable_glx" = xxlib -o \
                                   "x$enable_osmesa" = xyes -o \
-- 
2.17.0

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to