зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1420092 - Enable mozjemalloc by default on 32-bit OSX. r=njn
Hopefully, the bug we worked around by disabling jemalloc on 32-bit OSX is gone. We're not shipping 32-bit binaries for OSX anyways. --HG-- extra : rebase_source : bfe765977dedf1949da4d5919032cadfb4675f1f
This commit is contained in:
Родитель
294078ee3c
Коммит
95ce6018b6
|
@ -22,16 +22,12 @@ def jemalloc(value, target, build_project, c_compiler):
|
||||||
if build_project == 'js':
|
if build_project == 'js':
|
||||||
return True
|
return True
|
||||||
|
|
||||||
if target.kernel == 'Darwin' and target.cpu == 'x86_64':
|
if target.kernel in ('Darwin', 'Linux'):
|
||||||
# Don't enable by default on 32-bits OSX. See bug 702250.
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
if target.kernel == 'WINNT' and c_compiler.type in ('msvc', 'clang-cl'):
|
if target.kernel == 'WINNT' and c_compiler.type in ('msvc', 'clang-cl'):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
if target.kernel == 'Linux':
|
|
||||||
return True
|
|
||||||
|
|
||||||
if value and target.kernel not in ('WINNT', 'Linux', 'Darwin', 'kFreeBSD',
|
if value and target.kernel not in ('WINNT', 'Linux', 'Darwin', 'kFreeBSD',
|
||||||
'FreeBSD', 'NetBSD'):
|
'FreeBSD', 'NetBSD'):
|
||||||
die('--enable-jemalloc is not supported on %s', target.kernel)
|
die('--enable-jemalloc is not supported on %s', target.kernel)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче