aboutsummaryrefslogtreecommitdiff
path: root/allocators/BA_allocators.py
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2019-03-05 15:47:11 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2019-03-05 15:47:11 +0100
commit569f4af9656e1f56b84fb0c3fbbeebd5b6bf9714 (patch)
tree8a268d2164f8d5d5edeaf9ba7a81ee0044ddda83 /allocators/BA_allocators.py
parent373e47ad602347b4b59ea3fa0f43674879d6acf2 (diff)
downloadallocbench-569f4af9656e1f56b84fb0c3fbbeebd5b6bf9714.tar.gz
allocbench-569f4af9656e1f56b84fb0c3fbbeebd5b6bf9714.zip
use new verbosity system in allocator.py
Diffstat (limited to 'allocators/BA_allocators.py')
-rw-r--r--allocators/BA_allocators.py13
1 files changed, 5 insertions, 8 deletions
diff --git a/allocators/BA_allocators.py b/allocators/BA_allocators.py
index accd1a2..6ae438f 100644
--- a/allocators/BA_allocators.py
+++ b/allocators/BA_allocators.py
@@ -1,11 +1,9 @@
import os
import subprocess
-from src.allocator import library_path
+from src.allocator import *
from src.allocator import Allocator as Alloc
-from src.allocator import Allocator_Patched as Alloc_Patched
from src.allocator import Allocator_Sources as Alloc_Src
-from src.allocator import builddir
optimisation_flag = "-O2"
@@ -47,17 +45,16 @@ jemalloc = Alloc("jemalloc",
"mkdir {dir}"],
color="C4")
-hoard = Alloc_Patched("Hoard",
- Alloc("Hoard", sources=Alloc_Src("Hoard",
+hoard = Alloc("Hoard", sources=Alloc_Src("Hoard",
retrieve_cmds=["git clone https://github.com/emeryberger/Hoard.git"]),
LD_PRELOAD="{srcdir}/src/libhoard.so",
build_cmds=["cd {srcdir}/src; make",
"mkdir {dir}"],
- color="C5"),
- ["allocators/hoard_make.patch"])
+ color="C5",
+ patches=["allocators/hoard_make.patch"])
allocators_to_build = [glibc, glibc_notc, tcmalloc, jemalloc, hoard]
-allocators = {a.name: a.build(verbose=verbose) for a in allocators_to_build}
+allocators = {a.name: a.build() for a in allocators_to_build}