Files
rocm-systems/RPM/post.in
T
Cole Nelson 35c1b8bff2 CMakeLists.txt: add ENABLE_LDCONFIG to support multi-version install
Depends-On: I58fdf1d0b4e864b5a61ffe8e335d430d424811ab
Change-Id: Ibf4d6446e00eb119d1ea88d81da144e63194f615
Signed-off-by: Cole Nelson <cole.nelson@amd.com>
2021-03-27 15:33:09 -07:00

6 خطوط
228 B
Plaintext

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