Is your feature request related to a problem? Please describe.
Rapids-cmake now only supports downloading the source code via zip, which can't fetch the commit SHA from the downloaded code. In https://github.com/NVIDIA/spark-rapids-jni/issues/1666, Spark-Rapids wants to have the capability to pin the commit of rapids-cmake for cuDF build. We should get the rapids-cmake's commit SHA in the submodule-sync.sh.
Describe the solution you'd like
The default way to download rapids-cmake in cuDF can be kept to use zip way. In spark-rapids-jni, we'd like to set the variable to enable the git clone way so that we can get the SHA in our script.
Is your feature request related to a problem? Please describe. Rapids-cmake now only supports downloading the source code via zip, which can't fetch the commit SHA from the downloaded code. In https://github.com/NVIDIA/spark-rapids-jni/issues/1666, Spark-Rapids wants to have the capability to pin the commit of rapids-cmake for cuDF build. We should get the rapids-cmake's commit SHA in the submodule-sync.sh.
Describe the solution you'd like The default way to download rapids-cmake in cuDF can be kept to use zip way. In spark-rapids-jni, we'd like to set the variable to enable the git clone way so that we can get the SHA in our script.