aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Gunhan Gulsoy <gunan@google.com>2018-09-28 17:17:36 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-09-28 17:21:20 -0700
commit47503fdbfa72357e1419972986a4415ab3ad92a6 (patch)
tree4e63d0a6cec7be9c3f01c24c053e13c31ff11219
parent05e5d2a1a9d5471d634043135834ecae4355926a (diff)
Disable jemalloc, and remove its configuration option.
PiperOrigin-RevId: 215020524
-rw-r--r--configure.py2
-rw-r--r--tools/bazel.rc1
2 files changed, 1 insertions, 2 deletions
diff --git a/configure.py b/configure.py
index 9899ae10e8..0a3b9a7894 100644
--- a/configure.py
+++ b/configure.py
@@ -1513,8 +1513,6 @@ def main():
if is_ppc64le():
write_action_env_to_bazelrc('OMP_NUM_THREADS', 1)
- set_build_var(environ_cp, 'TF_NEED_JEMALLOC', 'jemalloc as malloc',
- 'with_jemalloc', True)
set_build_var(environ_cp, 'TF_ENABLE_XLA', 'XLA JIT', 'with_xla_support',
True, 'xla')
diff --git a/tools/bazel.rc b/tools/bazel.rc
index 3734fab715..0cd148ed87 100644
--- a/tools/bazel.rc
+++ b/tools/bazel.rc
@@ -73,6 +73,7 @@ build --define=grpc_no_ares=true
build --spawn_strategy=standalone
build --genrule_strategy=standalone
build -c opt
+build --define=with_jemalloc=false
# Other build flags.
build --define=grpc_no_ares=true