3
3
using BinaryBuilder, Pkg
4
4
5
5
name = " Arrow"
6
- # This installs Arrow 18.1.0.
7
- # We declare this as 18.1.1 because we enabled the Zstd library, changing the package dependencies.
8
- version = v " 18.1.1"
6
+ version = v " 19.0.0"
9
7
10
8
# Collection of sources required to complete build
11
9
sources = [
12
- GitSource (" https://github.com/ apache/arrow.git " ,
13
- " 6a0414bd9a91e890ec6a45369bf61f405180628c " ),
10
+ ArchiveSource (" https://dlcdn. apache.org /arrow/arrow- $version /apache-arrow- $version .tar.gz " ,
11
+ " f89b93f39954740f7184735ff1e1d3b5be2640396febc872c4955274a011f56b " ),
14
12
DirectorySource (" bundled" ),
15
13
]
16
14
17
15
# Bash recipe for building across all platforms
18
16
script = raw """
19
-
20
- cd $WORKSPACE/srcdir/arrow
17
+ cd $WORKSPACE/srcdir/apache-arrow-*
21
18
22
19
atomic_patch -p1 ${WORKSPACE}/srcdir/patches/boost.patch
23
- atomic_patch -p1 ${WORKSPACE}/srcdir/patches/windows.patch
24
20
if [[ $target == *mingw32* ]]; then
25
21
# This hard-codes the name and location of the zstd library and
26
22
# must not be applied on other architectures
@@ -41,6 +37,7 @@ CMAKE_FLAGS=(
41
37
-DARROW_DEPENDENCY_SOURCE=SYSTEM
42
38
-DARROW_IPC=OFF
43
39
-DARROW_JEMALLOC=OFF
40
+ -DARROW_MIMALLOC=OFF # We could turn this on when https://github.com/apache/arrow/pull/42090 is merged
44
41
-DARROW_PARQUET=ON
45
42
-DARROW_SIMD_LEVEL=NONE
46
43
-DARROW_THRIFT_USE_SHARED=ON
@@ -83,17 +80,17 @@ products = [
83
80
84
81
# Dependencies that must be installed before this package can be built
85
82
dependencies = [
86
- Dependency (" Bzip2_jll" ; compat= " 1.0.8 " ),
83
+ Dependency (" Bzip2_jll" ; compat= " 1.0.9 " ),
87
84
Dependency (" CompilerSupportLibraries_jll" ; platforms= filter (! Sys. isbsd, platforms)),
88
85
Dependency (" Lz4_jll" ),
89
- Dependency (" Thrift_jll" ; compat= " 0.21" ),
86
+ Dependency (" Thrift_jll" ; compat= " 0.21.1 " ),
90
87
Dependency (" Zlib_jll" ),
91
- Dependency (" Zstd_jll" ; compat= " 1.5.6 " ),
92
- Dependency (" boost_jll" ; compat= " =1.79 .0" ),
93
- Dependency (" brotli_jll" ; compat= " 1.1.0 " ),
94
- Dependency (" snappy_jll" ; compat= " 1.2.1 " ),
88
+ Dependency (" Zstd_jll" ; compat= " 1.5.7 " ),
89
+ Dependency (" boost_jll" ; compat= " =1.87 .0" ),
90
+ Dependency (" brotli_jll" ; compat= " 1.1.1 " ),
91
+ Dependency (" snappy_jll" ; compat= " 1.2.2 " ),
95
92
]
96
93
97
94
# Build the tarballs, and possibly a `build.jl` as well.
98
95
build_tarballs (ARGS , name, version, sources, script, platforms, products, dependencies;
99
- clang_use_lld= false , julia_compat= " 1.6" , preferred_gcc_version= v "8 " )
96
+ clang_use_lld= false , julia_compat= " 1.6" , preferred_gcc_version= v "11.1 " )
0 commit comments