[Bug 238906] graphics/mesa-dri: Allow building without LLVM
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jul 2 17:36:53 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238906
--- Comment #7 from Helge Oldach <freebsd at oldach.net> ---
(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, Mesa
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 the
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 capable
platforms, and even on decent platforms it's a burden. This really should be
made more lightweight.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-x11
mailing list