diff options
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) |
