mesa: disable llvmpipe except on select architectures
This commit is contained in:
parent
5d61413e8b
commit
0335439623
|
@ -28,6 +28,14 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||||
configure_args+=" -Duse-elf-tls=false"
|
configure_args+=" -Duse-elf-tls=false"
|
||||||
fi
|
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.
|
# Set subpackages manually to set proper rdeps in 32bit pkgs.
|
||||||
subpackages="libglapi libgbm libOSMesa"
|
subpackages="libglapi libgbm libOSMesa"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue