Files
rocm-systems/RPM/post.in
T
Hao Zhou be41c19d3c Revert^2 "Revert "Merge amd-staging into amd-master 20230524""
4e044a1f6c

Change-Id: Ibb44f48a8ea2099de01cf04d31b47f2a2f2473ad
2023-06-02 02:12:07 -04:00

6 righe
246 B
Plaintext
Executable File

# left-hand term originates from ENABLE_LDCONFIG = ON/OFF at package build
if [ "@ENABLE_LDCONFIG@" == "ON" ]; then
echo -e "@CPACK_PACKAGING_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@" > /etc/ld.so.conf.d/x86_64-librocm_smi_lib.conf
ldconfig
fi