diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2019-08-12 13:38:26 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2019-08-12 13:38:26 +0200 |
| commit | 291b0b9e655df75286e067b5099f3bd0490d01a2 (patch) | |
| tree | 8edbe0d82e716a9353e605b82f9b09983125c119 | |
| parent | c421c43f4a7203435076292a089de8b7d95b3868 (diff) | |
| download | allocbench-291b0b9e655df75286e067b5099f3bd0490d01a2.tar.gz allocbench-291b0b9e655df75286e067b5099f3bd0490d01a2.zip | |
add LD_LIBRARY_PATH to system installed allocators
| -rw-r--r-- | src/allocators/installed_allocators.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/allocators/installed_allocators.py b/src/allocators/installed_allocators.py index c478f13..6844c4a 100644 --- a/src/allocators/installed_allocators.py +++ b/src/allocators/installed_allocators.py @@ -7,6 +7,7 @@ maybe_allocators = ["tcmalloc", "jemalloc", "hoard"] allocators = {"libc": {"cmd_prefix": "", "binary_suffix": "", "LD_PRELOAD": "", + "LD_LIBRARY_PATH": "", "color": "C1"}} for i, t in enumerate(maybe_allocators): @@ -16,9 +17,10 @@ for i, t in enumerate(maybe_allocators): universal_newlines=True).stdout.strip() if path != "": - allocators[t] = {"cmd_prefix": "", - "binary_suffix": "", - "LD_PRELOAD": path, - "color": "C"+str(i+2)} + allocators[t] = {"cmd_prefix": "", + "binary_suffix": "", + "LD_PRELOAD": path, + "LD_LIBRARY_PATH": "", + "color": "C"+str(i+2)} except: pass |
