Open
Conversation
…braries (#20106) ## Summary Adds iOS cross-compilation support for the barretenberg-rs FFI backend: - Add `ios.toolchain.cmake` from leetal/ios-cmake project for iOS cross-compilation - Add iOS CMake presets (`ios-arm64` for device, `ios-sim-arm64` for simulator) - Add `build_ios` function to bootstrap.sh for macOS runners - Add iOS static library packaging to `build_release_dir` - Update `build.rs` to support iOS targets (`aarch64-apple-ios`, `aarch64-apple-ios-sim`) - Update README with iOS supported targets - Update `publish-bb-mac.yml` workflow to build and release iOS static libraries on tag push ## Supported iOS Targets - `aarch64-apple-ios` - iOS device (arm64) - `aarch64-apple-ios-sim` - iOS Simulator on Apple Silicon Macs ## How it works iOS builds cannot be cross-compiled from Linux (requires Xcode/iOS SDK). The `publish-bb-mac.yml` workflow: 1. Triggers on `v*` tag push (including `ci-release-pr` test tags) 2. Runs on `macos-14` runner with Xcode 3. Builds `bb-external` target for both iOS presets 4. Packages and uploads `barretenberg-static-arm64-ios.tar.gz` and `barretenberg-static-arm64-ios-sim.tar.gz` to GitHub release The main Linux release (ci3.yml) handles Linux and macOS (via zig cross-compile). iOS is handled separately by this workflow. ## Notes iOS builds are configured to: - Target iOS 14.0+ - Disable ARC (Automatic Reference Counting) - Use the Ninja generator ## Test plan - [X] Add `ci-release-pr` label to trigger test release - [X] Verify `publish-bb-mac.yml` workflow runs on macOS runner - [X] Verify iOS presets configure and build successfully - [X] Verify `barretenberg-static-arm64-ios.tar.gz` and `barretenberg-static-arm64-ios-sim.tar.gz` are uploaded to the test release
added 7 commits
February 4, 2026 16:46
Collaborator
Author
|
🤖 Auto-merge enabled after 4 hours of inactivity. This PR will be merged automatically once all checks pass. |
Collaborator
Author
Flakey Tests🤖 says: This CI run detected 1 tests that failed, but were tolerated due to a .test_patterns.yml entry. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BEGIN_COMMIT_OVERRIDE
feat: add iOS cross-compilation targets for barretenberg-rs static libraries (#20106)
chore: Generic lookup and permutation audit - 1 (#20008)
END_COMMIT_OVERRIDE