Files
rocm-systems/rocmmod.in
T
Ashutosh Mishra 68c763f3d0 Inital commit of the new lib package
Signed-off-by: Ashutosh Mishra <ashutosh.mishra@amd.com>
Change-Id: I605c3fb56584806dc6b392230e64d304449819f6
2022-11-29 00:25:06 -05:00

17 строки
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"