[SERVER-80874] Adjust Bazel invocation to batch up targets Created: 07/Sep/23 Updated: 29/Oct/23 Resolved: 04/Oct/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.2.0-rc0 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Steve Gross | Assignee: | Steve Gross |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Server Development Platform
|
| Backwards Compatibility: | Fully Compatible |
| Participants: |
| Description |
|
Per this guidance (https://mongodb.slack.com/archives/C05AH3BCH33/p1691173633638779): currently, our scons/bazel solution invokes Bazel on a per-target basis. This may result in multiple parallel bazel calls, with apparently is not supported. The correct solution here is to gather up the set-of-Bazel-targets and trigger a single Bazel call. |
| Comments |
| Comment by Githook User [ 22/Sep/23 ] |
|
Author: {'name': 'Steve Gross', 'email': 'steve.gross@mongodb.com', 'username': 'stevegrossmongodb'}Message: |
| Comment by Zack Winter [ 07/Sep/23 ] |
|
steve.gross@mongodb.com I created a PR to add one of the libraries that was converted in the original bazel POC: https://github.com/10gen/mongo/pull/15483 This also fixes an issue in the system includes that will be required to compile most libraries. |