Skip to content

Commit

Permalink
update aarch64 flags and add aes to both; also update maturin
Browse files Browse the repository at this point in the history
  • Loading branch information
samster25 committed Aug 16, 2023
1 parent 77292e6 commit 52e14ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
manylinux: auto
args: --profile release-lto --out dist --sdist
env:
RUSTFLAGS: -C target-feature=+fxsr,+sse,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2,+popcnt,+avx,+fma
RUSTFLAGS: -C target-feature=+fxsr,+sse,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2,+popcnt,+avx,+fma,+aes

- name: Build wheels - Linux aarch64
if: ${{ (matrix.os == 'ubuntu') && (matrix.compile_arch == 'aarch64') }}
Expand All @@ -67,6 +67,7 @@ jobs:
# GCC 4.8.5 in manylinux2014 container doesn't support c11 atomic. This caused issues with the `ring` crate that causes TLS to fail
container: messense/manylinux_2_24-cross:aarch64
args: --profile release --out dist --sdist
RUSTFLAGS: -C target-feature=+aes,+neon

- name: Build wheels - Mac aarch64
if: ${{ (matrix.os == 'macos') && (matrix.compile_arch == 'aarch64') }}
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
build-backend = "maturin"
requires = ["maturin>=0.14,<0.15"]
requires = ["maturin>=1.2.0,<1.3.0"]

[project]
authors = [{name = "Eventual Inc", email = "[email protected]"}]
Expand Down

0 comments on commit 52e14ee

Please sign in to comment.