Source-Changes-HG archive

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

[src/trunk]: src/share/mk Back to using jemalloc for x86_64; all problems hav...



details:   https://anonhg.NetBSD.org/src/rev/628f96b60910
branches:  trunk
changeset: 449499:628f96b60910
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Mar 08 20:35:10 2019 +0000

description:
Back to using jemalloc for x86_64; all problems have been resolved.

diffstat:

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

diffs (21 lines):

diff -r 725cceffb5ff -r 628f96b60910 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Fri Mar 08 20:34:24 2019 +0000
+++ b/share/mk/bsd.own.mk       Fri Mar 08 20:35:10 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.1107 2019/03/04 21:19:58 christos Exp $
+#      $NetBSD: bsd.own.mk,v 1.1108 2019/03/08 20:35:10 christos Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -172,7 +172,11 @@
 # What version of jemalloc we use (100 is the one
 # built-in to libc from 2005 (pre version 3).
 #
+.if ${MACHINE_CPU} == "x86_64"
+HAVE_JEMALLOC?=                510
+.else
 HAVE_JEMALLOC?=                100
+.endif
 
 .if empty(.MAKEFLAGS:tW:M*-V .OBJDIR*)
 .if defined(MAKEOBJDIRPREFIX) || defined(MAKEOBJDIR)



Home | Main Index | Thread Index | Old Index