Hi Tomas,

Le 06/08/2023 à 23:38, Tomas M a écrit :
Hello, I am writing you because you are maintaining libgl1-mesa-dri
package. This package depends on libLLVM. As far as I know LLVM is a
compiler, and I do not really see the reason why ANY compiled software
should depend on (link to shared library of) a compiler which was used
to compile it.

LLVM is not actually a compiler, but it provides the infrastructure to build one. LLVM-based compilers include clang, which is probably what you're referring to.

As a matter of fact, mesa uses LLVM to "compile" OpenGL into CPU instructions on devices with no GPU to handle those (see https://docs.mesa3d.org/drivers/llvmpipe.html for a better description).

Is it possible to update the mesa package to ensure it does not depend
on libLLVM? If not, would it be possible to incorporate the required
libLLVM functions statically into dri modules, instead of linking to
libLLVM.so (which is, like, 127MB) ?

I'm not involved in the maintenance of mesa, but due to the need for llvmpipe, I doubt there's any way to avoid this dependency.

Cheers,
Arnaud


Thanks for consideration

Tomas M


Reply via email to