Source-Changes-HG archive

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

[src/trunk]: src/share/mk disable jemalloc again until we can figure out what...



details:   https://anonhg.NetBSD.org/src/rev/7751e81eb52a
branches:  trunk
changeset: 997831:7751e81eb52a
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Mar 28 08:41:50 2019 +0000

description:
disable jemalloc again until we can figure out what to do with the bloat
for installer media.

diffstat:

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

diffs (24 lines):

diff -r 3901f7038fce -r 7751e81eb52a share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Thu Mar 28 08:33:07 2019 +0000
+++ b/share/mk/bsd.own.mk       Thu Mar 28 08:41:50 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.1117 2019/03/27 18:41:18 christos Exp $
+#      $NetBSD: bsd.own.mk,v 1.1118 2019/03/28 08:41:50 christos Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -172,7 +172,14 @@
 # What version of jemalloc we use (100 is the one
 # built-in to libc from 2005 (pre version 3).
 #
+.if ${MACHINE_CPU} == "x86_64" || \
+    ${MACHINE_CPU} == "i386"   || \
+    ${MACHINE_CPU} == "aarch64"        || \
+    ${MACHINE} == "sparc64"
 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