Bazel build_mode should allow opt_debug to be set

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • DevProd Build
    • Fully Compatible
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently the opt + debug combo just results in build_mode=dbg getting set. We want to support flagging off of when the user has BOTH opt and dbg set, so in this case opt_debug should be used.

      AKA:

      Currently its

      SCons opt=on, dbg=off -> bazel --//bazel/config:build_mode=opt_on
      SCons opt=off, dbg=on -> bazel --//bazel/config:build_mode=dbg
      SCons opt=on, dbg=on -> bazel --//bazel/config:build_mode=dbg

      It should be

      SCons opt=on, dbg=off -> bazel --//bazel/config:build_mode=opt_on
      SCons opt=off, dbg=on -> bazel --//bazel/config:build_mode=dbg
      SCons opt=on, dbg=on -> bazel --//bazel/config:build_mode=opt_debug

            Assignee:
            Zack Winter
            Reporter:
            Zack Winter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: