Skip to content

Commit

Permalink
update: manylinux:2014 for build arm wheel on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
wangxiaoying committed Feb 26, 2022
1 parent a719a53 commit fd7a61d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,18 @@ 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

- 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
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down

1 comment on commit fd7a61d

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ConnectorX TPC-H Scale@1 Benchmarks

Benchmark suite Current: fd7a61d Previous: a719a53 Ratio
connectorx/tests/benchmarks.py::bench_mysql 0.015456462865382128 iter/sec (stddev: 3.315480536473377) 0.015177315274073467 iter/sec (stddev: 3.6029326293467223) 0.98
connectorx/tests/benchmarks.py::bench_postgres 0.010782103394930189 iter/sec (stddev: 4.4735908715486765) 0.01182824449032273 iter/sec (stddev: 4.58315491736793) 1.10

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.