[SERVER-85902] Bazel compile_dist_test fails on MacOS due to sdk version mismatch Created: 29/Jan/24 Updated: 06/Feb/24 |
|
| Status: | In Code Review |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.3.0-rc2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Zack Winter | Assignee: | Udita Bose |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | req-bazel-all-variant-launch | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Build
|
| Operating System: | ALL |
| Sprint: | Build and Correctness OnDeck |
| Participants: |
| Description |
|
When bazel is enabled as required on MacOS it fails due to a mismatched sdk version: This should be fixed by setting the bazel macos_minimum_os command line flag: https://bazel.build/reference/command-line-reference#flag--macos_minimum_os From the scons definitions: https://github.com/10gen/mongo/blob/master/etc/scons/xcode_macosx_arm.vars#L14 (probably makes sense to just hardcode this into integrate_bazel.py) |