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

fix(MONGOSH-1808): only build universal macos binaries when creating loadable_library #186

Merged
merged 2 commits into from
Jul 1, 2024

Conversation

nbbeeken
Copy link
Collaborator

@nbbeeken nbbeeken commented Jun 28, 2024

Description

What is changing?

  • Make universal builds only for loadable_library builds.
  • Port over build script from FLE
Is there new documentation needed for these changes?

No

What is the motivation for this change?

To align with FLE, and unblock static building for mongosh

Release Highlight

MacOS universal builds

In a previous PR we made our MacOS prebuilds be universal binaries so the same build works on both M1 and Intel. This PR moves the universal build flags under a condition so that when building a static library only the platform being built for is included.

Double check the following

  • Ran npm run check:lint script
  • Self-review completed using the steps outlined here
  • PR title follows the correct format: type(NODE-xxxx)[!]: description
    • Example: feat(NODE-1234)!: rewriting everything in coffeescript
  • Changes are covered by tests
  • New TODOs have a related JIRA ticket

@nbbeeken nbbeeken changed the title chore: align build steps with mongodb-client-encryption fix: only build universal macos binaries when creating loadable_library Jun 28, 2024
@nbbeeken nbbeeken force-pushed the fix-binding-mongosh branch from d76ff5c to e90b1c6 Compare June 28, 2024 19:57
@nbbeeken nbbeeken changed the title fix: only build universal macos binaries when creating loadable_library fix(MONGOSH-1808): only build universal macos binaries when creating loadable_library Jun 28, 2024
package.json Outdated Show resolved Hide resolved
@nbbeeken nbbeeken requested a review from durran July 1, 2024 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Primary Review In Review with primary reviewer, not yet ready for team's eyes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants