From 8bb5a998c7d4c39e2375c42866402cfef18a44c8 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 2 Apr 2019 14:15:27 +0200 Subject: add reset_cmd to Hoard --- allocators/BA_allocators.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'allocators/BA_allocators.py') diff --git a/allocators/BA_allocators.py b/allocators/BA_allocators.py index b483ca4..5d29cb6 100644 --- a/allocators/BA_allocators.py +++ b/allocators/BA_allocators.py @@ -47,7 +47,8 @@ jemalloc = Alloc("jemalloc", color="C4") hoard = Alloc("Hoard", sources=Alloc_Src("Hoard", - retrieve_cmds=["git clone https://github.com/emeryberger/Hoard.git"]), + retrieve_cmds=["git clone https://github.com/emeryberger/Hoard.git"], + reset_cmds=["git stash"]), LD_PRELOAD="{srcdir}/src/libhoard.so", build_cmds=["cd {srcdir}/src; make", "mkdir {dir}"], -- cgit v1.2.3