From 29a4dad6dae841b9bc8899990af1fe50ae193050 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 20 Aug 2019 17:21:12 +0200 Subject: fix tbb tbb is build for each installed kernel version resulting in multiple libraries. --- src/allocators/tbbmalloc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allocators/tbbmalloc.py b/src/allocators/tbbmalloc.py index db24395..a5b28b7 100644 --- a/src/allocators/tbbmalloc.py +++ b/src/allocators/tbbmalloc.py @@ -16,7 +16,7 @@ class TBBMalloc (src.allocator.Allocator): kwargs["LD_PRELOAD"] = "{dir}/libtbbmalloc.so" kwargs["build_cmds"] = ["cd {srcdir}; make tbbmalloc -j4", "mkdir -p {dir}", - 'ln -f -s $(find {srcdir} -executable -name "*libtbbmalloc_proxy.so*") {dir}/libtbbmalloc.so'] + 'ln -f -s $(find {srcdir} -executable -name "*libtbbmalloc_proxy.so*") {dir}/libtbbmalloc.so | head -1'] super().__init__(name, **kwargs) -- cgit v1.2.3