We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed032df commit 4cbdf42Copy full SHA for 4cbdf42
compiler_opt/tools/extract_ir.py
@@ -74,6 +74,7 @@
74
'-mllvm -lto-embed-bitcode=post-merge-pre-opt passed in the distributed '
75
'case, or -Wl,--save-temps=import and -Wl,--thinlto-emit-index-files '
76
'passed in the local case.')
77
+flags.mark_flags_as_required(['output_dir'])
78
79
FLAGS = flags.FLAGS
80
@@ -317,7 +318,6 @@ def extract_artifacts(obj: TrainingIRExtractor) -> Optional[str]:
317
318
def main(argv):
319
if len(argv) > 1:
320
raise app.UsageError('Too many command-line arguments.')
- flags.mark_flags_as_required(['output_dir'])
321
322
objs = []
323
if FLAGS.input is not None and FLAGS.thinlto_build == 'local':
0 commit comments