Skip to content
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

Add aarch64-apple-darwin build target to cubestore #8950

Merged
merged 2 commits into from
Nov 13, 2024
Merged

Conversation

vieira
Copy link
Contributor

@vieira vieira commented Nov 13, 2024

Check List

  • Tests has been run in packages where changes made if available
  • Linter has been run for changed code
  • Tests for the changes have been added if not covered yet
  • Docs have been added / updated if required

Issue Reference this PR resolves

Fixes #8949

Description of Changes Made

Add aarch64-apple-darwin as a build target to the cubestore matrix and update getTarget() to return aarch64-apple-darwin to darwin on arm64 instead of returning x86_64-apple-darwin and requiring Rosetta 2.

A previous attempt appears to have been made by @ovr on #2658 but seems to have been abandoned (perhaps because at the time GitHub actions did not have a ARM64 macOS runner? It was made available on Jan 2024).

I ran the workflow rust-cubestore-master.yml, downloaded the artifact resulting from the new job cubestore (aarch64-apple-darwin) to a macbook w/ arm64 and confirmed that #8949 is solved.

I am not familiar with the build/release infrastructure of Cube. Please review and let me know if any changes should be made. Thanks!

@vieira vieira requested a review from a team as a code owner November 13, 2024 03:14
Copy link

vercel bot commented Nov 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

8 Skipped Deployments
Name Status Preview Comments Updated (UTC)
examples-angular-dashboard ⬜️ Ignored (Inspect) Visit Preview Nov 13, 2024 10:51am
examples-react-d3 ⬜️ Ignored (Inspect) Visit Preview Nov 13, 2024 10:51am
examples-react-dashboard ⬜️ Ignored (Inspect) Visit Preview Nov 13, 2024 10:51am
examples-react-data-table ⬜️ Ignored (Inspect) Visit Preview Nov 13, 2024 10:51am
examples-react-highcharts ⬜️ Ignored (Inspect) Visit Preview Nov 13, 2024 10:51am
examples-react-material-ui ⬜️ Ignored (Inspect) Visit Preview Nov 13, 2024 10:51am
examples-react-pivot-table ⬜️ Ignored (Inspect) Visit Preview Nov 13, 2024 10:51am
examples-vue-query-builder ⬜️ Ignored (Inspect) Visit Preview Nov 13, 2024 10:51am

@github-actions github-actions bot added the pr:community Contribution from Cube.js community members. label Nov 13, 2024
@ovr
Copy link
Member

ovr commented Nov 13, 2024

the time GitHub actions did not have a ARM64 macOS runner

Yes, it's correct.

@ovr ovr merged commit 737fb60 into cube-js:master Nov 13, 2024
24 of 26 checks passed
@ovr
Copy link
Member

ovr commented Nov 13, 2024

LGTM, merged!

Thank you @vieira for your contribution 🍰 🍥

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:community Contribution from Cube.js community members.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unknown system error -86 when spawning binary from @cubejs-backend/query-orchestrator (darwin-arm64)
2 participants