5bfb079aff
- Package is generated to install into ROCM_PATH by setting to CMAKE_INSTALL_PREFIX, if defined in the env otherwise default into /opt/rocm - Lib SO version is added dependent on build version - RUNPATH is set to a default value based on /opt/rocm and if ROCM_RPATH env is defined it is overwritten. - Symlinks are created for library so files. - ld.so.conf entry is done only if /opt/rocm/roctracer dir exists Signed-off-by: Pruthvi Madugundu <mpruthvi@gmail.com>
5 rivejä
156 B
Plaintext
5 rivejä
156 B
Plaintext
INSTALL_PATH=/opt/rocm/roctracer
|
|
if [ -e "${INSTALL_PATH}" ] ; then
|
|
echo /opt/rocm/roctracer/lib > /etc/ld.so.conf.d/libroctracer64.conf && ldconfig
|
|
fi
|