From 04623b6be01be0f9f789dabc55a44fc31a3ff45e Mon Sep 17 00:00:00 2001 From: Andy Lee Date: Tue, 12 Aug 2025 00:06:19 -0700 Subject: [PATCH] feat: add macOS 15 support for M4 Mac compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add macos-15 CI builds for Python 3.9-3.13 - Update MACOSX_DEPLOYMENT_TARGET from 11.0/13.3 to 14.0 for broader compatibility - Addresses issue #34 with Mac M4 wheel compatibility 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .github/workflows/build-reusable.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-reusable.yml b/.github/workflows/build-reusable.yml index 06ac31a..fdf6653 100644 --- a/.github/workflows/build-reusable.yml +++ b/.github/workflows/build-reusable.yml @@ -64,6 +64,16 @@ jobs: python: '3.12' - os: macos-14 python: '3.13' + - os: macos-15 + python: '3.9' + - os: macos-15 + python: '3.10' + - os: macos-15 + python: '3.11' + - os: macos-15 + python: '3.12' + - os: macos-15 + python: '3.13' - os: macos-13 python: '3.9' - os: macos-13 @@ -147,7 +157,7 @@ jobs: # Use system clang for better compatibility export CC=clang export CXX=clang++ - export MACOSX_DEPLOYMENT_TARGET=11.0 + export MACOSX_DEPLOYMENT_TARGET=14.0 uv build --wheel --python ${{ matrix.python }} --find-links ${GITHUB_WORKSPACE}/packages/leann-core/dist else uv build --wheel --python ${{ matrix.python }} --find-links ${GITHUB_WORKSPACE}/packages/leann-core/dist @@ -161,7 +171,8 @@ jobs: export CC=clang export CXX=clang++ # DiskANN requires macOS 13.3+ for sgesdd_ LAPACK function - export MACOSX_DEPLOYMENT_TARGET=13.3 + # Using 14.0 for better M4 compatibility + export MACOSX_DEPLOYMENT_TARGET=14.0 uv build --wheel --python ${{ matrix.python }} --find-links ${GITHUB_WORKSPACE}/packages/leann-core/dist else uv build --wheel --python ${{ matrix.python }} --find-links ${GITHUB_WORKSPACE}/packages/leann-core/dist