mesa: disable llvmpipe except on select architectures

This commit is contained in:
q66 2021-10-21 14:25:45 +02:00
parent 5d61413e8b
commit 0335439623
1 changed files with 8 additions and 0 deletions

View File

@ -28,6 +28,14 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
configure_args+=" -Duse-elf-tls=false"
fi
# only use llvmpipe on targets where it's supported and reliable
# especially on big endian it's all kinds of broken, and e.g. on
# 32-bit powerpc it does not work at all, so fall back to softpipe
case "$XBPS_TARGET_MACHINE" in
x86_64*|aarch64*|ppc64le*|arm*) ;;
*) configure_args+=" -Ddraw-use-llvm=false" ;;
esac
# Set subpackages manually to set proper rdeps in 32bit pkgs.
subpackages="libglapi libgbm libOSMesa"