From fd7a61d910110310d521df66e90f0465942ccd2e Mon Sep 17 00:00:00 2001 From: wangxiaoying Date: Sat, 26 Feb 2022 02:01:09 +0000 Subject: [PATCH] update: manylinux:2014 for build arm wheel on linux --- .github/workflows/release.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8d65a63cc4..f529ddf206 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -58,7 +58,7 @@ jobs: with: maturin-version: v0.12.1 command: build - args: -m connectorx-python/Cargo.toml --no-sdist + args: -m connectorx-python/Cargo.toml --no-sdist --release env: RUSTFLAGS: "-C link-arg=-s" SQLITE3_STATIC: 1 @@ -66,9 +66,10 @@ jobs: - name: Build wheel for arm uses: messense/maturin-action@v1 with: + manylinux: 2014 maturin-version: v0.12.1 command: build - args: -m connectorx-python/Cargo.toml --target aarch64-unknown-linux-gnu -i python --no-sdist + args: -m connectorx-python/Cargo.toml --target aarch64-unknown-linux-gnu -i python --no-sdist --release env: RUSTFLAGS: "-C link-arg=-s" SQLITE3_STATIC: 1 @@ -136,7 +137,7 @@ jobs: with: maturin-version: v0.12.1 command: build - args: -m connectorx-python/Cargo.toml -i python --no-sdist + args: -m connectorx-python/Cargo.toml -i python --no-sdist --release env: SQLITE3_STATIC: 1 @@ -201,7 +202,7 @@ jobs: with: maturin-version: v0.12.1 command: build - args: -m connectorx-python/Cargo.toml -i python --no-sdist + args: -m connectorx-python/Cargo.toml -i python --no-sdist --release env: SQLITE3_STATIC: 1 LDFLAGS: "-L/usr/local/opt/openssl@3/lib" @@ -271,7 +272,7 @@ jobs: with: maturin-version: v0.12.1 command: build - args: -m connectorx-python/Cargo.toml --target aarch64-apple-darwin -i python --no-sdist + args: -m connectorx-python/Cargo.toml --target aarch64-apple-darwin -i python --no-sdist --release env: SQLITE3_STATIC: 1 PKG_CONFIG_PATH: "/usr/local/opt/openssl@3/lib/pkgconfig"