Skip to content
Merged
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
12 changes: 8 additions & 4 deletions apache-arrow
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# We have bundles for 2.0.0 and 3.0.0 now
if [ "$VERSION" != "2.0.0" ]; then
VERSION="3.0.0"
# We have bundles for 2.0.0 and 3.0.0 and 4.0.0 now
if [ "$VERSION" != "2.0.0" ] && [ "$VERSION" != "3.0.0" ]; then
VERSION="4.0.0"
fi

# Find a bundle
Expand Down Expand Up @@ -29,7 +29,11 @@ rm -f libs.tar.xz

# Hardcoded flags
AWS_LIBS="-laws-cpp-sdk-config -laws-cpp-sdk-transfer -laws-cpp-sdk-identity-management -laws-cpp-sdk-cognito-identity -laws-cpp-sdk-sts -laws-cpp-sdk-s3 -laws-cpp-sdk-core -laws-c-event-stream -laws-checksums -laws-c-common -lpthread -lcurl"
PKG_LIBS="-L$BREWDIR/lib -lparquet -larrow_dataset -larrow -larrow_bundled_dependencies -lthrift -llz4 -lsnappy -lzstd $AWS_LIBS"
PKG_LIBS="-lparquet -larrow_dataset -larrow -larrow_bundled_dependencies -lthrift -llz4 -lsnappy -lzstd $AWS_LIBS"
PKG_DIRS="-L$BREWDIR/lib"
if [ "$VERSION" = "3.0.0" ] || [ "$VERSION" = "2.0.0" ]; then
PKG_LIBS="$PKG_DIRS $PKG_LIBS"
fi
PKG_CFLAGS="-I$BREWDIR/include -DARROW_R_WITH_S3"

# Cleanup
Expand Down