Executables append omnitrace library directory to LD_LIBRARY_PATH (#356)

- omnitrace-run, omnitrace-sample, and omnitrace-causal now automatically append the LD_LIBRARY_PATH with the directory containing the omnitrace libraries
  - this helps ensure that binary rewritten exes can resolve omnitrace-rt library location

[ROCm/rocprofiler-systems commit: 18833a0a5e]
Этот коммит содержится в:
Jonathan R. Madsen authored and GitHub committed 2024-07-02 18:55:37 -05:00
1 родитель 8ad58c5d28
Коммит e0fb6a2335
5 files changed
+56 -24

No files matched your search

+1
Просмотреть файл
@@ -191,6 +191,7 @@ prepare_environment_for_run(parser_data_t& _data)
if(_data.launcher.empty())
{
omnitrace::argparse::add_ld_preload(_data);
omnitrace::argparse::add_ld_library_path(_data);
}
}