From 884e972c1ec3705e379a73d173daa68034019895 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 26 Jun 2026 22:09:14 +0000 Subject: [PATCH 1/3] Initial plan From d44f32d8b4b0e0783053a08e1174c3608c9f0a3b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 26 Jun 2026 22:13:23 +0000 Subject: [PATCH 2/3] Fix macOS CI: set SDKROOT/CONDA_BUILD_SYSROOT for conda-forge cross-compiler The conda-forge arm64-apple-darwin20.0.0-clang fails meson's C compiler sanity check on newer Xcode versions (26.5+) because the compiled binary is missing LC_LOAD_DYLIB for libSystem.dylib. Fix: set SDKROOT, CONDA_BUILD_SYSROOT, and MACOSX_DEPLOYMENT_TARGET before the build step so the conda-forge cross-compiler can find and link against the correct macOS SDK. --- .github/workflows/smoke_test.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/smoke_test.yml b/.github/workflows/smoke_test.yml index 8296ec734..a5711db9e 100644 --- a/.github/workflows/smoke_test.yml +++ b/.github/workflows/smoke_test.yml @@ -42,6 +42,17 @@ jobs: pixi-version: v0.39.5 manifest-path: pixi/pixi.toml + # On macOS, the conda-forge cross-compiler (arm64-apple-darwin20.0.0-clang) + # requires SDKROOT/CONDA_BUILD_SYSROOT to link against libSystem.dylib. + # Without this, meson's C compiler sanity check fails on newer Xcode versions. + - name: Set macOS SDK paths + if: runner.os == 'macOS' + run: | + SDKROOT=$(xcrun --sdk macosx --show-sdk-path) + echo "SDKROOT=$SDKROOT" >> $GITHUB_ENV + echo "CONDA_BUILD_SYSROOT=$SDKROOT" >> $GITHUB_ENV + echo "MACOSX_DEPLOYMENT_TARGET=11.0" >> $GITHUB_ENV + # run install to see if it works - name: Build # run: pixi run --manifest-path pixi/pixi.toml -e ${{ matrix.env }} install${{ matrix.os.cmd_extra }} From 178392bd9e8ad242c142474d63fc041360778704 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 26 Jun 2026 22:13:51 +0000 Subject: [PATCH 3/3] Add comment explaining MACOSX_DEPLOYMENT_TARGET=11.0 choice --- .github/workflows/smoke_test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/smoke_test.yml b/.github/workflows/smoke_test.yml index a5711db9e..707696b3f 100644 --- a/.github/workflows/smoke_test.yml +++ b/.github/workflows/smoke_test.yml @@ -44,7 +44,9 @@ jobs: # On macOS, the conda-forge cross-compiler (arm64-apple-darwin20.0.0-clang) # requires SDKROOT/CONDA_BUILD_SYSROOT to link against libSystem.dylib. - # Without this, meson's C compiler sanity check fails on newer Xcode versions. + # Without this, meson's C compiler sanity check fails on newer Xcode versions + # (e.g. Xcode 26+) because dyld rejects executables missing LC_LOAD_DYLIB. + # MACOSX_DEPLOYMENT_TARGET=11.0 matches the compiler's darwin20 target triplet. - name: Set macOS SDK paths if: runner.os == 'macOS' run: |