Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Jul 2019 17:36:51 +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-DTl8uyhiKo@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 #7 from Helge Oldach <freebsd@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, 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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238906-7141-DTl8uyhiKo>