Skip to content

Commit

Permalink
ORC-1811: Use the recommended closer.lua URL to download ORC format
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?

This PR aims to use the ASF-recommended `closer.lua` URL instead of the direct `dlcdn` link or `archive` link.
- https://infra.apache.org/release-download-pages.html#download-page

    >  you can generate a direct download link using the following syntax:
    > http://www.apache.org/dyn/closer.lua/bar/foo/foo-5.5.1.zip?action=download

### Why are the changes needed?

To use the recommended download link in order to stabilize CIs.

This is suggested from Arrow community.
- #1830 (comment)
- apache/arrow#44977

### How was this patch tested?

Pass the CIs.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #2081 from dongjoon-hyun/ORC-1811.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
  • Loading branch information
dongjoon-hyun committed Dec 10, 2024
1 parent 48118e0 commit 28fe676
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmake_modules/ThirdpartyToolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,7 @@ endfunction()
# ----------------------------------------------------------------------
# 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 "https://www.apache.org/dyn/closer.lua/orc/orc-format-${ORC_FORMAT_VERSION}/orc-format-${ORC_FORMAT_VERSION}.tar.gz?action=download"
URL_HASH SHA256=739fae5ff94b1f812b413077280361045bf92e510ef04b34a610e23a945d8cd5
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
Expand Down

0 comments on commit 28fe676

Please sign in to comment.