From nobody Sat Feb 22 21:41:36 2025 X-Original-To: x11@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Z0gS11qTXz5pSgV for ; Sat, 22 Feb 2025 21:41:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Z0gS05841z41bX for ; Sat, 22 Feb 2025 21:41:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1740260496; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oeOJmbqE44SnTTvpkq8vash7bfqT+tMjT1s0jsG+DEI=; b=O6/NmCIvtll4u3QKDDT0ZhG75jxvnuHoHw5WNZKtpO06QQ0iC9H3j0rgj1xyIQp7PeNb0R SZ9QFdMzhzDSDqb8Kk9DwG3TaNV2fi0nYYB6ABiMTUWRnnT4v9gO1E5UeL5tdORNhQ73jN ZoDd1/4zwWKKYy6IHIi0NFf2DgOcqR36Q9KjrLubfEQvJ3jNyNCrcQ+O0JRI+9nAuX0w6R HMffDM1MFLB6bre1SMoHdpF58uM5AqpFnwC5sC+o74JFO+ImemaeCEcfy87VDVSQS6lHar TXFqAj9bj3bDBwftagfk/yqFAuJwdDqw2az0F9VkLl0g8ki3Evk2wA14mzj1qA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1740260496; a=rsa-sha256; cv=none; b=Ve+SYVnw+D0B2OV0WFRs/BvfETY+wQfMLN+DJN/ANGeaPZhelUA5Hfhuhx3/JrueExD2iL D/ODH3TjPECZ8Wd2KsqKzAcGTJpxkTVmCENF1A+WQpqt8h8rMBlNZMKYImjouYhXc9G5hY 0bY8/pW/FuVtOBB7zbjS3o0AfflmWMnOo7BI2h9Q3EzVWZrTySF9mFFdZFRkQx14OfM/UW YWmXufNH6Lv+OaTs5qZhOVkMpR7ZJ94Dcefced0GLW6WeDVa81AeJI1oh3HFCLb4caExeh wL7K4iHYjFOKIHrbVX41/DugfUDI69dE7gIU7DjkK5ChO6yW0DtkwNNmgRwaMQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1740260496; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oeOJmbqE44SnTTvpkq8vash7bfqT+tMjT1s0jsG+DEI=; b=sb+K75FkLGQoi1XQPUbnrPtJOAmMt4DCCmlCdGD31q/4h4W3xNd6zO0uu5rlEpBtKH0Ngp HGN93mJZM7QjXpmOGdxnnnOTicSJ/BFhSNULud22OudNGN5c10J2i5SvXmNZ4C7NkMCoeS g1MhyIWUIQBnYrANp/oA5goWjshfVRkf//QBcn3e6hr8jcIEAqSPPUqaZRgWflq9wr5V9t WJqGbBigZMWGW8mhb/p6haRA1Q+t72QO9M083sy1aYgoK9M7KQmv9HhFpHqEleoHftn4IW GUtM0bTcU1gXmVYq2DjuscimkjGDnUyDU1/0PpLrjc5vRr1d+7vKlArLpIQqbg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Z0gS04Nybz9mn for ; Sat, 22 Feb 2025 21:41:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 51MLfaDw045162 for ; Sat, 22 Feb 2025 21:41:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 51MLfaII045161 for x11@FreeBSD.org; Sat, 22 Feb 2025 21:41:36 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 238906] graphics/mesa-dri: Allow building without LLVM Date: Sat, 22 Feb 2025 21:41:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd@oldach.net X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-x11@freebsd.org Sender: owner-freebsd-x11@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238906 --- Comment #24 from Helge Oldach --- Keep in mind mesa-dri wants mesa-libs which has USES=3Dllvm:noexport. For my specific graphic card model I have only X11 and swrast enabled and everything else off (for mesa-libs and mesa-dri). Since this PR got closed 5 years ago, I've been fine with below tweak. I think it would suite the RPi4/aarch64 case likewise? diff --git a/graphics/mesa-dri/Makefile b/graphics/mesa-dri/Makefile index be54794d3a73..f60286a54d24 100644 --- a/graphics/mesa-dri/Makefile +++ b/graphics/mesa-dri/Makefile @@ -10,8 +10,6 @@ BUILD_DEPENDS+=3D=20=20=20=20=20=20 ${PYTHON_PKGNAMEPREFIX}ply>0:devel/py-ply@${PY_FLAVOR} LIB_DEPENDS+=3D libglapi.so:graphics/mesa-libs -USES+=3D llvm:lib,noexport - OPTIONS_DEFINE=3D ZSTD OPTIONS_GROUP=3D GALLIUM PLATFORM VULKAN OPTIONS_DEFAULT=3D WAYLAND X11 ZSTD diff --git a/graphics/mesa-dri/Makefile.common b/graphics/mesa-dri/Makefile.common index a97e27012721..2e7dafb0835c 100644 --- a/graphics/mesa-dri/Makefile.common +++ b/graphics/mesa-dri/Makefile.common @@ -77,5 +77,5 @@ MESON_ARGS+=3D -Dlibelf=3Ddisabled LDFLAGS+=3D -Wl,--undefined-version LDFLAGS+=3D -Wl,-rpath=3D${LOCALBASE}/llvm${LLVM_VERSION}/lib -MESON_ARGS+=3D -Dllvm=3Denabled \ +MESON_ARGS+=3D -Dllvm=3Ddisabled \ -Dlibunwind=3Ddisabled diff --git a/graphics/mesa-libs/Makefile b/graphics/mesa-libs/Makefile index 7ffe5201b2a5..4c99f446a048 100644 --- a/graphics/mesa-libs/Makefile +++ b/graphics/mesa-libs/Makefile @@ -9,8 +9,6 @@ WWW=3D https://www.mesa3d.org/ LICENSE=3D MIT LICENSE_FILE=3D ${WRKSRC}/docs/license.rst -USES=3D llvm:noexport - BUILD_DEPENDS=3D libglvnd>=3D0:graphics/libglvnd OPTIONS_GROUP=3D PLATFORM --=20 You are receiving this mail because: You are the assignee for the bug.=