From owner-freebsd-x11@freebsd.org Tue Jul 2 17:36:53 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 49EB415D91E1 for ; Tue, 2 Jul 2019 17:36:53 +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 D78B48F2F9 for ; Tue, 2 Jul 2019 17:36:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 95A3415D91E0; Tue, 2 Jul 2019 17:36:52 +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 7049415D91DF for ; Tue, 2 Jul 2019 17:36:52 +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 0B1728F2F4 for ; Tue, 2 Jul 2019 17:36:52 +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 6023227958 for ; Tue, 2 Jul 2019 17:36:51 +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 x62HapDA092113 for ; Tue, 2 Jul 2019 17:36:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x62HapHJ092112 for x11@FreeBSD.org; Tue, 2 Jul 2019 17:36:51 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 17:36:51 +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-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 17:36:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238906 --- Comment #7 from Helge Oldach --- (In reply to Niclas Zeising from comment #4) > Adding more options and complexity to mesa is not desirable. 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, Me= sa has indeed been working fine in the non accelerated case. I understand the background of the recent build unification for other platforms, however for the common amd64 and i386 cases this took away a nice feature. > 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. 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! Furthermore this price is paid even when it's not needed - for example in t= he not too unusual case of a stock Intel CPU with built-in graphics. > We understand that this can be resource intensive for some people It's not the people, it basically disallows using 3d graphics on less capab= le platforms, and even on decent platforms it's a burden. This really should be made more lightweight. --=20 You are receiving this mail because: You are the assignee for the bug.=