[arrow] Update to 18.1.0 (#42357)

Co-authored-by: Kai Pastor <dg0yt@darc.de>
This commit is contained in:
Bryce Mecum 2024-12-02 16:29:01 -08:00 committed by GitHub
parent d746769f0d
commit 4353b6e33f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 45 additions and 10 deletions

View File

@ -0,0 +1,29 @@
diff --git a/cpp/src/arrow/vendored/datetime/tz.h b/cpp/src/arrow/vendored/datetime/tz.h
index 61ab3df106..d456d6765f 100644
--- a/cpp/src/arrow/vendored/datetime/tz.h
+++ b/cpp/src/arrow/vendored/datetime/tz.h
@@ -858,7 +858,9 @@ private:
load_data(std::istream& inf, std::int32_t tzh_leapcnt, std::int32_t tzh_timecnt,
std::int32_t tzh_typecnt, std::int32_t tzh_charcnt);
# if defined(ANDROID) || defined(__ANDROID__)
+public:
void parse_from_android_tzdata(std::ifstream& inf, const std::size_t off);
+private:
# endif // defined(ANDROID) || defined(__ANDROID__)
#else // !USE_OS_TZDB
DATE_API sys_info get_info_impl(sys_seconds tp, int tz_int) const;
diff --git a/cpp/src/arrow/vendored/datetime/visibility.h b/cpp/src/arrow/vendored/datetime/visibility.h
index 780c00d70b..a9514edba7 100644
--- a/cpp/src/arrow/vendored/datetime/visibility.h
+++ b/cpp/src/arrow/vendored/datetime/visibility.h
@@ -21,6 +21,10 @@
# define USE_OS_TZDB 1
#endif
+#if defined(ANDROID) || defined(__ANDROID__)
+# define BUILD_TZ_LIB
+#endif
+
#if defined(ARROW_STATIC)
// intentially empty
#elif defined(ARROW_EXPORTING)

View File

@ -2,16 +2,17 @@ vcpkg_download_distfile(
ARCHIVE_PATH ARCHIVE_PATH
URLS "https://archive.apache.org/dist/arrow/arrow-${VERSION}/apache-arrow-${VERSION}.tar.gz" URLS "https://archive.apache.org/dist/arrow/arrow-${VERSION}/apache-arrow-${VERSION}.tar.gz"
FILENAME apache-arrow-${VERSION}.tar.gz FILENAME apache-arrow-${VERSION}.tar.gz
SHA512 4df30ab5561da695eaa864422626b9898555d86ca56835c3b8a8ca93a1dbaf081582bb36e2440d1daf7e1dd48c76941f1152a4f25ce0dbcc1c2abe244a00c05e SHA512 7249c03a6097bc64fb0092143e4d4aaef3227565147e6254f026ddd504177c8dd565a184a0df39743dc989070dc3785e5b66f738c8e310ed9c982b61c2ec4914
) )
vcpkg_extract_source_archive( vcpkg_extract_source_archive(
SOURCE_PATH SOURCE_PATH
ARCHIVE ${ARCHIVE_PATH} ARCHIVE ${ARCHIVE_PATH}
PATCHES PATCHES
android.patch 0001-msvc-static-name.patch
msvc-static-name.patch 0002-thrift.patch
utf8proc.patch 0003-utf8proc.patch
thrift.patch 0004-android-musl.patch
0005-android-datetime.patch
) )
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS

View File

@ -1,6 +1,6 @@
{ {
"name": "arrow", "name": "arrow",
"version": "18.0.0", "version": "18.1.0",
"description": "Cross-language development platform for in-memory analytics", "description": "Cross-language development platform for in-memory analytics",
"homepage": "https://arrow.apache.org", "homepage": "https://arrow.apache.org",
"license": "Apache-2.0", "license": "Apache-2.0",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "cff712c97f67ce2ef9061d823c751f5e209e5838",
"version": "18.1.0",
"port-version": 0
},
{ {
"git-tree": "f62b9ba3d5fcf264637a1acc6edc72557b0f1461", "git-tree": "f62b9ba3d5fcf264637a1acc6edc72557b0f1461",
"version": "18.0.0", "version": "18.0.0",

View File

@ -245,7 +245,7 @@
"port-version": 7 "port-version": 7
}, },
"arrow": { "arrow": {
"baseline": "18.0.0", "baseline": "18.1.0",
"port-version": 0 "port-version": 0
}, },
"arsenalgear": { "arsenalgear": {