mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-09 17:03:35 -09:00
package/mesa3d: explicitly enable llvm for host-mesa3d
LLVM is already implicitly enabled for host-mesa3d when BR2_PACKAGE_MESA3D_NEEDS_PRECOMP_COMPILER is selected. This blind option is automatically enabled when LLVM is required by drivers such as intel-iris, panfrost, imagination, or intel-vulkan. The BR2_PACKAGE_MESA3D_LLVM option also independently selects host-llvm, but this change makes the dependency more explicit for host-mesa3d builds. Note that disabling LLVM is not possible for host-mesa3d, as the build will fail with: ../../../br-test-pkg/bootlin-armv5-uclibc/build/host-mesa3d-25.3.2/meson.build:847:3: ERROR: Feature llvm cannot be disabled: CLC requires LLVM Signed-off-by: Thomas Devoogdt <thomas@devoogdt.com> Signed-off-by: Romain Naour <romain.naour@smile.fr>
This commit is contained in:
committed by
Romain Naour
parent
eb25a634c1
commit
db1a28435d
@@ -297,6 +297,7 @@ HOST_MESA3D_CONF_OPTS = \
|
||||
-Dgallium-drivers=$(subst $(space),$(comma),$(HOST_MESA3D_GALLIUM_DRIVERS-y)) \
|
||||
-Dtools=$(subst $(space),$(comma),$(HOST_MESA3D_TOOLS)) \
|
||||
-Dinstall-mesa-clc=true \
|
||||
-Dllvm=enabled \
|
||||
-Dmesa-clc=enabled \
|
||||
-Dplatforms= \
|
||||
-Dprecomp-compiler=enabled \
|
||||
@@ -306,6 +307,7 @@ HOST_MESA3D_CONF_OPTS = \
|
||||
HOST_MESA3D_DEPENDENCIES = \
|
||||
host-libclc \
|
||||
host-libdrm \
|
||||
host-llvm \
|
||||
host-python-mako \
|
||||
host-python-pyyaml \
|
||||
host-spirv-tools
|
||||
|
||||
Reference in New Issue
Block a user