Files
rocm-systems/projects/rocm-core/rocmmod.in
T
Ashutosh Mishra c07e8c5d6b Inital commit of the new lib package
Signed-off-by: Ashutosh Mishra <ashutosh.mishra@amd.com>
Change-Id: I605c3fb56584806dc6b392230e64d304449819f6


[ROCm/rocm-core commit: 68c763f3d0]
2022-11-29 00:25:06 -05:00

17 lines
600 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:@CPACK_PACKAGING_INSTALL_PREFIX@/opencl/bin"
prepend-path CMAKE_PREFIX_PATH "@CPACK_PACKAGING_INSTALL_PREFIX@"
setenv ROCM_PATH "@CPACK_PACKAGING_INSTALL_PREFIX@"
setenv HIP_PATH "@CPACK_PACKAGING_INSTALL_PREFIX@/hip"