Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk turn on MKLLVMRT for aarch64 X11 builds.



details:   https://anonhg.NetBSD.org/src/rev/2fae25380da1
branches:  trunk
changeset: 451889:2fae25380da1
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Jun 11 04:52:44 2019 +0000

description:
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.

diffstat:

 share/mk/bsd.own.mk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r ac39a5319182 -r 2fae25380da1 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Mon Jun 10 22:16:06 2019 +0000
+++ b/share/mk/bsd.own.mk       Tue Jun 11 04:52:44 2019 +0000
@@ -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
 .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
 
 #



Home | Main Index | Thread Index | Old Index