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/hoard.py | |
| parent | 8b416335805fc07262c0570bda324afccb5e3da3 (diff) | |
| download | allocbench-3884a7712b74c09d4216b856464d6c3cdd9e3476.tar.gz allocbench-3884a7712b74c09d4216b856464d6c3cdd9e3476.zip | |
fmt all src/allocators using yapf
Diffstat (limited to 'src/allocators/hoard.py')
| -rw-r--r-- | src/allocators/hoard.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/allocators/hoard.py b/src/allocators/hoard.py index 7e94d79..5d0c2ce 100644 --- a/src/allocators/hoard.py +++ b/src/allocators/hoard.py @@ -14,7 +14,6 @@ # # You should have received a copy of the GNU General Public License # along with allocbench. - """Hoard allocator definition for allocbench""" from src.allocator import Allocator @@ -28,12 +27,15 @@ class Hoard(Allocator): def __init__(self, name, **kwargs): self.LD_PRELOAD = "{dir}/libhoard.so" - self.build_cmds = ["cd {srcdir}/src; make", - "mkdir -p {dir}", - "ln -f -s {srcdir}/src/libhoard.so {dir}/libhoard.so"] + self.build_cmds = [ + "cd {srcdir}/src; make", "mkdir -p {dir}", + "ln -f -s {srcdir}/src/libhoard.so {dir}/libhoard.so" + ] self.requirements = ["clang"] super().__init__(name, **kwargs) -hoard = Hoard("Hoard", version="aa6d31700d5368a9f5ede3d62731247c8d9f0ebb", color="xkcd:brown") +hoard = Hoard("Hoard", + version="aa6d31700d5368a9f5ede3d62731247c8d9f0ebb", + color="xkcd:brown") |
