From 88af565f1d3bba97bcb3e2e446e8d86a8df18b40 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sun, 28 Apr 2019 22:57:07 +0200 Subject: add Mesh to all allocators --- allocators/all.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/allocators/all.py b/allocators/all.py index beab283..62fe728 100644 --- a/allocators/all.py +++ b/allocators/all.py @@ -62,6 +62,15 @@ hoard = Alloc("Hoard", sources=Alloc_Src("Hoard", "mkdir {dir}"], patches=["allocators/hoard_make.patch"]) -allocators_to_build = [glibc, glibc_notc, glibc_nofs, glibc_nofs_fancy, tcmalloc, tcmalloc_nofs, jemalloc, hoard] +mesh = Alloc("Mesh", sources=Alloc_Src("Mesh", + retrieve_cmds=["git clone https://github.com/plasma-umass/Mesh"], + reset_cmds=["git stash"]), + LD_PRELOAD="{srcdir}/libmesh.so", + build_cmds=["cd {srcdir}; git submodule update --init", + "cd {srcdir}; ./configure", + "cd {srcdir}; make -j 4", + "mkdir {dir}"]) + +allocators_to_build = [glibc, glibc_notc, glibc_nofs, glibc_nofs_fancy, tcmalloc, tcmalloc_nofs, jemalloc, hoard, mesh] allocators = {a.name: a.build() for a in allocators_to_build} -- cgit v1.2.3