diff --git a/dev/tasks/homebrew-formulae/apache-arrow.rb b/dev/tasks/homebrew-formulae/apache-arrow.rb index 8f08f96df6537..d0b2ff26c4fb0 100644 --- a/dev/tasks/homebrew-formulae/apache-arrow.rb +++ b/dev/tasks/homebrew-formulae/apache-arrow.rb @@ -6,6 +6,7 @@ class ApacheArrow < Formula head "https://github.com/apache/arrow.git" depends_on "cmake" => :build + depends_on "aws-sdk-cpp" depends_on "boost" depends_on "brotli" depends_on "double-conversion" @@ -31,6 +32,7 @@ def install -DARROW_PLASMA=ON -DARROW_PROTOBUF_USE_SHARED=ON -DARROW_PYTHON=ON + -DARROW_S3=ON -DARROW_INSTALL_NAME_RPATH=OFF -DPYTHON_EXECUTABLE=#{Formula["python"].bin/"python3"} ] diff --git a/dev/tasks/homebrew-formulae/autobrew/apache-arrow.rb b/dev/tasks/homebrew-formulae/autobrew/apache-arrow.rb index 8e5000821ac62..6c555c92e14b5 100644 --- a/dev/tasks/homebrew-formulae/autobrew/apache-arrow.rb +++ b/dev/tasks/homebrew-formulae/autobrew/apache-arrow.rb @@ -31,6 +31,7 @@ class ApacheArrow < Formula depends_on "cmake" => :build depends_on "flatbuffers" => :build + depends_on "aws-sdk-cpp" depends_on "boost" depends_on "double-conversion" depends_on "lz4" @@ -50,6 +51,7 @@ def install -DARROW_WITH_BROTLI=OFF -DARROW_USE_GLOG=OFF -DARROW_PYTHON=OFF + -DARROW_S3=ON -DARROW_WITH_ZSTD=OFF -DARROW_WITH_SNAPPY=ON -DARROW_BUILD_UTILITIES=ON @@ -75,7 +77,7 @@ def install return 0; } EOS - system ENV.cxx, "test.cpp", "-std=c++11", "-I#{include}", "-L#{lib}", "-larrow", "-o", "test" + system ENV.cxx, "test.cpp", "-std=c++11", "-I#{include}", "-L#{lib}", "-larrow", "-lparquet", "-lthrift", "-llz4", "-lboost_system", "-lboost_filesystem", "-lboost_regex", "-ldouble-conversion", "-lsnappy", "-o", "test" system "./test" end end