diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2019-04-28 22:57:07 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2019-04-28 22:57:07 +0200 |
| commit | 88af565f1d3bba97bcb3e2e446e8d86a8df18b40 (patch) | |
| tree | bf23b87e2b5c8d9b8fe8bd876cf3e41e21b56a47 | |
| parent | 383df3e024a52b6152ae33ae122ec977ac53cec0 (diff) | |
| download | allocbench-88af565f1d3bba97bcb3e2e446e8d86a8df18b40.tar.gz allocbench-88af565f1d3bba97bcb3e2e446e8d86a8df18b40.zip | |
add Mesh to all allocators
| -rw-r--r-- | allocators/all.py | 11 |
1 files changed, 10 insertions, 1 deletions
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} |
