Skip to content
Snippets Groups Projects
Commit 48cd2b9f authored by Ben Couturier's avatar Ben Couturier
Browse files

Added definition of VALGRIND_LIB variable if valgrind is in the toolchain

parent 2a0d52de
No related branches found
No related tags found
1 merge request!156Added definition of VALGRIND_LIB variable if valgrind is in the toolchain
...@@ -310,6 +310,12 @@ def _packages(lcg_info, platform): ...@@ -310,6 +310,12 @@ def _packages(lcg_info, platform):
} }
data.extend('_add_lcg_entry("{}")'.format(d) for d in lcg_dirs.values()) data.extend('_add_lcg_entry("{}")'.format(d) for d in lcg_dirs.values())
# Valgrind requires an extra variable otherwise it does not work due to the
# relocation of the binaries
if 'valgrind' in lcg_dirs:
data.append(
'set(ENV{{VALGRIND_LIB}} "{}/libexec/valgrind")'.format(lcg_dirs["valgrind"])
)
# catboost is installed differently from any other package # catboost is installed differently from any other package
if "catboost" in lcg_dirs: if "catboost" in lcg_dirs:
# as of catboost 1.2 (LCG 104) the layout of the install directory changed # as of catboost 1.2 (LCG 104) the layout of the install directory changed
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment