This is an automated email from the ASF dual-hosted git repository.
agrove pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion-python.git
The following commit(s) were added to refs/heads/main by this push:
new 92ca34b Build Linux aarch64 wheel (#443)
92ca34b is described below
commit 92ca34bd18f72b533066712dffd51ac23a95fb81
Author: Goksel Kabadayi <[email protected]>
AuthorDate: Thu Aug 3 06:39:56 2023 +0300
Build Linux aarch64 wheel (#443)
* Build Linux aarch64 wheel
* Remove unnecessary platform tag
---
.github/workflows/build.yml | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index fe06b9c..e72c480 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -180,6 +180,36 @@ jobs:
name: dist
path: target/wheels/*
+ build-manylinux-aarch64:
+ needs: [generate-license]
+ name: Manylinux arm64
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - run: rm LICENSE.txt
+ - name: Download LICENSE.txt
+ uses: actions/download-artifact@v3
+ with:
+ name: python-wheel-license
+ path: .
+ - run: cat LICENSE.txt
+ - name: Build wheels
+ uses: PyO3/maturin-action@v1
+ env:
+ RUST_BACKTRACE: 1
+ with:
+ rust-toolchain: nightly
+ target: aarch64
+ # Use manylinux_2_28-cross because the manylinux2014-cross has GCC
4.8.5, which causes the build to fail
+ manylinux: 2_28
+ rustup-components: rust-std rustfmt # Keep them in one line due to
https://github.com/PyO3/maturin-action/issues/153
+ args: --release --features protoc
+ - name: Archive wheels
+ uses: actions/upload-artifact@v3
+ with:
+ name: dist
+ path: target/wheels/*
+
build-sdist:
needs: [generate-license]
name: Source distribution