mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Mesa: update gallium llvm support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
e77c28d1ee
commit
619efec11c
@ -31,6 +31,9 @@ get_graphicdrivers
|
||||
|
||||
if [ "$LLVM_SUPPORT" = "yes" ]; then
|
||||
export LLVM_CONFIG="$SYSROOT_PREFIX/usr/bin/llvm-config"
|
||||
MESA_GALLIUM_LLVM="--enable-gallium-llvm"
|
||||
else
|
||||
MESA_GALLIUM_LLVM="--disable-gallium-llvm"
|
||||
fi
|
||||
|
||||
cd $PKG_BUILD
|
||||
@ -60,6 +63,7 @@ DRI_DRIVER_SEARCH_DIR="$XORG_PATH_DRI" \
|
||||
--disable-glw \
|
||||
--disable-motif \
|
||||
--with-gallium-drivers="$GALLIUM_DRIVERS" \
|
||||
$MESA_GALLIUM_LLVM \
|
||||
--with-driver="dri" \
|
||||
--with-dri-drivers="$DRI_DRIVERS" \
|
||||
--with-xorg-driver-dir="$XORG_PATH_DRIVERS" \
|
||||
|
@ -40,5 +40,6 @@ get_graphicdrivers
|
||||
|
||||
if [ "$LLVM_SUPPORT" = "yes" ]; then
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS llvm"
|
||||
PKG_DEPENDS="$PKG_DEPENDS llvm"
|
||||
# actually we dont need llvm installed because its linked statically
|
||||
# PKG_DEPENDS="$PKG_DEPENDS llvm"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user