Home | History | Annotate | Download | only in llvmbuild

Lines Matching refs:opts

636 def add_magic_target_components(parser, project, opts):
637 """add_magic_target_components(project, opts) -> None
657 'Unknown' : None }.get(opts.native_target,
658 opts.native_target)
665 opts.native_target,))
668 opts.native_target,))
671 if opts.enable_targets is None:
675 if ' ' in opts.enable_targets:
676 enable_target_names = opts.enable_targets.split()
678 enable_target_names = opts.enable_targets.split(';')
807 (opts, args) = parser.parse_args()
810 source_root = opts.source_root
825 llvmbuild_source_root = opts.llvmbuild_source_root or source_root
830 add_magic_target_components(parser, project_info, opts)
836 if opts.print_tree:
841 if opts.write_llvmbuild:
842 project_info.write_components(opts.write_llvmbuild)
845 if opts.write_library_table:
846 project_info.write_library_table(opts.write_library_table,
847 opts.optional_components)
850 if opts.write_make_fragment:
851 project_info.write_make_fragment(opts.write_make_fragment)
854 if opts.write_cmake_fragment:
855 project_info.write_cmake_fragment(opts.write_cmake_fragment)
858 if opts.configure_target_def_files:
860 if not opts.build_root:
885 for subpath in opts.configure_target_def_files:
887 outpath = os.path.join(opts.build_root, subpath)