diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2019-08-21 17:35:11 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2019-08-21 17:35:11 +0200 |
| commit | d4d4008b2aa8774ef046fb2e6e30536a778568ad (patch) | |
| tree | a2873433a21b048d597bf65ba685dcc25a949865 /src/allocators/hoard.py | |
| parent | 26acccbe30198d365cea9378eaae9fb41ccb5bb8 (diff) | |
| download | allocbench-d4d4008b2aa8774ef046fb2e6e30536a778568ad.tar.gz allocbench-d4d4008b2aa8774ef046fb2e6e30536a778568ad.zip | |
build Hoard using clang
Diffstat (limited to 'src/allocators/hoard.py')
| -rw-r--r-- | src/allocators/hoard.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/allocators/hoard.py b/src/allocators/hoard.py index cb2c0e1..b50b097 100644 --- a/src/allocators/hoard.py +++ b/src/allocators/hoard.py @@ -1,7 +1,6 @@ import src.allocator -version = 2.7 sources = src.allocator.Allocator_Sources("Hoard", retrieve_cmds=["git clone https://github.com/emeryberger/Hoard.git"], reset_cmds=["git reset --hard"]) @@ -12,9 +11,11 @@ class Hoard (src.allocator.Allocator): def __init__(self, name, **kwargs): kwargs["sources"] = sources - kwargs["LD_PRELOAD"] = "{srcdir}/src/libhoard.so" - kwargs["build_cmds"] = ["cd {srcdir}/src; make", "mkdir -p {dir}"] - kwargs["patches"] = ["{patchdir}/hoard_make.patch"] + kwargs["LD_PRELOAD"] = "{dir}/libhoard.so" + kwargs["build_cmds"] = ["cd {srcdir}/src; make", + "mkdir -p {dir}", + "ln -f -s {srcdir}/src/libhoard.so {dir}/libhoard.so"] + kwargs["requirements"] = ["clang"] super().__init__(name, **kwargs) |
