Files
rocm-systems/projects/clr/opencl/packaging/rocm-opencl.rpm_postun
T
Alex Xie 15756659d0 SWDEV-438177 - move ldconfig to amd opencl package instead of icd
Change-Id: I2486f38d398a508ead7d24f03d4cf7816d5c157c


[ROCm/clr commit: 06ff62da61]
2023-12-20 10:04:58 -05:00

9 wiersze
295 B
Plaintext

if [ $1 -eq 0 ]; then
# Remove rocm-opencl.conf during remove/uninstall operation
rm -f /@CMAKE_INSTALL_SYSCONFDIR@/ld.so.conf.d/10-rocm-opencl.conf && ldconfig
fi
# Remove icd file for uninstall and upgrade operation
rm -f /@CMAKE_INSTALL_SYSCONFDIR@/OpenCL/vendors/@OPENCL_AMD_ICD_FILE@