Use --repo-env instead of --action_env for pinning VC compiler

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • DevProd Build
    • Fully Compatible
    • None
    • 3
    • Hour
    • None
    • None
    • None
    • None
    • None
    • None
    • 0

      Currently, we have defined the VC version as such:

      common --action_env=BAZEL_VC_FULL_VERSION=14.36.32543
      common --action_env=MONGO_VC_REDIST_FULL_VERSION=v143

      These two environment variables are being passed to every action event in all the builds. We should be using the --repo_env where those two environment variables are only passed in to repository_rules.

      Those two environment variables are also specific to windows. We need to change from common to common:windows

      Finally, the environment variables should be in the environ[] as if the values changes, a rebuild is required.

            Assignee:
            Patrice Arruda
            Reporter:
            Patrice Arruda
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: