mirror of
https://github.com/roapi/roapi.git
synced 2026-06-05 21:04:02 +08:00
avoid skylake target cpu flags for arm builds
This commit is contained in:
parent
ffd1ca6dda
commit
5d1559e08c
8
.github/workflows/columnq_cli_release.yml
vendored
8
.github/workflows/columnq_cli_release.yml
vendored
@ -139,17 +139,20 @@ jobs:
|
||||
target: "x86_64-unknown-linux-musl"
|
||||
image_tag: "x86_64-musl"
|
||||
features: "simd,rustls,database-sqlite"
|
||||
rustflags: "-C target-cpu=skylake"
|
||||
name_suffix: ""
|
||||
upload: "true"
|
||||
# - manylinux: "2010"
|
||||
# target: "x86_64-unknown-linux-musl"
|
||||
# image_tag: "x86_64-musl"
|
||||
# features: "simd,native-tls,database-sqlite"
|
||||
# rustflags: "-C target-cpu=skylake"
|
||||
# name_suffix: "-openssl"
|
||||
# upload: "false"
|
||||
- manylinux: '2014'
|
||||
target: "aarch64-unknown-linux-musl"
|
||||
image_tag: "aarch64-musl"
|
||||
rustflags: ""
|
||||
features: "rustls,database-sqlite"
|
||||
name_suffix: ""
|
||||
upload: "true"
|
||||
@ -158,16 +161,19 @@ jobs:
|
||||
# image_tag: "aarch64-musl"
|
||||
# features: "native-tls,database-sqlite"
|
||||
# name_suffix: "-openssl"
|
||||
# rustflags: ""
|
||||
# upload: "false"
|
||||
- manylinux: '2014'
|
||||
target: "armv7-unknown-linux-musleabihf"
|
||||
image_tag: "armv7-musleabihf"
|
||||
rustflags: ""
|
||||
features: "rustls,database-sqlite"
|
||||
name_suffix: ""
|
||||
upload: "true"
|
||||
# - manylinux: '2014'
|
||||
# target: "armv7-unknown-linux-musleabihf"
|
||||
# image_tag: "armv7-musleabihf"
|
||||
# rustflags: ""
|
||||
# features: "native-tls,database-sqlite"
|
||||
# name_suffix: "-openssl"
|
||||
# upload: "false"
|
||||
@ -193,7 +199,7 @@ jobs:
|
||||
- name: Build Wheels
|
||||
run: |
|
||||
sudo python3 -m pip install 'maturin<0.12'
|
||||
export RUSTFLAGS='-C target-cpu=skylake'
|
||||
export RUSTFLAGS='${{ matrix.platform.rustflags }}'
|
||||
maturin build -m columnq-cli/Cargo.toml -b bin --no-sdist --release -o dist \
|
||||
--target ${{ matrix.platform.target }} --manylinux ${{ matrix.platform.manylinux }} \
|
||||
--cargo-extra-args="--no-default-features --features=${{ matrix.platform.features }}"
|
||||
|
||||
8
.github/workflows/roapi_release.yml
vendored
8
.github/workflows/roapi_release.yml
vendored
@ -142,35 +142,41 @@ jobs:
|
||||
image_tag: "x86_64-musl"
|
||||
features: "simd,rustls,database-sqlite"
|
||||
name_suffix: ""
|
||||
rustflags: "-C target-cpu=skylake"
|
||||
upload: "true"
|
||||
# - manylinux: "2010"
|
||||
# target: "x86_64-unknown-linux-musl"
|
||||
# image_tag: "x86_64-musl"
|
||||
# features: "simd,native-tls"
|
||||
# rustflags: "-C target-cpu=skylake"
|
||||
# name_suffix: "-openssl"
|
||||
# upload: "false"
|
||||
- manylinux: '2014'
|
||||
target: "aarch64-unknown-linux-musl"
|
||||
image_tag: "aarch64-musl"
|
||||
features: "rustls,database-sqlite"
|
||||
rustflags: ""
|
||||
name_suffix: ""
|
||||
upload: "true"
|
||||
# - manylinux: '2014'
|
||||
# target: "aarch64-unknown-linux-musl"
|
||||
# image_tag: "aarch64-musl"
|
||||
# features: "native-tls"
|
||||
# rustflags: ""
|
||||
# name_suffix: "-openssl"
|
||||
# upload: "false"
|
||||
- manylinux: '2014'
|
||||
target: "armv7-unknown-linux-musleabihf"
|
||||
image_tag: "armv7-musleabihf"
|
||||
features: "rustls,database-sqlite"
|
||||
rustflags: ""
|
||||
name_suffix: ""
|
||||
upload: "true"
|
||||
# - manylinux: '2014'
|
||||
# target: "armv7-unknown-linux-musleabihf"
|
||||
# image_tag: "armv7-musleabihf"
|
||||
# features: "native-tls"
|
||||
# rustflags: ""
|
||||
# name_suffix: "-openssl"
|
||||
# upload: "false"
|
||||
container:
|
||||
@ -195,7 +201,7 @@ jobs:
|
||||
- name: Build Wheels
|
||||
run: |
|
||||
sudo python3 -m pip install 'maturin<0.12'
|
||||
export RUSTFLAGS='-C target-cpu=skylake'
|
||||
export RUSTFLAGS='${{ matrix.platform.rustflags }}'
|
||||
maturin build -m roapi/Cargo.toml -b bin --no-sdist --release -o dist \
|
||||
--target ${{ matrix.platform.target }} --manylinux ${{ matrix.platform.manylinux }} \
|
||||
--cargo-extra-args="--no-default-features --features=${{ matrix.platform.features }}"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user