Skip to content

Commit

Permalink
Fix macOS universal build
Browse files Browse the repository at this point in the history
See PyO3/maturin#1620

Signed-off-by: Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
  • Loading branch information
exg committed Sep 24, 2023
1 parent 9a9b376 commit b473f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ jobs:
LDFLAGS: "-O2 -flto=thin -fuse-ld=lld -Wl,--as-needed"
RUSTFLAGS: "-C linker=clang"
CARGO_UNSTABLE_SPARSE_REGISTRY: "true"
run: PATH=$HOME/.cargo/bin:$PATH PYO3_CROSS_LIB_DIR=$(python -c "import sysconfig;print(sysconfig.get_config_var('LIBDIR'))") maturin build --release --strip --features=unstable-simd --universal2
run: PATH=$HOME/.cargo/bin:$PATH PYO3_CROSS_LIB_DIR=$(python -c "import sysconfig;print(sysconfig.get_config_var('LIBDIR'))") maturin build --release --strip --features=unstable-simd --target universal2-apple-darwin
- if: startsWith(github.ref, 'refs/tags')
run: twine upload --non-interactive --skip-existing target/wheels/*
release_sdist:
Expand Down

0 comments on commit b473f58

Please sign in to comment.