[SERVER-83731] make bazel files dependencies for bazel targets Created: 29/Nov/23  Updated: 02/Feb/24

Status: Needs Scheduling
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Daniel Moody Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Build
Participants:

 Description   

I think we need a ticket to update scons to recognize bazel changes. For example if you tell scons to build a target, that it then calls bazel to build that target, and that completes successfully, then go and change the bazel files so that bazel should rebuild that file, scons then doesn't know to rebuild the original target. We basically need scons to rebuild all bazel targets when any bazel file changes. This probably would include a glob of the source tree for any .bazel, .bzl, or .BUILD files, and make any bazel targets depend on those. There might need to be some special sauce for ninja, but the dependencies might generate through without extra help.


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