From eef6274180d0f6d0d9181245ff79e334794a3ce7 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 7 Apr 2021 19:52:32 +0200 Subject: [Mesh] format source code via make format --- allocbench/allocators/mesh.py | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/allocbench/allocators/mesh.py b/allocbench/allocators/mesh.py index 0de702d..a0c2895 100644 --- a/allocbench/allocators/mesh.py +++ b/allocbench/allocators/mesh.py @@ -19,9 +19,9 @@ from allocbench.allocator import Allocator from allocbench.artifact import GitArtifact - VERSION = '4a1012cee990cb98cc1ea0294a836f467b29be02' + class Mesh(Allocator): """Mesh allocator""" @@ -30,18 +30,15 @@ class Mesh(Allocator): def __init__(self, name, config_opts="", **kwargs): self.ld_preload = "{dir}/libmesh.so" self.build_cmds = [ - f"cd {{srcdir}}; ./configure {config_opts}", "cd {srcdir}; make -j 4", - "mkdir -p {dir}", "ln -f -s {srcdir}/libmesh.so {dir}/libmesh.so" + f"cd {{srcdir}}; ./configure {config_opts}", + "cd {srcdir}; make -j 4", "mkdir -p {dir}", + "ln -f -s {srcdir}/libmesh.so {dir}/libmesh.so" ] super().__init__(name, **kwargs) # pylint: disable=invalid-name -mesh = Mesh("Mesh", - version=VERSION, - color="xkcd:mint") +mesh = Mesh("Mesh", version=VERSION, color="xkcd:mint") -nomesh = Mesh("NoMesh", - config_opts="--disable-meshing", - version=VERSION) +nomesh = Mesh("NoMesh", config_opts="--disable-meshing", version=VERSION) -- cgit v1.2.3