Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk switch amd64 to jemalloc-5.1.0
details: https://anonhg.NetBSD.org/src/rev/67752fddeebc
branches: trunk
changeset: 449362:67752fddeebc
user: christos <christos%NetBSD.org@localhost>
date: Mon Mar 04 17:32:46 2019 +0000
description:
switch amd64 to jemalloc-5.1.0
diffstat:
share/mk/bsd.own.mk | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diffs (26 lines):
diff -r abf979eb04e3 -r 67752fddeebc share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk Mon Mar 04 17:30:33 2019 +0000
+++ b/share/mk/bsd.own.mk Mon Mar 04 17:32:46 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.1105 2019/03/04 01:14:31 mrg Exp $
+# $NetBSD: bsd.own.mk,v 1.1106 2019/03/04 17:32:46 christos Exp $
# This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE)
@@ -168,6 +168,16 @@
EXTERNAL_BINUTILS_SUBDIR= /does/not/exist
.endif
+#
+# 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)
PRINTOBJDIR= ${MAKE} -r -V .OBJDIR -f /dev/null xxx
Home |
Main Index |
Thread Index |
Old Index