Skip to content

Apache DataFusion SQL Query Engine

ARROW-6518: [Packaging][Python] Flight failing in OSX Python wheel builds

Krisztián Szűcs61103a6ba677
diff --git a/dev/tasks/python-wheels/osx-build.sh b/dev/tasks/python-wheels/osx-build.sh
index fbd8388d94..e87f25bb4f 100755
--- a/dev/tasks/python-wheels/osx-build.sh
+++ b/dev/tasks/python-wheels/osx-build.sh
@@ -140,6 +140,7 @@ function build_wheel {
-Dzlib_SOURCE=BUNDLED \
-DARROW_PROTOBUF_USE_SHARED=OFF \
-DOPENSSL_USE_STATIC_LIBS=ON \
+ -DOPENSSL_ROOT_DIR=$(brew --prefix [email protected]) \
-DMAKE=make \
..
make -j5
diff --git a/dev/tasks/python-wheels/travis.osx.yml b/dev/tasks/python-wheels/travis.osx.yml
index 8502642661..ec3e97d2fe 100644
--- a/dev/tasks/python-wheels/travis.osx.yml
+++ b/dev/tasks/python-wheels/travis.osx.yml
@@ -47,7 +47,7 @@ before_install:
- brew uninstall boost cgal postgis sfcgal
- brew update
- brew upgrade cmake
- - brew install bison flex grpc openssl llvm@7 zlib
+ - brew install bison flex grpc [email protected] llvm@7 zlib gperftools
# Remove shared grpc libraries installed by brew to make sure
# we are linked against the static ones.
- rm -f /usr/local/opt/grpc/lib/*.dylib
@@ -68,7 +68,7 @@ install:
# test the built wheels, remove llvm and grpc dependencies to ensure
# things are properly statically-linked
- - brew uninstall --ignore-dependencies llvm@7 grpc c-ares openssl zlib
+ - brew uninstall --ignore-dependencies llvm@7 grpc c-ares openssl [email protected] zlib gperftools
# install the built wheel and test dependencies
- install_wheel arrow
# run unit tests before removing the system libraries