Removing ld.so.conf entry for Opencl package

- The entry removed only when the installation is NOT /opt/rocm

Signed-off-by: Pruthvi Madugundu <pruthvi.madugundu@amd.com>
Change-Id: Ib90f89e63cffb4ae8f628af15387a49bb6511a5f


[ROCm/clr commit: 5f710a5ecb]
이 커밋은 다음에 포함됨:
Pruthvi Madugundu
2020-04-03 01:14:59 -07:00
부모 8c8ad8153f
커밋 fe6e14447b
2개의 변경된 파일6개의 추가작업 그리고 2개의 파일을 삭제
+3 -1
파일 보기
@@ -3,7 +3,9 @@
set -e
do_ldconfig() {
echo /opt/rocm/opencl/lib > /etc/ld.so.conf.d/x86_64-rocm-opencl.conf && ldconfig
if [ -e "/opt/rocm/opencl" ] ; then
echo /opt/rocm/opencl/lib > /etc/ld.so.conf.d/x86_64-rocm-opencl.conf && ldconfig
fi
mkdir -p /etc/OpenCL/vendors && (echo libamdocl64.so > /etc/OpenCL/vendors/amdocl64.icd)
}
+3 -1
파일 보기
@@ -1,2 +1,4 @@
echo /opt/rocm/opencl/lib > /etc/ld.so.conf.d/x86_64-rocm-opencl.conf && ldconfig
if [ -e "/opt/rocm/opencl" ] ; then
echo /opt/rocm/opencl/lib > /etc/ld.so.conf.d/x86_64-rocm-opencl.conf && ldconfig
fi
mkdir -p /etc/OpenCL/vendors && (echo libamdocl64.so > /etc/OpenCL/vendors/amdocl64.icd)