Android.mk: Explicitly enable/disable LLVM support
The AMD Vulkan driver uses LLVM by default, but it is possible to build the driver without the LLVM dependency. In this case, we must explicitly disable LLVM support, or else meson will die after failing to find LLVM. The Android build system already knows when to link libLLVM, so forward that information to meson. Cc: mesa-stable Acked-by: Mauro Rossi <issor.oruam@gmail.com> Reviewed-by: Roman Stratiienko <r.stratiienko@gmail.com> Change-Id: I7489d3811625b390aaaf2e84e666b4a8d98328b0 Signed-off-by: Samuel Holland <samuel.holland@sifive.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24007>
This commit is contained in:

committed by
Marge Bot

parent
599f47f11c
commit
ec32619cb0
@@ -89,6 +89,7 @@ MESON_GEN_NINJA := \
|
||||
-Dvulkan-drivers=$(subst $(space),$(comma),$(subst radeon,amd,$(BOARD_MESA3D_VULKAN_DRIVERS))) \
|
||||
-Dgbm=enabled \
|
||||
-Degl=$(if $(BOARD_MESA3D_GALLIUM_DRIVERS),enabled,disabled) \
|
||||
-Dllvm=$(if $(MESON_GEN_LLVM_STUB),enabled,disabled) \
|
||||
-Dcpp_rtti=false \
|
||||
-Dlmsensors=disabled \
|
||||
|
||||
|
Reference in New Issue
Block a user