From 3884a7712b74c09d4216b856464d6c3cdd9e3476 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 9 Mar 2020 19:34:31 +0100 Subject: fmt all src/allocators using yapf --- src/allocators/snmalloc.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/allocators/snmalloc.py') diff --git a/src/allocators/snmalloc.py b/src/allocators/snmalloc.py index 7f27e4b..2c5dfa8 100644 --- a/src/allocators/snmalloc.py +++ b/src/allocators/snmalloc.py @@ -14,7 +14,6 @@ # # You should have received a copy of the GNU General Public License # along with allocbench. - """Snmalloc definition for allocbench""" from src.allocator import Allocator @@ -28,9 +27,11 @@ class Snmalloc(Allocator): def __init__(self, name, **kwargs): self.LD_PRELOAD = "{dir}/libsnmallocshim.so" - self.build_cmds = ["mkdir -p {dir}", - "cd {dir}; cmake -G Ninja {srcdir} -DCMAKE_BUILD_TYPE=Release", - "cd {dir}; ninja"] + self.build_cmds = [ + "mkdir -p {dir}", + "cd {dir}; cmake -G Ninja {srcdir} -DCMAKE_BUILD_TYPE=Release", + "cd {dir}; ninja" + ] self.requirements = ["cmake", "ninja", "clang"] super().__init__(name, **kwargs) -- cgit v1.2.3