Skip to content

Commit

Permalink
ARROW-6437: [R] Add AWS SDK to Homebrew formulae
Browse files Browse the repository at this point in the history
Closes #5579 from nealrichardson/brew-s3 and squashes the following commits:

ca71625 <Neal Richardson> Add libs to the test
7194f5d <Neal Richardson> Add ARROW_S3 to homebrew formulae

Authored-by: Neal Richardson <[email protected]>
Signed-off-by: François Saint-Jacques <[email protected]>
  • Loading branch information
nealrichardson authored and fsaintjacques committed Oct 4, 2019
1 parent 86eaa6b commit 461ff53
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions dev/tasks/homebrew-formulae/apache-arrow.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"}
]
Expand Down
4 changes: 3 additions & 1 deletion dev/tasks/homebrew-formulae/autobrew/apache-arrow.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand All @@ -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

0 comments on commit 461ff53

Please sign in to comment.