Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jun 2024 00:27:48 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: c2b4f02436b7 - 2024Q2 - graphics/mesa-devel: allow LLVM=off with AMD GPUs after 2ce6ce9f7525
Message-ID:  <202406060027.4560Rm3O050445@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2024Q2 has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c2b4f02436b73b46725544f822d84e8c9c3ce7ed

commit c2b4f02436b73b46725544f822d84e8c9c3ce7ed
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-06-05 22:31:04 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-06-06 00:27:22 +0000

    graphics/mesa-devel: allow LLVM=off with AMD GPUs after 2ce6ce9f7525
    
    llvmpipe/lavapipe are not included in this port to avoid downgrade bugs,
    so no need to create a separate option.
    
    https://gitlab.freedesktop.org/mesa/mesa/-/commit/2aaa6ebba186
    (cherry picked from commit 58c2c17aaa7f5c1ce5a8b5987c0c1f9fc298ab77)
---
 graphics/mesa-devel/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/graphics/mesa-devel/Makefile b/graphics/mesa-devel/Makefile
index 717c9c528bc2..7d5f1ac7cea5 100644
--- a/graphics/mesa-devel/Makefile
+++ b/graphics/mesa-devel/Makefile
@@ -73,7 +73,7 @@ iris_DESC=		Broadwell and newer (implies OPENCL)
 iris_IMPLIES=		OPENCL
 panfrost_DESC=		Midgard, Bifrost
 r600_DESC=		R600, R700, Evergreen, Northern Islands (implies LLVM)
-radeonsi_DESC=		Southern Islands and newer (implies LLVM)
+radeonsi_DESC=		Southern Islands and newer
 
 VULKAN_DESC=		Vulkan drivers
 anv_DESC=		Skylake and newer (implies OPENCL)
@@ -81,7 +81,7 @@ anv_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ply>0:devel/py-ply@${PY_FLAVOR}
 anv_MESON_ON=		${"${ARCH:Mamd64}":?:-Dintel-rt=disabled} # https://gitlab.freedesktop.org/mesa/mesa/-/issues/10629
 anv_IMPLIES=		OPENCL
 hasvk_DESC=		Ivy Bridge, Haswell, Broadwell
-radv_DESC=		Southern Islands and newer (implies LLVM)
+radv_DESC=		Southern Islands and newer
 radv_BUILD_DEPENDS=	glslangValidator:graphics/glslang
 
 COINST_DESC=		Allow co-installation with another Mesa port
@@ -100,7 +100,8 @@ LLVM_DESC=		Build with LLVM support (see implies)
 LLVM_USES=		llvm:min=15,lib,noexport
 LLVM_CONFIGURE_ENV=	LLVM_CONFIG=${LLVM_CONFIG}
 LLVM_MESON_ENABLED=	llvm
-.for i in r600 radeonsi radv
+LLVM_MESON_TRUE=	amd-use-llvm
+.for i in r600
 ${i}_IMPLIES+=		LLVM
 .endfor
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202406060027.4560Rm3O050445>