[MONGOCRYPT-340] Add support for darwin-arm64 compilation Created: 06/Oct/21  Updated: 28/Oct/23  Resolved: 18/Jan/22

Status: Closed
Project: Libmongocrypt
Component/s: C library
Affects Version/s: None
Fix Version/s: 1.3.1

Type: New Feature Priority: Critical - P2
Reporter: Neal Beeken Assignee: Kevin Albertson
Resolution: Fixed Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by NODE-3631 Install of mongocrypt fails on M1 Closed
Issue split
split to JAVA-4445 Update Java bindings for client side ... Closed
split to CSHARP-4016 Update libmongocrypt C# bindings for ... Closed
split to PYTHON-3067 [pymongocrypt] Add support for macOS ... Closed
Related
is related to MONGOCRYPT-372 Package Apple M1 support as Universal... Closed

 Description   

Use Case

As a macos arm64 user I want libmongocrypt to test against compiling on that system so that I can rely on prebuilt mongo-c-driver and libmongocrypt binaries in evergreen.

User Impact

Any developer working on an Apple M1 device, or deploying a client side FLE app to M1 Macs.

Dependencies

  • MongoDB C Driver (just libbson) - will also need to support M1
  • kms-message - will also need to support M1

Unknowns

  • Are there any differences compiling on macos arm64 vs linux arm64?

Acceptance Criteria

Implementation Requirements

  • n/a

Testing Requirements

  • Add macos-1100-arm64 to the CI matrix
  • Ensure compilation is successful
  • Ensure the prep-c-driver-source task is available for other driver languages to use

Documentation Requirements

  • Maybe document system support? If there is a docs page for that.

Follow Up Requirements

  • n/a


 Comments   
Comment by Githook User [ 18/Jan/22 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}

Message: MONGOCRYPT-340 add macOS m1 variant (#234)
Branch: master
https://github.com/mongodb/libmongocrypt/commit/dd55a311b63d06fea481c46b0623ba970fc311a6

Comment by Jesus GARNICA OLARRA [ 03/Jan/22 ]

My project is not working any more due to to mongodb-client-encryption

Comment by Anna Henningsen [ 07/Oct/21 ]

Are there any differences compiling on macos arm64 vs linux arm64?

Just fyi – we build mongosh with libmongocrypt and the Node.js bindings for it on macos arm64 and don’t have any issue there, including using the prep_c_driver_source.sh script as part of that.

Generated at Thu Feb 08 09:08:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.