Followup for bug 762449: disable jemalloc 3 on b2g gonk builds because it breaks system binaries. r=me on a CLOSED TREE
☠☠ backed out by ffafa737cb7c ☠ ☠
authorMike Hommey <mh+mozilla@glandium.org>
Tue, 13 Jan 2015 11:38:05 +0900
changeset 252236 9229135ca287c343af483b8ba8f67f2e625a5305
parent 252235 a276235479148e6baf6142093b79e588fef3e9f6
child 252237 ffafa737cb7c05d65e1ef3c048bc65826e3e9028
push id721
push userjlund@mozilla.com
push dateTue, 21 Apr 2015 23:03:33 +0000
treeherdermozilla-release@d27c9211ebb3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs762449
milestone38.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Followup for bug 762449: disable jemalloc 3 on b2g gonk builds because it breaks system binaries. r=me on a CLOSED TREE
configure.in
--- a/configure.in
+++ b/configure.in
@@ -7195,17 +7195,17 @@ if test -z "$MOZ_MEMORY"; then
     *-mingw*)
       if test -z "$WIN32_REDIST_DIR" -a -z "$MOZ_DEBUG"; then
         AC_MSG_WARN([When not building jemalloc, you need to set WIN32_REDIST_DIR to the path to the Visual C++ Redist (usually VCINSTALLDIR\redist\x86\Microsoft.VC80.CRT, for VC++ v8) if you intend to distribute your build.])
       fi
       ;;
   esac
 else
   AC_DEFINE(MOZ_MEMORY)
-  if test -n "$NIGHTLY_BUILD"; then
+  if test -n "$NIGHTLY_BUILD" -a -z "$gonkdir"; then
     MOZ_JEMALLOC3=1
   fi
   if test -n "$MOZ_JEMALLOC3"; then
     AC_DEFINE(MOZ_JEMALLOC3)
   fi
   if test "x$MOZ_DEBUG" = "x1"; then
     AC_DEFINE(MOZ_MEMORY_DEBUG)
   fi