turn on MKLLVMRT for aarch64 X11 builds.

with llvmpipe vs swrast, on pinebook 1080p i see 6x speed up for glxgears,
seamonkey & google maps is significantly faster, and ksudoku is workable.
This commit is contained in:
mrg 2019-06-11 04:52:44 +00:00
parent 0b4f3508ae
commit b436459a98
1 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.own.mk,v 1.1145 2019/06/02 21:29:13 mrg Exp $
# $NetBSD: bsd.own.mk,v 1.1146 2019/06/11 04:52:44 mrg Exp $
# This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE)
@ -1156,12 +1156,13 @@ EXTERNAL_MESALIB_DIR?= MesaLib.old
EXTERNAL_MESALIB_DIR?= MesaLib
.endif
# Default to LLVM run-time if x86 and X11 and Mesa 18
# Default to LLVM run-time if x86 or aarch64 and X11 and Mesa 18
# XXX This knows that MKX11=no is default below, but would
# require splitting the below loop in two parts.
.if ${MKX11:Uno} != "no" && ${HAVE_MESA_VER} == "18"
MKLLVMRT.amd64= yes
MKLLVMRT.i386= yes
MKLLVMRT.aarch64= yes
.endif
#