def METHOD_NAME():
    result = optparse.OptionParser()
    result.add_option("--tar_filename",
                      default=None,
                      help="The tar file to build from.")
    result.add_option("--out_dir",
                      default=None,
                      help="Where to put the packages.")
    result.add_option("-a",
                      "--arch",
                      help='Target architectures (comma-separated).',
                      metavar='[all,ia32,x64,arm,arm64,riscv64]',
                      default='x64')
    result.add_option("-t",
                      "--toolchain",
                      help='Cross-compilation toolchain prefix',
                      default=None)
    return result