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/0b32c71dcb86
branches: trunk
changeset: 997343:0b32c71dcb86
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 4c816ddbdb56 -r 0b32c71dcb86 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