From 52e14ee9a9bc45bbd6e497eb9f3bf4779458546d Mon Sep 17 00:00:00 2001 From: Sammy Sidhu Date: Tue, 15 Aug 2023 20:34:26 -0700 Subject: [PATCH] update aarch64 flags and add aes to both; also update maturin --- .github/workflows/python-publish.yml | 3 ++- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index cb6d0eb8ad..6e5c779c2b 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -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') }} @@ -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') }} diff --git a/pyproject.toml b/pyproject.toml index 11f0a0ea3d..56f5c604ef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 = "daft@eventualcomputing.com"}]