Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .codespell_ignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ NotIn
Collet
convertor
inout
nd
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ This product includes code from Apache Arrow.
* third_party/versions.txt
* Upstream source patches:
* cmake_modules/arrow.diff
* cmake_modules/arrow_geospatial.diff

Copyright: 2016-2024 The Apache Software Foundation.
Home page: https://arrow.apache.org/
Expand Down
3 changes: 3 additions & 0 deletions cmake_modules/ThirdpartyToolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2022,12 +2022,15 @@ macro(build_arrow)

set(ARROW_CONFIGURE SOURCE_SUBDIR "cpp" CMAKE_ARGS ${ARROW_CMAKE_ARGS})
set(PATCH_FILE "${CMAKE_CURRENT_LIST_DIR}/arrow.diff")
set(GEOSPATIAL_PATCH_FILE "${CMAKE_CURRENT_LIST_DIR}/arrow_geospatial.diff")
externalproject_add(arrow_ep
URL ${ARROW_SOURCE_URL}
URL_HASH "SHA256=${PAIMON_ARROW_BUILD_SHA256_CHECKSUM}"
LOG_PATCH ON
PATCH_COMMAND ${CMAKE_COMMAND} -E chdir <SOURCE_DIR> bash -c
"[ -f .patched ] && echo '<SOURCE_DIR> patch already applied, ignore...' || patch -s -N -p1 -i '${PATCH_FILE}' && touch .patched"
COMMAND ${CMAKE_COMMAND} -E chdir <SOURCE_DIR> bash -c
"[ -f .geospatial-patched ] || (patch -s -N -p1 -i '${GEOSPATIAL_PATCH_FILE}' && touch .geospatial-patched)"
GIT_SUBMODULES "" GIT_SUBMODULES_RECURSE FALSE ${ARROW_CONFIGURE}
UPDATE_DISCONNECTED 1
BUILD_BYPRODUCTS "${ARROW_STATIC_LIB}"
Expand Down
Loading
Loading