diff options
Diffstat (limited to 'src/allocators/tcmalloc.py')
| -rw-r--r-- | src/allocators/tcmalloc.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/allocators/tcmalloc.py b/src/allocators/tcmalloc.py index 571ef0d..054dba3 100644 --- a/src/allocators/tcmalloc.py +++ b/src/allocators/tcmalloc.py @@ -30,7 +30,8 @@ class TCMalloc(Allocator): self.LD_PRELOAD = "{dir}/libtcmalloc.so" self.patches = ["{patchdir}/tcmalloc_bazel_build_so.patch"] self.build_cmds = [ - "cd {srcdir}; bazel build tcmalloc/tcmalloc.so", "mkdir {dir}", + "cd {srcdir}; bazel build tcmalloc/tcmalloc.so --compilation_mode opt", + "mkdir {dir}", "cp {srcdir}/bazel-bin/tcmalloc/tcmalloc.so {dir}/libtcmalloc.so" ] |
