From d4d4008b2aa8774ef046fb2e6e30536a778568ad Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 21 Aug 2019 17:35:11 +0200 Subject: build Hoard using clang --- src/allocators/hoard.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/allocators/hoard.py') 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) -- cgit v1.2.3