From 3d62a2c0c2510459a6e1e8fb404f19455a4b8b07 Mon Sep 17 00:00:00 2001 From: Icarus Sparry Date: Wed, 5 Apr 2023 07:16:56 +0000 Subject: [PATCH] Update rocm module for MANPATH Allow access to the manuals for llvm Change-Id: Iea4c83412ff2defb0a2a013aab1a555eb3e24e8c Signed-off-by: Icarus Sparry [ROCm/rocm-core commit: 57b5e98d9267f6ddf841a5dcdbf0bda763df4723] --- projects/rocm-core/rocmmod.in | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/rocm-core/rocmmod.in b/projects/rocm-core/rocmmod.in index 6acde293f8..ba5c23780d 100644 --- a/projects/rocm-core/rocmmod.in +++ b/projects/rocm-core/rocmmod.in @@ -11,6 +11,7 @@ proc ModulesHelp { } { prepend-path PATH "@CPACK_PACKAGING_INSTALL_PREFIX@/@CMAKE_INSTALL_BINDIR@:@CPACK_PACKAGING_INSTALL_PREFIX@/llvm/bin" +prepend-path MANPATH "@CPACK_PACKAGING_INSTALL_PREFIX@/@CMAKE_INSTALL_MANDIR@:@CPACK_PACKAGING_INSTALL_PREFIX@/llvm/share/man1" prepend-path CMAKE_PREFIX_PATH "@CPACK_PACKAGING_INSTALL_PREFIX@" setenv ROCM_PATH "@CPACK_PACKAGING_INSTALL_PREFIX@" setenv HIP_PATH "@CPACK_PACKAGING_INSTALL_PREFIX@"