Re: git: da2b1b709c95 - main - graphics/mesa-devel: enable anv/iris on aarch64 after 9abb1bde04ba

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 10 Jun 2023 01:57:23 UTC
Jan Beich <jbeich@FreeBSD.org> writes:

> The branch main has been updated by jbeich:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=da2b1b709c95ffe464da34f865ef3bbd5aaea7ad
>
> commit da2b1b709c95ffe464da34f865ef3bbd5aaea7ad
> Author:     Jan Beich <jbeich@FreeBSD.org>
> AuthorDate: 2023-04-18 00:16:32 +0000
> Commit:     Jan Beich <jbeich@FreeBSD.org>
> CommitDate: 2023-04-18 00:45:32 +0000
>
>     graphics/mesa-devel: enable anv/iris on aarch64 after 9abb1bde04ba
>     
>     http://gitlab.freedesktop.org/mesa/mesa/-/commit/3c47627871ab
>     
>     - drm-kmod doesn't provide xe.ko yet
>     - powerpc64le may work but untested upstream

Piotr, can you test the following patch on powerpc64le?

diff --git a/graphics/mesa-devel/Makefile b/graphics/mesa-devel/Makefile
index 520b4f369a0a..f53258025add 100644
--- a/graphics/mesa-devel/Makefile
+++ b/graphics/mesa-devel/Makefile
@@ -57,7 +57,7 @@ OPTIONS_EXCLUDE_i386=	LTO # anv: vkcube fails on vkCreateSwapchainKHR
 OPTIONS_EXCLUDE_powerpc64=	${"${/usr/bin/ld:L:tA}"==/usr/bin/ld.lld:?LTO:} # https://github.com/llvm/llvm-project/issues/46697
 OPTIONS_EXCLUDE+=	${ARCH:Naarch64:C/.+/panfrost/}
 OPTIONS_EXCLUDE+=	${ARCH:Namd64:Ni386:Nx86_64:C/.+/crocus hasvk/}
-OPTIONS_EXCLUDE+=	${ARCH:Naarch64:Namd64:Ni386:Nx86_64:C/.+/anv iris/}
+OPTIONS_EXCLUDE+=	${ARCH:Naarch64:Namd64:Ni386:Nx86_64:Npowerpc64le:C/.+/anv iris/}
 OPTIONS_EXCLUDE+=	${ARCH:Naarch64:Namd64:Ni386:Npowerpc64:Npowerpc64le:Nx86_64:C/.+/LIBUNWIND/}
 OPTIONS_EXCLUDE+=	${"${GL_DEFAULT:S/,/ /g:[-1]}"==${.CURDIR:T}:?COINST:}
 OPTIONS_SLAVE+=		${"${GL_DEFAULT:S/,/ /g:[-1]}"!=${.CURDIR:T}:?COINST:}