Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Jul 2019 15:40:05 +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-FsLUOaWyNI@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

Charlie Li <ml+freebsd@vishwin.info> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ml+freebsd@vishwin.info

--- Comment #3 from Charlie Li <ml+freebsd@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.
>=20
LLVM is actually needed for *non-accelerated* graphics, particularly with
LLVMpipe. Many desktop environments/toolkits expect some sort of accelerati=
on
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 LL=
VM
> 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 buil=
t 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 comp=
iler
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

--=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-FsLUOaWyNI>