code: def set_windows_build_flags(environ_cp):
      """Set Windows specific build options."""
  
      # First available in VS 16.4. Speeds up Windows compile times by a lot. See
      # https://groups.google.com/a/tensorflow.org/d/topic/build/SsW98Eo7l3o/discussion
      # pylint: disable=line-too-long
      write_to_bazelrc(
          "build --copt=/d2ReducedOptimizeHugeFunctions --host_copt=/d2ReducedOptimizeHugeFunctions"
      )
  
      if get_var(
          environ_cp,
          "LCE_OVERRIDE_EIGEN_STRONG_INLINE",
          "Eigen strong inline",
          True,
          (
              "Would you like to override eigen strong inline for some C++ "
              "compilation to reduce the compilation time?"
          ),
          "Eigen strong inline overridden.",
          "Not overriding eigen strong inline, "
          "some compilations could take more than 20 mins.",
      ):
          # Due to a known MSVC compiler issue
          # https://github.com/tensorflow/tensorflow/issues/10521
          # Overriding eigen strong inline speeds up the compiling of
          # conv_grad_ops_3d.cc and conv_ops_3d.cc by 20 minutes,
          # but this also hurts the performance. Let users decide what they want.
          write_to_bazelrc(
              "build --define=override_eigen_strong_inline=true"
          )
  
imports: import os
  import platform
  import re
  import subprocess
  import sys
label_desc: Use image node_id 18 for calling a global function with example usage: set_windows_build_flags(environ_cp) without return types