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/jemalloc.py | |
| parent | 8b416335805fc07262c0570bda324afccb5e3da3 (diff) | |
| download | allocbench-3884a7712b74c09d4216b856464d6c3cdd9e3476.tar.gz allocbench-3884a7712b74c09d4216b856464d6c3cdd9e3476.zip | |
fmt all src/allocators using yapf
Diffstat (limited to 'src/allocators/jemalloc.py')
| -rw-r--r-- | src/allocators/jemalloc.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/allocators/jemalloc.py b/src/allocators/jemalloc.py index 18e3055..ab2528b 100644 --- a/src/allocators/jemalloc.py +++ b/src/allocators/jemalloc.py @@ -14,7 +14,6 @@ # # You should have received a copy of the GNU General Public License # along with allocbench. - """jemalloc definition for allocbench""" from src.allocator import Allocator @@ -24,15 +23,17 @@ from src.artifact import GitArtifact class Jemalloc(Allocator): """jemalloc allocator""" - sources = GitArtifact("jemalloc", "https://github.com/jemalloc/jemalloc.git") + sources = GitArtifact("jemalloc", + "https://github.com/jemalloc/jemalloc.git") def __init__(self, name, **kwargs): self.LD_PRELOAD = "{dir}/libjemalloc.so" self.prepare_cmds = ["./autogen.sh"] - self.build_cmds = ["cd {srcdir}; ./configure --prefix={dir}", - "cd {srcdir}; make -j4", - "mkdir -p {dir}", - "ln -f -s {srcdir}/lib/libjemalloc.so {dir}/libjemalloc.so"] + self.build_cmds = [ + "cd {srcdir}; ./configure --prefix={dir}", "cd {srcdir}; make -j4", + "mkdir -p {dir}", + "ln -f -s {srcdir}/lib/libjemalloc.so {dir}/libjemalloc.so" + ] super().__init__(name, **kwargs) |
