Skip to content

Commit

Permalink
ORC-1635: Try downloading orc-format from dlcdn.apache.org before ar…
Browse files Browse the repository at this point in the history
…chive.apache.org

### What changes were proposed in this pull request?
Try downloading orc-format from dlcdn.apache.org before archive.apache.org

This replaces #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 <vlorentz@softwareheritage.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
  • Loading branch information
progval authored and dongjoon-hyun committed Mar 1, 2024
1 parent 207085d commit 178bbe3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake_modules/ThirdpartyToolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""
Expand Down

0 comments on commit 178bbe3

Please sign in to comment.