[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: SERVER-80874 Adapt to handle parallel Bazel invocation
Branch: master
https://github.com/mongodb/mongo/commit/80a91f020a8278e1a66ee11f36863dc3f4491549

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.

Generated at Thu Feb 08 06:44:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.