From 608cdb39e980c69b243606f80b3a6e1eb7de38f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kriszti=C3=A1n=20Sz=C5=B1cs?= Date: Fri, 13 Mar 2020 15:19:57 +0100 Subject: [PATCH 1/3] try newer osx image --- dev/tasks/python-wheels/travis.osx.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/tasks/python-wheels/travis.osx.yml b/dev/tasks/python-wheels/travis.osx.yml index 603614e8a26..dab58d7bce4 100644 --- a/dev/tasks/python-wheels/travis.osx.yml +++ b/dev/tasks/python-wheels/travis.osx.yml @@ -15,7 +15,7 @@ # limitations under the License. os: osx -osx_image: xcode11.2 +osx_image: xcode11.3 language: generic # don't build twice From fa25999b82ef04959daacabdf7d5ab4167b5c6e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kriszti=C3=A1n=20Sz=C5=B1cs?= Date: Mon, 16 Mar 2020 12:07:37 +0100 Subject: [PATCH 2/3] pass -isysroot --- dev/tasks/python-wheels/osx-build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dev/tasks/python-wheels/osx-build.sh b/dev/tasks/python-wheels/osx-build.sh index 896bfb2465b..314af57791d 100755 --- a/dev/tasks/python-wheels/osx-build.sh +++ b/dev/tasks/python-wheels/osx-build.sh @@ -37,6 +37,9 @@ function build_wheel { pushd $1 + # For bzip_ep to find the osx SDK headers + export CFLAGS="-isysroot $(xcrun --show-sdk-path)" + # Arrow is 64-bit-only at the moment export CFLAGS="-fPIC -arch x86_64 ${CFLAGS//"-arch i386"/}" export CXXFLAGS="-fPIC -arch x86_64 ${CXXFLAGS//"-arch i386"} -std=c++11" From edb410a4b962c2ac805d0c7b06ea25ed58be9896 Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Wed, 18 Mar 2020 08:43:43 +0900 Subject: [PATCH 3/3] Use SDKROOT --- dev/tasks/python-wheels/osx-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/tasks/python-wheels/osx-build.sh b/dev/tasks/python-wheels/osx-build.sh index 314af57791d..c29fc8eb649 100755 --- a/dev/tasks/python-wheels/osx-build.sh +++ b/dev/tasks/python-wheels/osx-build.sh @@ -38,7 +38,7 @@ function build_wheel { pushd $1 # For bzip_ep to find the osx SDK headers - export CFLAGS="-isysroot $(xcrun --show-sdk-path)" + export SDKROOT="$(xcrun --show-sdk-path)" # Arrow is 64-bit-only at the moment export CFLAGS="-fPIC -arch x86_64 ${CFLAGS//"-arch i386"/}"