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

MONGOCRYPT-340 add macOS m1 variant #234

Merged
merged 8 commits into from Jan 18, 2022
Merged

Conversation

kevinAlbs
Copy link
Contributor

@kevinAlbs kevinAlbs commented Jan 12, 2022

Summary

  • Add variant named macos_m1 running on distro macos-1100-arm64 to run the task build-and-test-and-upload.
  • Use /opt/homebrew/bin/cmake instead of /Applications/Cmake.app/Contents/bin/cmake. The former has arm64 architecture and produces arm64 builds by default. The latter has x86_64 architecture and builds with x86_64 architecture by default. See BUILD-14565.

Caveats

Bindings tasks, like build-and-test-node, build-and-test-java, build-and-test-csharp, and test-python will require further changes. This Evergreen patch build is configured with all tasks and should provide error logs.

The linked patch build includes a failing build-and-test-node on Windows 2016. I think it is unrelated to these changes.

@kevinAlbs kevinAlbs marked this pull request as ready for review January 12, 2022 21:10
@kevinAlbs kevinAlbs changed the title WIP: add macOS m1 variant MONGOCRYPT-340: add macOS m1 variant Jan 12, 2022
@kevinAlbs kevinAlbs marked this pull request as draft January 12, 2022 21:11
@kevinAlbs kevinAlbs marked this pull request as ready for review January 13, 2022 23:17
@kevinAlbs kevinAlbs changed the title MONGOCRYPT-340: add macOS m1 variant MONGOCRYPT-340 add macOS m1 variant Jan 13, 2022
Copy link
Contributor

@nbbeeken nbbeeken left a comment

Choose a reason for hiding this comment

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

Thanks for this, LGTM, and I agree that the bindings should be tackled in follow up work

Copy link
Collaborator

@rcsanchez97 rcsanchez97 left a comment

Choose a reason for hiding this comment

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

LGTM

@durran
Copy link
Member

durran commented Jan 17, 2022

LGTM. In agreement with @nbbeeken on the follow up work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants