Files
rocm-systems/rocmmod.in
T

18 lines
680 B
Plaintext
Raw Normal View History

2022-10-18 10:35:37 +05:30
#%Module1.0######################################################################
##
## Rocm module
##
module-whatis "adds `@CPACK_PACKAGING_INSTALL_PREFIX@/bin' to your PATH environment variable"
proc ModulesHelp { } {
puts stderr "\tThe ROCM Module."
}
2023-02-15 15:13:03 -06:00
prepend-path PATH "@CPACK_PACKAGING_INSTALL_PREFIX@/@CMAKE_INSTALL_BINDIR@:@CPACK_PACKAGING_INSTALL_PREFIX@/llvm/bin"
2023-04-05 07:16:56 +00:00
prepend-path MANPATH "@CPACK_PACKAGING_INSTALL_PREFIX@/@CMAKE_INSTALL_MANDIR@:@CPACK_PACKAGING_INSTALL_PREFIX@/llvm/share/man1"
2022-10-18 10:35:37 +05:30
prepend-path CMAKE_PREFIX_PATH "@CPACK_PACKAGING_INSTALL_PREFIX@"
setenv ROCM_PATH "@CPACK_PACKAGING_INSTALL_PREFIX@"
2023-02-15 15:13:03 -06:00
setenv HIP_PATH "@CPACK_PACKAGING_INSTALL_PREFIX@"