Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-83731

make bazel files dependencies for bazel targets

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None
    • Build

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            daniel.moody@mongodb.com Daniel Moody
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: