Message ID | 20250612-mesa-pkgconfig-no-hardcode-llvm-v1-0-479632e13175@cherry.de |
---|---|
Headers | show |
Series | mesa: disable building nouveau/r300 on non-x86/i686 machines by default | expand |
2025. 06. 12. 14:14 keltezéssel, Quentin Schulz via lists.openembedded.org írta: > Whenever building gallium-llvm drivers on non-x86/i686 machines, we > currently always build r300 and nouveau drivers but they aren't > necessarily needed. How about r600?
On Fri, 13 Jun 2025 at 09:40, Böszörményi Zoltán <zboszor@gmail.com> wrote: > > 2025. 06. 12. 14:14 keltezéssel, Quentin Schulz via lists.openembedded.org írta: > > Whenever building gallium-llvm drivers on non-x86/i686 machines, we > > currently always build r300 and nouveau drivers but they aren't > > necessarily needed. > > How about r600? > r600 is already gated by the 'amd' PACKAGECONFIG.
Whenever building gallium-llvm drivers on non-x86/i686 machines, we currently always build r300 and nouveau drivers but they aren't necessarily needed. So this makes them optional by either reusing the amd PACKAGECONFIG or adding the new nouveau PACKAGECONFIG. This shouldn't change anything for you except if you're building gallium-llvm drivers for non-x86/i686 machines and want those to be enabled, then you'll need to add amd or nouveau to your PACKAGECONFIG. Note: not tested Note: weirdly enough, the tegra PACKAGECONFIG enables both tegra and nouveau gallium drivers but not via the gallium-llvm PACKAGECONFIG, so I'm not sure nouveau is actually an llvm driver or if it is, that tegra PACKAGECONFIG actually works standalone. Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de> --- Quentin Schulz (2): mesa: do not build r300 AMD gallium-llvm driver if not requested mesa: do not build nouveau NVIDIA gallium-llvm driver if not requested meta/recipes-graphics/mesa/mesa.inc | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) --- base-commit: aad1f72e157cb58b70de5943646de3543d8844da change-id: 20250612-mesa-pkgconfig-no-hardcode-llvm-0ea8eb10a583 Best regards,