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

Pass the scons link model command line arg to bazel

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible

    Description

      Currently bazel defaults to linking cc_binarys with the model specified in the bazel build rule. We want to allow developers to set the link model in the command line since that's currently supported with scons.

      Take the link model command line argument passed to scons and use it to set bazel's https://bazel.build/docs/user-manual#dynamic-mode arg. This should result in the final cc_binary either linking the static libraries or the dynamic libraries depending on the scons cli arg.

      See https://jira.mongodb.org/browse/SERVER-79789?focusedCommentId=5658316&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-5658316 for more context

      Attachments

        Activity

          People

            zack.winter@mongodb.com Zack Winter
            zack.winter@mongodb.com Zack Winter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: