Skip to content

Apache DataFusion SQL Query Engine

ARROW-6960: [R] Add lz4 and zstd to R PKGBUILD

gnguy533c3b776af6
diff --git a/ci/PKGBUILD b/ci/PKGBUILD
index 7eb0598b5d..917335cdea 100644
--- a/ci/PKGBUILD
+++ b/ci/PKGBUILD
@@ -28,7 +28,9 @@ depends=("${MINGW_PACKAGE_PREFIX}-boost"
"${MINGW_PACKAGE_PREFIX}-double-conversion"
"${MINGW_PACKAGE_PREFIX}-thrift"
"${MINGW_PACKAGE_PREFIX}-snappy"
- "${MINGW_PACKAGE_PREFIX}-zlib")
+ "${MINGW_PACKAGE_PREFIX}-zlib"
+ "${MINGW_PACKAGE_PREFIX}-lz4"
+ "${MINGW_PACKAGE_PREFIX}-zstd")
makedepends=("${MINGW_PACKAGE_PREFIX}-cmake"
"${MINGW_PACKAGE_PREFIX}-gcc")
options=("staticlibs" "strip" "!buildflags")
@@ -85,6 +87,8 @@ build() {
-DARROW_JEMALLOC=OFF \
-DARROW_WITH_ZLIB=ON \
-DARROW_WITH_SNAPPY=ON \
+ -DARROW_WITH_LZ4=ON \
+ -DARROW_WITH_ZSTD=ON \
-DARROW_USE_GLOG=OFF \
-DARROW_BUILD_UTILITIES=OFF \
-Ddouble-conversion_ROOT="${MINGW_PREFIX}" \
diff --git a/ci/windows-pkg-arrow-for-r.sh b/ci/windows-pkg-arrow-for-r.sh
index 23a518bad8..ae9a52b51b 100644
--- a/ci/windows-pkg-arrow-for-r.sh
+++ b/ci/windows-pkg-arrow-for-r.sh
@@ -64,6 +64,12 @@ wget https://dl.bintray.com/rtools/mingw32/mingw-w64-i686-double-conversion-3.1.
wget https://dl.bintray.com/rtools/mingw64/mingw-w64-x86_64-openssl-1.1.1.a-1-any.pkg.tar.xz
wget https://dl.bintray.com/rtools/mingw32/mingw-w64-i686-openssl-1.1.1.a-1-any.pkg.tar.xz
+wget https://dl.bintray.com/rtools/mingw64/mingw-w64-x86_64-zstd-1.4.3-1-any.pkg.tar.xz
+wget https://dl.bintray.com/rtools/mingw32/mingw-w64-i686-zstd-1.4.3-1-any.pkg.tar.xz
+
+wget https://dl.bintray.com/rtools/mingw64/mingw-w64-x86_64-lz4-1.8.2-1-any.pkg.tar.xz
+wget https://dl.bintray.com/rtools/mingw32/mingw-w64-i686-lz4-1.8.2-1-any.pkg.tar.xz
+
# These are the other Rtools 4.0 packages, for future reference
# wget https://dl.bintray.com/rtools/mingw32/mingw-w64-i686-boost-1.67.0-9002-any.pkg.tar.xz
# wget https://dl.bintray.com/rtools/mingw64/mingw-w64-x86_64-boost-1.67.0-9002-any.pkg.tar.xz