diff options
| -rw-r--r-- | allocators/BA_allocators.py | 3 | ||||
| -rw-r--r-- | allocators/all.py | 3 |
2 files changed, 4 insertions, 2 deletions
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}"], diff --git a/allocators/all.py b/allocators/all.py index e5fee1a..beab283 100644 --- a/allocators/all.py +++ b/allocators/all.py @@ -55,7 +55,8 @@ jemalloc = Alloc("jemalloc", "mkdir {dir}"]) 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}"], |
