Skip to content

Apache DataFusion SQL Query Engine

ARROW-5751: [Python][Packaging] Ensure that c-ares is linked statically in Python wheels

Wes McKinney854875d1c8ac
diff --git a/dev/tasks/python-wheels/osx-build.sh b/dev/tasks/python-wheels/osx-build.sh
index 28f09c87da..b299646add 100755
--- a/dev/tasks/python-wheels/osx-build.sh
+++ b/dev/tasks/python-wheels/osx-build.sh
@@ -136,6 +136,7 @@ function build_wheel {
-DBoost_NAMESPACE=arrow_boost \
-DARROW_FLIGHT=ON \
-DgRPC_SOURCE=SYSTEM \
+ -Dc-ares_SOURCE=BUNDLED \
-DARROW_PROTOBUF_USE_SHARED=OFF \
-DMAKE=make \
..
diff --git a/dev/tasks/python-wheels/travis.osx.yml b/dev/tasks/python-wheels/travis.osx.yml
index 5ac96f3c7d..980d122305 100644
--- a/dev/tasks/python-wheels/travis.osx.yml
+++ b/dev/tasks/python-wheels/travis.osx.yml
@@ -66,9 +66,9 @@ install:
# the following functions are defined in osx-build.sh
- build_wheel arrow
- # test the built wheels, remove llvm and grpc to ensure they link statically
- - brew uninstall llvm@7
- - brew uninstall grpc
+ # test the built wheels, remove llvm and grpc dependencies to ensure
+ # things are properly statically-linked
+ - brew uninstall llvm@7 grpc c-ares
- install_run arrow
# move built wheels to a top level directory