blob: 72a9084609d90082470a1d85d3f287f191ba4bf3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#%Module1.0
#
# Created by Darjan Krijan [https://disc-kuraudo.eu]
#
set MODULE "amduprof"
set BASE_DIR "/opt"
set VERSION "5.0.1479"
set MODULE_ROOT "${BASE_DIR}/${MODULE}"
set MODULE_TEXT "AMD uProf performance analysis tool"
prepend-path PATH ${MODULE_ROOT}/bin
prepend-path CPATH ${MODULE_ROOT}/include
prepend-path LIBRARY_PATH ${MODULE_ROOT}/lib/x64
prepend-path MANPATH ${MODULE_ROOT}/bin/Help
prepend-path PATH ${MODULE_ROOT}/bin/AMDPerf
prepend-path PYTHONPATH ${MODULE_ROOT}/bin/AMDPerf
module-whatis "${MODULE_TEXT} version ${VERSION}"
proc ModulesHelp {} {
global MODULE_TEXT
puts stderr "This module sets up the environment for ${MODULE_TEXT}"
puts stderr "by adapting the following environment variables:"
puts stderr "PATH"
puts stderr "CPATH"
puts stderr "LIBRARY_PATH"
puts stderr "MANPATH"
puts stderr "PYTHONPATH"
}
|