Skip to content

debug CI failure - #514

Merged
davidkoski merged 8 commits into
mainfrom
fix-ci
Oct 27, 2026
Merged

davidkoski merged 8 commits into
mainfrom
fix-ci

Conversation

@davidkoski

Copy link
Copy Markdown
Member

Proposed changes

Debugging issue seen in CI. Not transient, but perhaps infrastructure related:

subprocess.CalledProcessError: Command '['swift', 'package', 'dump-package']' returned non-zero exit status 1.

Checklist

Put an x in the boxes that apply.

  • I have read the CONTRIBUTING document
  • I have run pre-commit run --all-files to format my code / installed pre-commit prior to committing changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have updated the necessary documentation (if needed)

# not match the active Xcode's swift compiler, so drop it and let swift pick
# the SDK matching its own toolchain -- same as running from the shell.
env = dict(os.environ)
env.pop("SDKROOT", None)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the actual fix. I think the builders now have Xcode 27 but the command line tools don't match.

Comment on lines +162 to +166
# Without an explicit SDK, /usr/bin/cc (xcrun) may pick the
# CommandLineTools SDK, which can be newer than the active Xcode's
# compiler/linker understands. Use the SDK that ships with Xcode.
export SDKROOT="$(xcrun --sdk macosx --show-sdk-path)"
echo "SDKROOT=$SDKROOT"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See script below -- same issue where the default Xcode and command line tools are not in sync.

@davidkoski
davidkoski requested a review from nwh October 27, 2026 19:52
@davidkoski
davidkoski merged commit 3b4b6db into main Oct 27, 2026
7 checks passed
@davidkoski
davidkoski deleted the fix-ci branch October 27, 2026 21:03
@davidkoski davidkoski mentioned this pull request Oct 27, 2026
4 tasks done
ronaldmannak added a commit to ronaldmannak/mlx-swift that referenced this pull request Nov 15, 2026
Brings in main through a557dd6 (upstream ml-explore#510, ml-explore#512, ml-explore#513, ml-explore#514, ml-explore#517,
ml-explore#518, ml-explore#519, ml-explore#523).

Conflicts:
- CMakeLists.txt: keep the PicoMLX/mlx-c pico/integration pin.
- Cmlx.xcconfig: keep MLX_VERSION 0.32.5 and add main's MLX_USE_JACCL=1.
- ModuleTests.swift, DistributedNNTests.swift: take main's Swift Testing
  versions. The integration side held this fork's copies of ml-explore#510 and ml-explore#512,
  whose code matches main's; main has since converted those files.

The Cmlx/mlx and Cmlx/mlx-c submodules stay on pico/integration, which
already contain the v0.32.4 and v0.8.0 commits main points at.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants