65dbba594d
SWDEV-79445 - Bring cmake related changes from git
http://git.amd.com:8080/c/compute/ec/opencl/+/229473
http://git.amd.com:8080/c/compute/ec/opencl/+/229474
http://git.amd.com:8080/c/compute/ec/opencl/+/233268
+
Payam's changes for comgr
Affected files ...
... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#24 edit
... //depot/stg/opencl/drivers/opencl/DEB/postinst#1 add
... //depot/stg/opencl/drivers/opencl/DEB/prerm#1 add
... //depot/stg/opencl/drivers/opencl/RPM/rpm_post#1 add
... //depot/stg/opencl/drivers/opencl/RPM/rpm_postun#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#18 edit
... //depot/stg/opencl/drivers/opencl/cmake/modules/FindROCR.cmake#3 edit
... //depot/stg/opencl/drivers/opencl/cmake/modules/FindROCT.cmake#1 add
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#20 edit
[ROCm/clr commit: 29a575e268]
20 lines
227 B
Bash
20 lines
227 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
rm_ldconfig() {
|
|
rm -f /etc/ld.so.conf.d/x86_64-rocm-opencl.conf && ldconfig
|
|
rm -f /etc/OpenCL/vendors/amdocl64.icd
|
|
}
|
|
|
|
case "$1" in
|
|
purge)
|
|
;;
|
|
remove)
|
|
rm_ldconfig
|
|
;;
|
|
*)
|
|
exit 0
|
|
;;
|
|
esac
|