Files
rocm-systems/projects/rocr-runtime/RPM/postun.in
T
Cole Nelson ba4a8f6088 CMakeLists.txt: add ENABLE_LDCONFIG to support multi-version install
Depends-On: I58fdf1d0b4e864b5a61ffe8e335d430d424811ab
Change-Id: I8e3e873fde99eaec79651ce6c3581870e9c2112d
Signed-off-by: Cole Nelson <cole.nelson@amd.com>


[ROCm/ROCR-Runtime commit: a9ce8683eb]
2021-03-27 15:27:55 -07:00

6 行
195 B
Plaintext

# second term originates from ENABLE_LDCONFIG = ON/OFF at package build
if [ $1 -eq 0 ] && [ "@ENABLE_LDCONFIG@" == "ON" ]; then
rm -f /etc/ld.so.conf.d/x86_64-libhsakmt.conf
ldconfig
fi