mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
mesa: build panfrost compiler as required by 25.1.0
This commit is contained in:
parent
ea513618ba
commit
a29dfdf64e
@ -61,11 +61,17 @@ if listcontains "${GRAPHIC_DRIVERS}" "etnaviv"; then
|
||||
PKG_DEPENDS_TARGET+=" pycparser:host"
|
||||
fi
|
||||
|
||||
if listcontains "${GRAPHIC_DRIVERS}" "(iris|panfrost)"; then
|
||||
if listcontains "${GRAPHIC_DRIVERS}" "iris"; then
|
||||
PKG_DEPENDS_TARGET+=" mesa:host"
|
||||
PKG_MESON_OPTS_TARGET+=" -Dmesa-clc=system"
|
||||
fi
|
||||
|
||||
if listcontains "${GRAPHIC_DRIVERS}" "panfrost"; then
|
||||
PKG_DEPENDS_TARGET+=" mesa:host"
|
||||
PKG_MESON_OPTS_HOST+=" -Dtools=panfrost"
|
||||
PKG_MESON_OPTS_TARGET+=" -Dprecomp-compiler=system -Dmesa-clc=system"
|
||||
fi
|
||||
|
||||
if listcontains "${GRAPHIC_DRIVERS}" "(nvidia|nvidia-ng)" ||
|
||||
[ "${OPENGL_SUPPORT}" = "yes" ] &&
|
||||
[ "${DISPLAYSERVER}" != "x11" ]; then
|
||||
@ -120,4 +126,8 @@ makeinstall_host() {
|
||||
mkdir -p "${TOOLCHAIN}/bin"
|
||||
cp -a src/compiler/clc/mesa_clc "${TOOLCHAIN}/bin"
|
||||
cp -a src/compiler/spirv/vtn_bindgen2 "${TOOLCHAIN}/bin"
|
||||
|
||||
if listcontains "${GRAPHIC_DRIVERS}" "panfrost"; then
|
||||
cp -a src/panfrost/clc/panfrost_compile "${TOOLCHAIN}/bin"
|
||||
fi
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user