diff --git a/cpp/cmake_modules/DefineOptions.cmake b/cpp/cmake_modules/DefineOptions.cmake index 30b1d0e075b..7283de4f9f1 100644 --- a/cpp/cmake_modules/DefineOptions.cmake +++ b/cpp/cmake_modules/DefineOptions.cmake @@ -478,10 +478,11 @@ advised that if this is enabled 'install' will fail silently on components;\ that have not been built" OFF) - set(ARROW_SUBSTRAIT_REPO_DEFAULT "https://github.com/substrait-io/substrait") + set(ARROW_SUBSTRAIT_REPO_DEFAULT "substrait-io/substrait") define_option_string(ARROW_SUBSTRAIT_REPO - "Custom git repository URL for downloading Substrait sources.;\ -See also ARROW_SUBSTRAIT_TAG" "${ARROW_SUBSTRAIT_REPO_DEFAULT}") + "Custom GitHub user/repository pair for downloading Substrait sources.;\ +See also ARROW_SUBSTRAIT_TAG" + "${ARROW_SUBSTRAIT_REPO_DEFAULT}") set(ARROW_SUBSTRAIT_TAG_DEFAULT "e1b4c04a1b518912f4c4065b16a1b2c0ac8e14cf") define_option_string(ARROW_SUBSTRAIT_TAG diff --git a/cpp/src/arrow/engine/CMakeLists.txt b/cpp/src/arrow/engine/CMakeLists.txt index 1e66e7fb5f7..efd4f0b1f9b 100644 --- a/cpp/src/arrow/engine/CMakeLists.txt +++ b/cpp/src/arrow/engine/CMakeLists.txt @@ -48,8 +48,7 @@ set(SUBSTRAIT_PROTOS type_expressions) externalproject_add(substrait_ep - GIT_REPOSITORY "${ARROW_SUBSTRAIT_REPO}" - GIT_TAG "${ARROW_SUBSTRAIT_TAG}" + URL "https://github.com/${ARROW_SUBSTRAIT_REPO}/archive/${ARROW_SUBSTRAIT_TAG}.tar.gz" SOURCE_DIR "${SUBSTRAIT_LOCAL_DIR}" CONFIGURE_COMMAND "" BUILD_COMMAND ""