bc19ae71eb
Package installed /opt/rocm Soft links and wrapper header files installed /opt/rocm/roctracer for backward compatibility tracer_tool library renamed to roctracer_tool and installed in /opt/rocm/lib/roctracer Change-Id: Ica7518c5ef2e591715121cbc942b69dff29233d3
24 рядки
417 B
Bash
24 рядки
417 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
do_ldconfig() {
|
|
# left-hand term originates from ENABLE_LDCONFIG = ON/OFF at package build
|
|
if [ "@ENABLE_LDCONFIG@" == "ON" ]; then
|
|
echo @CPACK_PACKAGING_INSTALL_PREFIX@/lib > /etc/ld.so.conf.d/libroctracer64.conf
|
|
ldconfig
|
|
fi
|
|
}
|
|
|
|
case "$1" in
|
|
( configure )
|
|
do_ldconfig
|
|
;;
|
|
( abort-upgrade | abort-remove | abort-deconfigure )
|
|
echo "$1"
|
|
;;
|
|
( * )
|
|
exit 0
|
|
;;
|
|
esac
|