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/scalloc.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'src/allocators/scalloc.py') diff --git a/src/allocators/scalloc.py b/src/allocators/scalloc.py index 82ef8d1..c071f22 100644 --- a/src/allocators/scalloc.py +++ b/src/allocators/scalloc.py @@ -14,7 +14,6 @@ # # You should have received a copy of the GNU General Public License # along with allocbench. - """Scalloc definition for allocbench""" from src.allocator import Allocator @@ -24,14 +23,17 @@ from src.artifact import GitArtifact class Scalloc(Allocator): """Scalloc allocator""" - sources = GitArtifact("scalloc", "https://github.com/cksystemsgroup/scalloc") + sources = GitArtifact("scalloc", + "https://github.com/cksystemsgroup/scalloc") def __init__(self, name, **kwargs): - self.prepare_cmds = ["tools/make_deps.sh", - "build/gyp/gyp --depth=. scalloc.gyp"] + self.prepare_cmds = [ + "tools/make_deps.sh", "build/gyp/gyp --depth=. scalloc.gyp" + ] - self.build_cmds = ["cd {srcdir}; BUILDTYPE=Release make", - "mkdir -p {dir}"] + self.build_cmds = [ + "cd {srcdir}; BUILDTYPE=Release make", "mkdir -p {dir}" + ] self.LD_PRELOAD = "{srcdir}/out/Release/lib.target/libscalloc.so" -- cgit v1.2.3