6fe19b681a
- Path to merge script not found unless user explicitly sources "share/rocprofiler-systems/setup-env.sh" to setup PATHs.
- Instead, let's derive the path when the application loads and use it when executing the helper script
- Rename script to rocprof-sys-merge-output.sh.
- Change install folder to <prefix>/libexec/rocprofiler-systems based on dev-ops feedback.
- Updated PATH variable in the modulefile and source scrtipt.
- For SWDEV-528101
[ROCm/rocprofiler-systems commit: adc66956b0]
18 lignes
660 B
Plaintext
18 lignes
660 B
Plaintext
#%Module1.0
|
|
|
|
module-whatis "@PROJECT_NAME@ (version @PROJECT_VERSION@)"
|
|
|
|
proc ModulesHelp { } {
|
|
puts stderr "Loads @PROJECT_NAME@ v@PROJECT_VERSION@"
|
|
}
|
|
|
|
set ROOT [file normalize [file dirname [file normalize ${ModulesCurrentModulefile}]]/../../..]
|
|
|
|
setenv @PROJECT_NAME_UNDERSCORED@_ROOT "${ROOT}"
|
|
prepend-path CMAKE_PREFIX_PATH "${ROOT}"
|
|
prepend-path PATH "${ROOT}/bin"
|
|
prepend-path PATH "${ROOT}/@CMAKE_INSTALL_LIBEXECDIR@/@PROJECT_NAME@"
|
|
prepend-path LD_LIBRARY_PATH "${ROOT}/@CMAKE_INSTALL_LIBDIR@"
|
|
prepend-path PYTHONPATH "${ROOT}/@CMAKE_INSTALL_PYTHONDIR@"
|
|
setenv @PROJECT_NAME_UNDERSCORED@_DIR "${ROOT}/@CMAKE_INSTALL_DATAROOTDIR@/cmake/@PROJECT_NAME@"
|