[Mesa-dev] [PATCH] meson: add option to statically link llvm

Christoph Haag haagch at frickel.club
Tue Sep 18 18:19:30 UTC 2018


On 9/18/18 6:56 PM, Dylan Baker wrote:
> I can't say I'm entirely thrilled, but:
> Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
> 
> Do you need me to push this for you?
> 
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Not thrilled about the special case of static llvm linking?

Unfortunately I do need it. My setup is a custom llvm installation in
/usr/lib/llvm-mesa/ and mesa linked to this installation.
Even with system and custom llvm using symbol versioning I get crashes
in applications that use both mesa and llvm.
For example kdevelep upses qt -> mesa -> llvm and it also uses
clang-complete -> llvm, which causes a crash.


The patch follows the example of the shared-glapi option, so I went for
consistency there.

Yes, I do not have push permissions so please push it.

Thanks


More information about the mesa-dev mailing list