diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-03-09 19:34:31 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-03-09 19:34:31 +0100 |
| commit | 3884a7712b74c09d4216b856464d6c3cdd9e3476 (patch) | |
| tree | 1ccef133671bc885a46ea54edc39f983fc4ef298 /src/allocators/scalloc.py | |
| parent | 8b416335805fc07262c0570bda324afccb5e3da3 (diff) | |
| download | allocbench-3884a7712b74c09d4216b856464d6c3cdd9e3476.tar.gz allocbench-3884a7712b74c09d4216b856464d6c3cdd9e3476.zip | |
fmt all src/allocators using yapf
Diffstat (limited to 'src/allocators/scalloc.py')
| -rw-r--r-- | src/allocators/scalloc.py | 14 |
1 files changed, 8 insertions, 6 deletions
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" |
