From 7194f5d7ed4a34f14e3823011be5e978a46d0283 Mon Sep 17 00:00:00 2001 From: Neal Richardson Date: Fri, 4 Oct 2019 09:24:32 -0700 Subject: [PATCH 1/2] Add ARROW_S3 to homebrew formulae --- dev/tasks/homebrew-formulae/apache-arrow.rb | 2 ++ dev/tasks/homebrew-formulae/autobrew/apache-arrow.rb | 2 ++ 2 files changed, 4 insertions(+) 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..58b263b50a057 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 From ca71625e3b1b2f56fe600a77720943254927e18c Mon Sep 17 00:00:00 2001 From: Neal Richardson Date: Fri, 4 Oct 2019 10:22:12 -0700 Subject: [PATCH 2/2] Add libs to the test [skip ci] --- dev/tasks/homebrew-formulae/autobrew/apache-arrow.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/tasks/homebrew-formulae/autobrew/apache-arrow.rb b/dev/tasks/homebrew-formulae/autobrew/apache-arrow.rb index 58b263b50a057..6c555c92e14b5 100644 --- a/dev/tasks/homebrew-formulae/autobrew/apache-arrow.rb +++ b/dev/tasks/homebrew-formulae/autobrew/apache-arrow.rb @@ -77,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