diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2021-04-07 19:52:32 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2021-04-07 19:52:32 +0200 |
| commit | eef6274180d0f6d0d9181245ff79e334794a3ce7 (patch) | |
| tree | e9d94325a222813c35a7daba6cd253a03684bec7 | |
| parent | c5488be09515838150f15ee35d20e803333c4885 (diff) | |
| download | allocbench-eef6274180d0f6d0d9181245ff79e334794a3ce7.tar.gz allocbench-eef6274180d0f6d0d9181245ff79e334794a3ce7.zip | |
| -rw-r--r-- | allocbench/allocators/mesh.py | 15 |
1 files 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) |
