From 569f4af9656e1f56b84fb0c3fbbeebd5b6bf9714 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 5 Mar 2019 15:47:11 +0100 Subject: use new verbosity system in allocator.py --- allocators/no_falsesharing.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'allocators/no_falsesharing.py') diff --git a/allocators/no_falsesharing.py b/allocators/no_falsesharing.py index 880d4e8..628c7fc 100644 --- a/allocators/no_falsesharing.py +++ b/allocators/no_falsesharing.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" @@ -21,7 +19,7 @@ glibc = Alloc("glibc", sources=glibc_src, "cd glibc-build; make install"], cmd_prefix="{dir}/lib/ld-linux-x86-64.so.2 --library-path {dir}/lib:"+library_path) -glibc_nofs = Alloc_Patched("glibc_nofs", glibc, +glibc_nofs = patch_alloc("glibc_nofs", glibc, ["allocators/glibc_2.28_no_passive_falsesharing.patch"]) tcmalloc_src = Alloc_Src("gperftools", @@ -35,10 +33,10 @@ tcmalloc = Alloc("tcmalloc", sources=tcmalloc_src, "cd {srcdir}; make install -j4"], color="C3") -tcmalloc_nofs = Alloc_Patched("tcmalloc_nofs", tcmalloc, +tcmalloc_nofs = patch_alloc("tcmalloc_nofs", tcmalloc, ["allocators/tcmalloc_2.7_no_active_falsesharing.patch"], color="C4") allocators_to_build = [glibc, glibc_nofs, tcmalloc, tcmalloc_nofs] -allocators = {a.name: a.build(verbose=verbose) for a in allocators_to_build} +allocators = {a.name: a.build() for a in allocators_to_build} -- cgit v1.2.3