Dateien
rocm-systems/projects/rocm-core/rocmmod.in
T
Nirmal Unnikrishnan e058c227fc SWDEV-383541 : Updating the HIP_PATH in env
Change-Id: I8a58fe684ce1a6f076d41faf0365d19f11862623


[ROCm/rocm-core commit: c9f1935325]
2023-02-16 12:42:35 -06:00

17 Zeilen
552 B
Plaintext

#%Module1.0######################################################################
##
## Rocm module
##
module-whatis "adds `@CPACK_PACKAGING_INSTALL_PREFIX@/bin' to your PATH environment variable"
proc ModulesHelp { } {
puts stderr "\tThe ROCM Module."
}
prepend-path PATH "@CPACK_PACKAGING_INSTALL_PREFIX@/@CMAKE_INSTALL_BINDIR@:@CPACK_PACKAGING_INSTALL_PREFIX@/llvm/bin"
prepend-path CMAKE_PREFIX_PATH "@CPACK_PACKAGING_INSTALL_PREFIX@"
setenv ROCM_PATH "@CPACK_PACKAGING_INSTALL_PREFIX@"
setenv HIP_PATH "@CPACK_PACKAGING_INSTALL_PREFIX@"