MCPcopy Create free account
hub / github.com/alibaba/GraphScope / parse_sys_args

Function parse_sys_args

k8s/utils/precompile.py:442–468  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

440
441
442def parse_sys_args():
443 parser = argparse.ArgumentParser(
444 formatter_class=argparse.ArgumentDefaultsHelpFormatter
445 )
446 parser.add_argument(
447 "--graph",
448 action='store_true',
449 help="Compile graph libraries.",
450 )
451 parser.add_argument(
452 "--app",
453 action='store_true',
454 help="Compile application libraries.",
455 )
456 parser.add_argument(
457 "--output_dir",
458 type=str,
459 default=WORKSPACE,
460 help="Output directory."
461 )
462 parser.add_argument(
463 "--enable_java_sdk",
464 type=str,
465 default="OFF",
466 help="Enable Java SDK support or not",
467 )
468 return parser.parse_args()
469
470WORKSPACE = Path(os.path.join("/", tempfile.gettempprefix(), "gs", "builtin")).resolve()
471ENABLE_JAVA_SDK = "OFF"

Callers 1

precompile.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected