From owner-freebsd-x11@freebsd.org Tue Jul 2 18:15:46 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 62DC015D9D63 for ; Tue, 2 Jul 2019 18:15:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D5BEA685F4 for ; Tue, 2 Jul 2019 18:15:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 99BA815D9D62; Tue, 2 Jul 2019 18:15:45 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7785015D9D60 for ; Tue, 2 Jul 2019 18:15:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 15BC4685F2 for ; Tue, 2 Jul 2019 18:15:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 5679C27F07 for ; Tue, 2 Jul 2019 18:15:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x62IFipf055394 for ; Tue, 2 Jul 2019 18:15:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x62IFi7M055387 for x11@FreeBSD.org; Tue, 2 Jul 2019 18:15:44 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: Tue, 02 Jul 2019 18:15:44 +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: zeising@FreeBSD.org 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-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jul 2019 18:15:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238906 --- Comment #10 from Niclas Zeising --- (In reply to Helge Oldach from comment #7) > (In reply to Niclas Zeising from comment #4) > > Adding more options and complexity to mesa is not desirable. >=20 > Actually this option was in place until a few days ago! It was called > MESA_LLVM_VER. Setting this Makefile variable to an empty string had > effectively suppressed any LLVM dependency. Please cross-check with the > previous Makefile and Makefile.common before the recent update. And yes, > Mesa has indeed been working fine in the non accelerated case. This was never supported, and the fact that it did work was an accident. >=20 > I understand the background of the recent build unification for other > platforms, however for the common amd64 and i386 cases this took away a n= ice > feature. >=20 > > The reason we use llvm from ports is two fold. First off, it gives us > > one unified version of llvm+mesa across all of FreeBSD, which lessens > > the diversity and makes the port easier to test and maintain. Secondly, > > and perhaps more importantly, as already been pointed out, the libraries > > that mesa needs are not provided by base llvm. >=20 > Story is clear, but the price is extremely high. In my case it has almost > doubled the disk size of port installation. Also compilation is a burden - > LLVM takes hours to build on less capable platforms - it's an order of > magnitude more than just Mesa alone! >=20 > Furthermore this price is paid even when it's not needed - for example in > the not too unusual case of a stock Intel CPU with built-in graphics. >=20 > > We understand that this can be resource intensive for some people >=20 > It's not the people, it basically disallows using 3d graphics on less > capable platforms, and even on decent platforms it's a burden. This really > should be made more lightweight. It is possible to install both llvm and mesa from pkg, they work quite well, and you don't have to build everything yourself. Changing the mesa ports to make llvm optional, even if possible, makes these already quite complex ports even more complex, and adds further use cases to test for. All this requires more man power. Regards Niclas Zeising FreeBSD Graphics Team --=20 You are receiving this mail because: You are the assignee for the bug.=