MCPcopy Create free account
hub / github.com/alibaba/BladeDISC / parse_args

Function parse_args

scripts/python/common_setup.py:742–755  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

740
741
742def parse_args():
743 parser = argparse.ArgumentParser()
744 parser.add_argument(
745 "--cxx11_abi",
746 required=False,
747 action="store_true",
748 help="Build with cxx11 abi or not",
749 )
750 add_arguments_common(parser)
751 args = parser.parse_args()
752 # backward compatibility
753 args.ral_cxx11_abi = args.cxx11_abi
754 update_cpu_specific_setting(args)
755 return args
756
757
758def build_tao_compiler_add_flags_platform_alibaba_cached(root, flag):

Callers 1

common_setup.pyFile · 0.70

Calls 2

add_arguments_commonFunction · 0.70

Tested by

no test coverage detected