6b8ae3dd77
HIP or any ROCm component above HIP may not be calling hsa-runtime directly. OpenCl and HIP are the two components calling ROCclr and to bring in the transitive dependency of thunk,ROCR,amd_comgr it is better to have the dependency chain set correctly in the ROCclr cmake target. With this change OpenCl or HIP should not be setting ROCR dependency directly. This helps to link OpenCl(libamdocl.so) link statically with comgr,hsa,thunk. Change-Id: I0d538b7abc6a0ce700ec3332b97fc144db5fc5ff