This is an automated email from the ASF dual-hosted git repository.

yihua pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hudi-rs.git


The following commit(s) were added to refs/heads/main by this push:
     new 635042f6 fix(release): set the macOS deployment target for the x86_64 
wheel build (#722)
635042f6 is described below

commit 635042f6700f86a10f4e422624bc73e6ed03965a
Author: Y Ethan Guo <[email protected]>
AuthorDate: Fri Sep 4 08:02:51 2026 -0700

    fix(release): set the macOS deployment target for the x86_64 wheel build 
(#722)
---
 .github/workflows/release.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index b699b83a..653ae04f 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -84,6 +84,10 @@ jobs:
         env:
           MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
           MATURIN_REPOSITORY: pypi
+          # RocksDB uses C++17 aligned allocation, available on macOS 10.13+,
+          # while the x86_64 build otherwise runs at rustc's 10.12 floor and
+          # fails to compile. arm64 already floors at 11.0.
+          MACOSX_DEPLOYMENT_TARGET: ${{ matrix.target == 'x86_64-apple-darwin' 
&& '10.13' || '11.0' }}
         with:
           target: ${{ matrix.target }}
           command: publish

Reply via email to