[Bug 238906] graphics/mesa-dri: Allow building without LLVM
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jul 1 15:40:15 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238906
Charlie Li <ml+freebsd at vishwin.info> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ml+freebsd at vishwin.info
--- Comment #3 from Charlie Li <ml+freebsd at vishwin.info> ---
(In reply to Helge Oldach from comment #2)
> It's not needed for anything else. Broadly speaking, if you don't have a
> Radeon card or don't need acceleration, it's just bloat.
>
LLVM is actually needed for *non-accelerated* graphics, particularly with
LLVMpipe. Many desktop environments/toolkits expect some sort of acceleration
anymore (even if you don't think it does), and LLVMpipe and the like provide
that software rendering.
> (Besides I'm kind of puzzled why we don't simply use the base system's LLVM
> which for 12-STABLE and above is already LLVM80. Maybe just my lack of
> understanding.)
-RELEASEs don't change the toolchain originally available upon release, so for
12.0-RELEASE, LLVM is fixed at 6.0.0. Besides, the base system LLVM is built as
static libraries and binaries, and some LLVM components not needed/useful to
build the base system are stripped away. Think, the base system uses a compiler
toolchain *based on LLVM*, in the same way that the base system GCC isn't
vanilla either.
I won't hesitate to post this wiki page again:
https://wiki.freebsd.org/WhyDoIHaveToBuildLLVMWhenIAlreadyHaveClangInstalled
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-x11
mailing list