Merge "Removing ld.so.conf entry for Opencl package" into amd-master-next

This commit is contained in:
Pruthvi Madugundu
2020-04-20 13:50:41 -04:00
کامیت شده توسط Gerrit Code Review
کامیت bbcfe78d1c
2فایلهای تغییر یافته به همراه6 افزوده شده و 2 حذف شده
@@ -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)
}
@@ -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)