[Buildroot] [PATCH 1/1] package/mesa3d: i915 Gallium driver needs llvm
Bernd Kuhls <[email protected]>
| Newsgroups | net.busybox.buildroot |
|---|---|
| Message-ID | <[email protected]> |
Buildroot commit 3e296a151195f9d32dbfd62d6c75d08b822be6dd bumped the package to 25.3.0 which includes upstream commit https://gitlab.freedesktop.org/mesa/mesa/-/commit/b8b38d38b1c14b60de0324ac2f98ff7f1f4cc3c5 that enforces llvm for the i915 gallium driver causing configure errors in buildroot: ../output-1/build/mesa3d-26.1.6/meson.build:241:3: ERROR: Feature llvm cannot be disabled: i915 Gallium driver requires LLVM for vertex shaders Please note that https://gitlab.freedesktop.org/mesa/mesa/-/commit/4235c39a9a8378f1e2dc0899dd4c3c941f27b887 later removed the llvm dependency for the r300 driver introduced by the commit mentioned above so we only need to add the dependency to the i915 driver. The configure option draw-use-llvm is disabled by default when llvm is not available: https://gitlab.freedesktop.org/mesa/mesa/-/commit/37c7d19e46a4863c120186a99ac0344c2dd31260 Fixes: https://autobuild.buildroot.org/results/acd9039901cf4168e6318c62252ddae6ea0ec93d/ Signed-off-by: Bernd Kuhls <[email protected]> --- package/mesa3d/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in index e184039150..b78b6267d0 100644 --- a/package/mesa3d/Config.in +++ b/package/mesa3d/Config.in @@ -158,11 +158,15 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_FREEDRENO config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_I915 bool "Gallium i915 driver" depends on BR2_i386 || BR2_x86_64 + depends on BR2_PACKAGE_MESA3D_LLVM select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER select BR2_PACKAGE_LIBDRM_INTEL help Support for i915-based Intel GPUs. +comment "i915 driver needs llvm" + depends on !BR2_PACKAGE_MESA3D_LLVM + config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_IRIS bool "Gallium iris driver" depends on BR2_PACKAGE_MESA3D_LLVM -- 2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot