diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2019-08-21 17:56:11 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2019-08-21 17:56:11 +0200 |
| commit | 3ea7840d641ebae59a5ae2af2dc4c1cad370b4df (patch) | |
| tree | b7802e3ccb0aea452661144ff3efb6babf5a0939 | |
| parent | d4d4008b2aa8774ef046fb2e6e30536a778568ad (diff) | |
| download | allocbench-3ea7840d641ebae59a5ae2af2dc4c1cad370b4df.tar.gz allocbench-3ea7840d641ebae59a5ae2af2dc4c1cad370b4df.zip | |
simplify and add requirements to mimalloc
| -rw-r--r-- | src/allocators/mimalloc.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/allocators/mimalloc.py b/src/allocators/mimalloc.py index e079176..24338e3 100644 --- a/src/allocators/mimalloc.py +++ b/src/allocators/mimalloc.py @@ -14,9 +14,10 @@ class Mimalloc (src.allocator.Allocator): kwargs["sources"] = mimalloc_src kwargs["LD_PRELOAD"] = "{dir}/libmimalloc.so" - kwargs["build_cmds"] = ["cd {srcdir}; mkdir -p {dir}", + kwargs["build_cmds"] = ["mkdir -p {dir}", "cd {dir}; cmake {srcdir}", "cd {dir}; make"] + kwargs["requirements"] = ["cmake"] super().__init__(name, **kwargs) |
