Skip to content

Create a macos-arm64 preset #10768

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 8, 2025
Merged

Create a macos-arm64 preset #10768

merged 1 commit into from
May 8, 2025

Conversation

jathu
Copy link
Contributor

@jathu jathu commented May 8, 2025

Summary

  • Create the base for a macos-arm64 preset — bigger migration in future diffs
  • Create an Apple CI job to test builds

Test plan

CI +

$ cmake --preset macos-arm64

-- Loading build preset: /Users/jathu/executorch/tools/cmake/preset/macos-arm64.cmake
-- --- Configurated Options ---

-- EXECUTORCH_BUILD_PRESET_FILE : /Users/jathu/executorch/tools/cmake/preset/macos-arm64.cmake
-- EXECUTORCH_ENABLE_LOGGING    : ON
-- EXECUTORCH_BUILD_COREML      : ON
-- ---------------------------

$ cmake --build cmake-out --parallel

cc @larryliu0820

Copy link

pytorch-bot bot commented May 8, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/10768

Note: Links to docs will display an error until the docs builds have been completed.

❌ 3 New Failures, 3 Pending

As of commit a41a32b with merge base 380c4f1 (image):

NEW FAILURES - The following jobs have failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 8, 2025
@jathu jathu force-pushed the jathu/init-preset branch 10 times, most recently from 6cab142 to e0854ce Compare May 8, 2025 04:07
@jathu jathu added module: build/install Issues related to the cmake and buck2 builds, and to installing ExecuTorch ciflow/trunk ciflow/binaries topic: not user facing labels May 8, 2025
@jathu jathu force-pushed the jathu/init-preset branch 4 times, most recently from 3d1e4ae to fe33806 Compare May 8, 2025 16:26
@jathu jathu force-pushed the jathu/set-option branch from 9d3a26a to b210d7c Compare May 8, 2025 17:16
@jathu jathu force-pushed the jathu/init-preset branch from fe33806 to 8f8417b Compare May 8, 2025 17:17
@jathu jathu requested a review from larryliu0820 May 8, 2025 17:17
@jathu jathu marked this pull request as ready for review May 8, 2025 17:17
@jathu jathu force-pushed the jathu/set-option branch from b210d7c to 9460e99 Compare May 8, 2025 18:00
@jathu jathu force-pushed the jathu/init-preset branch from 8f8417b to dfaa4da Compare May 8, 2025 18:00
Base automatically changed from jathu/set-option to main May 8, 2025 20:32
@jathu jathu force-pushed the jathu/init-preset branch from 970492a to a41a32b Compare May 8, 2025 20:33
@jathu jathu merged commit ac26555 into main May 8, 2025
193 of 196 checks passed
@jathu jathu deleted the jathu/init-preset branch May 8, 2025 21:41
jhelsby pushed a commit to jhelsby/executorch that referenced this pull request May 9, 2025
### Summary

* Create the base for a macos-arm64 preset — bigger migration in future
diffs
* Create an Apple CI job to test builds

### Test plan

CI +

```
$ cmake --preset macos-arm64

-- Loading build preset: /Users/jathu/executorch/tools/cmake/preset/macos-arm64.cmake
-- --- Configurated Options ---

-- EXECUTORCH_BUILD_PRESET_FILE : /Users/jathu/executorch/tools/cmake/preset/macos-arm64.cmake
-- EXECUTORCH_ENABLE_LOGGING    : ON
-- EXECUTORCH_BUILD_COREML      : ON
-- ---------------------------

$ cmake --build cmake-out --parallel
```

cc @larryliu0820
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/binaries ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. module: build/install Issues related to the cmake and buck2 builds, and to installing ExecuTorch topic: not user facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants