[llvm-branch-commits] [llvm] [MLGO] Remove absl dependency from scripts (PR #78880)
Mircea Trofin via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sun Jan 21 14:26:07 PST 2024
================
@@ -156,10 +88,86 @@ def main(argv):
)
-def entrypoint():
- multiprocessing.set_start_method("fork")
- app.run(main)
-
-
if __name__ == "__main__":
- entrypoint()
+ parser = argparse.ArgumentParser(
----------------
mtrofin wrote:
nit: could you factor all this in a function and put it at the top - this would be consistent to where folks tend to look for module-defined flags.
https://github.com/llvm/llvm-project/pull/78880
More information about the llvm-branch-commits
mailing list