You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by am...@apache.org on 2022/07/04 13:14:31 UTC
[arrow] branch master updated: ARROW-16779:[CI][Python] Request for Pyarrow Flight to be shipped in arm64 MacOS version of the wheel (#13460)
This is an automated email from the ASF dual-hosted git repository.
amolina pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new 41f8bdfea8 ARROW-16779:[CI][Python] Request for Pyarrow Flight to be shipped in arm64 MacOS version of the wheel (#13460)
41f8bdfea8 is described below
commit 41f8bdfea87bc43ea9ff1ff7f002e8153267409a
Author: Jacob Wujciak-Jens <ja...@wujciak.de>
AuthorDate: Mon Jul 4 15:14:22 2022 +0200
ARROW-16779:[CI][Python] Request for Pyarrow Flight to be shipped in arm64 MacOS version of the wheel (#13460)
Lead-authored-by: Jacob Wujciak-Jens <ja...@wujciak.de>
Co-authored-by: Will Jones <wi...@gmail.com>
Signed-off-by: Alessandro Molina <am...@turbogears.org>
---
dev/tasks/python-wheels/github.osx.arm64.yml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/dev/tasks/python-wheels/github.osx.arm64.yml b/dev/tasks/python-wheels/github.osx.arm64.yml
index f1ad9a7927..e5be422e2c 100644
--- a/dev/tasks/python-wheels/github.osx.arm64.yml
+++ b/dev/tasks/python-wheels/github.osx.arm64.yml
@@ -23,7 +23,6 @@
{{ macros.github_header() }}
env:
- ARROW_FLIGHT: OFF
ARROW_JEMALLOC: OFF
CC: "clang"
CMAKE_BUILD_TYPE: release
@@ -136,6 +135,10 @@ jobs:
$PYTHON -m venv test-arm64-env
source test-arm64-env/bin/activate
pip install --upgrade pip wheel
+ # libffi has to be installed on the m1 runner which causes issues with
+ # the cffi wheel. We build cffi with the flags pointing to the correct libffi location.
+ LDFLAGS=-L$(brew --prefix libffi)/lib CFLAGS=-I$(brew --prefix libffi)/include \
+ arch -arm64 pip install cffi --no-binary :all:
arch -arm64 pip install -r arrow/python/requirements-wheel-test.txt
PYTHON=python arch -arm64 arrow/ci/scripts/install_gcs_testbench.sh default
arch -arm64 arrow/ci/scripts/python_wheel_unix_test.sh $(pwd)/arrow