rapidsai / rapids-cmake

https://docs.rapids.ai/api/rapids-cmake/stable/
Apache License 2.0
27 stars 45 forks source link

[FEA] Rapids-cmake supports a variable to clone the src by git or download the src via zip #554

Closed GaryShen2008 closed 5 months ago

GaryShen2008 commented 5 months ago

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.