Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARROW-6437: [R] Add AWS SDK to Homebrew formulae #5579

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
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
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