Date: Tue, 02 Jul 2019 18:15:44 +0000 From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 238906] graphics/mesa-dri: Allow building without LLVM Message-ID: <bug-238906-7141-CqNc7y9e25@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-238906-7141@https.bugs.freebsd.org/bugzilla/> References: <bug-238906-7141@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238906 --- Comment #10 from Niclas Zeising <zeising@FreeBSD.org> --- (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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238906-7141-CqNc7y9e25>