aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2019-08-20 17:21:12 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2019-08-20 17:21:12 +0200
commit29a4dad6dae841b9bc8899990af1fe50ae193050 (patch)
tree537ea1d0625d75252ae3c60bf5b12ab6ea461b8b
parentb7ab05c6d3e960a0b794e8c39cf41d045f9bf6ca (diff)
downloadallocbench-29a4dad6dae841b9bc8899990af1fe50ae193050.tar.gz
allocbench-29a4dad6dae841b9bc8899990af1fe50ae193050.zip
fix tbb
tbb is build for each installed kernel version resulting in multiple libraries.
-rw-r--r--src/allocators/tbbmalloc.py2
1 files changed, 1 insertions, 1 deletions
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)