[llvm] [MLGO] Remove absl dependency from scripts (PR #78880)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 21 15:02:01 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(
----------------
boomanaiden154 wrote:
Good point. Moved them into a new `parse_args_and_run` function that is at the top of the file.
https://github.com/llvm/llvm-project/pull/78880
More information about the llvm-commits
mailing list