diff options
| author | Florian Schmaus <flow@cs.fau.de> | 2019-08-12 15:26:08 +0200 |
|---|---|---|
| committer | Florian Schmaus <flow@cs.fau.de> | 2019-08-12 15:26:08 +0200 |
| commit | 041082cad564ddba3bc55a66a81684ac9d9018b8 (patch) | |
| tree | eda95067fae87a0ffbde68328eb00a4623b524b4 | |
| parent | 360fda77061392c4b208a6d245b18503999d88fa (diff) | |
| download | allocbench-041082cad564ddba3bc55a66a81684ac9d9018b8.tar.gz allocbench-041082cad564ddba3bc55a66a81684ac9d9018b8.zip | |
Use "git reset --hard" instead of "git stash"
| -rw-r--r-- | src/allocators/glibc.py | 2 | ||||
| -rw-r--r-- | src/allocators/hoard.py | 2 | ||||
| -rw-r--r-- | src/allocators/mesh.py | 2 | ||||
| -rw-r--r-- | src/allocators/mimalloc.py | 2 | ||||
| -rw-r--r-- | src/allocators/scalloc.py | 2 | ||||
| -rw-r--r-- | src/allocators/tbbmalloc.py | 2 | ||||
| -rw-r--r-- | src/allocators/tcmalloc.py | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/src/allocators/glibc.py b/src/allocators/glibc.py index 646b0d3..3842877 100644 --- a/src/allocators/glibc.py +++ b/src/allocators/glibc.py @@ -5,8 +5,8 @@ version = 2.29 glibc_src = Allocator_Sources("glibc", retrieve_cmds=["git clone git://sourceware.org/git/glibc.git"], - reset_cmds=["git stash"]) prepare_cmds=[f"git checkout glibc-{version}"], + reset_cmds=["git reset --hard"]) class Glibc (Allocator): diff --git a/src/allocators/hoard.py b/src/allocators/hoard.py index d3c42de..cb2c0e1 100644 --- a/src/allocators/hoard.py +++ b/src/allocators/hoard.py @@ -4,7 +4,7 @@ import src.allocator version = 2.7 sources = src.allocator.Allocator_Sources("Hoard", retrieve_cmds=["git clone https://github.com/emeryberger/Hoard.git"], - reset_cmds=["git stash"]) + reset_cmds=["git reset --hard"]) class Hoard (src.allocator.Allocator): diff --git a/src/allocators/mesh.py b/src/allocators/mesh.py index eb0e5b8..604f743 100644 --- a/src/allocators/mesh.py +++ b/src/allocators/mesh.py @@ -2,7 +2,7 @@ import src.allocator sources = src.allocator.Allocator_Sources("Mesh", retrieve_cmds=["git clone https://github.com/plasma-umass/Mesh"], - reset_cmds=["git stash"]) + reset_cmds=["git reset --hard"]) # sources = src.allocator.GitAllocatorSources("Mesh", # "https://github.com/plasma-umass/Mesh", diff --git a/src/allocators/mimalloc.py b/src/allocators/mimalloc.py index b636a04..e079176 100644 --- a/src/allocators/mimalloc.py +++ b/src/allocators/mimalloc.py @@ -5,7 +5,7 @@ version = "master" mimalloc_src = src.allocator.Allocator_Sources("mimalloc", ["git clone https://github.com/microsoft/mimalloc"], ["git checkout ".format(version)], - ["git stash"]) + ["git reset --hard"]) class Mimalloc (src.allocator.Allocator): diff --git a/src/allocators/scalloc.py b/src/allocators/scalloc.py index 6d1b0dd..4be8798 100644 --- a/src/allocators/scalloc.py +++ b/src/allocators/scalloc.py @@ -9,7 +9,7 @@ scalloc_src = Allocator_Sources("scalloc", prepare_cmds=["git checkout {}".format(version), "cd {srcdir}; tools/make_deps.sh", "cd {srcdir}; build/gyp/gyp --depth=. scalloc.gyp"], - reset_cmds=["git stash"]) + reset_cmds=["git reset --hard"] class Scalloc (Allocator): diff --git a/src/allocators/tbbmalloc.py b/src/allocators/tbbmalloc.py index 317c527..db24395 100644 --- a/src/allocators/tbbmalloc.py +++ b/src/allocators/tbbmalloc.py @@ -5,7 +5,7 @@ version = "2019_U8" source = src.allocator.Allocator_Sources("tbb", ["git clone https://github.com/intel/tbb.git"], ["git checkout {}".format(version)], - ["git stash"]) + ["git reset --hard"]) class TBBMalloc (src.allocator.Allocator): diff --git a/src/allocators/tcmalloc.py b/src/allocators/tcmalloc.py index a442e96..0940400 100644 --- a/src/allocators/tcmalloc.py +++ b/src/allocators/tcmalloc.py @@ -5,7 +5,7 @@ version = 2.7 tcmalloc_src = src.allocator.Allocator_Sources("tcmalloc", ["git clone https://github.com/gperftools/gperftools.git tcmalloc"], ["git checkout gperftools-{}".format(version), "./autogen.sh"], - ["git stash"]) + ["git reset --hard"]) class TCMalloc (src.allocator.Allocator): |
