Fixes #137858 Due to the extra rpath-link line inserted by these CMake lines, it is possible to unintentionally pick up other libraries that are incompatible with the version of ROCm in ${ROCM_PATH}. Pull Request resolved: https://github.com/pytorch/pytorch/pull/143348 Approved by: https://github.com/jithunnair-amd, https://github.com/jeffdaily, https://github.com/pruthvistony
COMMIT_SHA
caffe2::GetBuildOptions