This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/orc.git
The following commit(s) were added to refs/heads/main by this push:
new 178bbe34a ORC-1635: Try downloading orc-format from dlcdn.apache.org
before archive.apache.org
178bbe34a is described below
commit 178bbe34a430b25910d61d7cd6c505fe5c75587e
Author: Valentin Lorentz <[email protected]>
AuthorDate: Thu Feb 29 21:25:33 2024 -0800
ORC-1635: Try downloading orc-format from dlcdn.apache.org before
archive.apache.org
### What changes were proposed in this pull request?
Try downloading orc-format from dlcdn.apache.org before archive.apache.org
This replaces https://github.com/apache/orc/pull/1820 which required dlcdn
to have the current version.
### Why are the changes needed?
https://archive.apache.org/ discourages heavy use, and its rate limits can
cause CI systems building Apache ORC to be banned.
### How was this patch tested?
It builds from a clean repo
### Was this patch authored or co-authored using generative AI tooling?
no
Closes #1830 from progval/dlcdn2.
Authored-by: Valentin Lorentz <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
cmake_modules/ThirdpartyToolchain.cmake | 1 +
1 file changed, 1 insertion(+)
diff --git a/cmake_modules/ThirdpartyToolchain.cmake
b/cmake_modules/ThirdpartyToolchain.cmake
index aa520ff61..ec33193d7 100644
--- a/cmake_modules/ThirdpartyToolchain.cmake
+++ b/cmake_modules/ThirdpartyToolchain.cmake
@@ -72,6 +72,7 @@ endif ()
# ----------------------------------------------------------------------
# ORC Format
ExternalProject_Add (orc-format_ep
+ URL
"https://dlcdn.apache.org/orc/orc-format-${ORC_FORMAT_VERSION}/orc-format-${ORC_FORMAT_VERSION}.tar.gz"
URL
"https://archive.apache.org/dist/orc/orc-format-${ORC_FORMAT_VERSION}/orc-format-${ORC_FORMAT_VERSION}.tar.gz"
URL_HASH
SHA256=739fae5ff94b1f812b413077280361045bf92e510ef04b34a610e23a945d8cd5
CONFIGURE_COMMAND ""