Skip to content

CircleCI macOS Intel support deprecation #441

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

Closed
FabijanC opened this issue Apr 24, 2024 · 1 comment · Fixed by #465
Closed

CircleCI macOS Intel support deprecation #441

FabijanC opened this issue Apr 24, 2024 · 1 comment · Fixed by #465
Assignees

Comments

@FabijanC
Copy link
Contributor

https://discuss.circleci.com/t/macos-intel-support-deprecation-in-january-2024/48718

In .circleci/config.yml, this will probably require updating the resource class of the apple-darwin executor to use m1. But then the precompiled cross-compiler archive used in that executor will become incompatible (as it's compiled for x86_64). Since the cross-compiler only comes with binaries precompiled for x86_64, we will need to change the way it is installed (archive extraction will have to be replaced with installation from source, which leads to longer execution time, and consequently somewhat more expensive workflows, credit-wise)

@FabijanC FabijanC self-assigned this Apr 24, 2024
@FabijanC FabijanC moved this from 🆕 New to 🏗 In progress in starknet-devnet-rs May 8, 2024
@FabijanC
Copy link
Contributor Author

FabijanC commented May 8, 2024

I came across someone else who had difficulties with mac builds on CircleCI: vectordotdev/vector#544
What may not be applicable from the linked issue, though, is the slowness of mac executors (back in the day, there was no M1).

I am very doubtful about my efforts on this task. All of this is just to avoid needing to have Rust installed; or for those with Rust installed, to save a couple of minutes of mac users' time when installing Devnet, and I've already invested entire working days on this, and probably will even more.

Alternative approach

Simply don't build binaries for mac (apple-darwin).

@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in starknet-devnet-rs May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant