code: def main():
      if len(sys.argv) != 4:
          print(
              "Usage: build_info_gen.py <output file> <CXX compiler> <CXX flags>",
              file=sys.stderr,
          )
          sys.exit(1)
      cxx_compiler = sys.argv[2]
      cxx_flags = filterflags(sys.argv[3])
      with open(sys.argv[1], "w") as result:
          print("#pragma once\n", file=result)
          print(
              escaped_define(
                  "BUILD_INFO", get_build_info(cxx_compiler, cxx_flags)
              ),
              file=result,
          )
          print(
              escaped_define("BUILD_COMPILER", cxx_compiler),
              file=result,
          )
          print(
              escaped_define(
                  "BUILD_COMPILER_VERSION",
                  get_compiler_info(cxx_compiler),
              ),
              file=result,
          )
          print(
              escaped_define("BUILD_COMPILER_FLAGS", cxx_flags),
              file=result,
          )
  
file_path: catboost/build/scripts/build_info_gen.py
imports: import subprocess
  import os
  import sys
  import re
label_desc: Use image node_id 7 for calling a global function with example usage: main() without return types