[all-commits] [llvm/llvm-project] 9dfc0a: [MLGO] Remove absl dependency from scripts

Aiden Grossman via All-commits all-commits at lists.llvm.org
Sat Jan 20 22:10:05 PST 2024


  Branch: refs/heads/users/boomanaiden154/mlgo-utils-scripts-no-absl
  Home:   https://github.com/llvm/llvm-project
  Commit: 9dfc0ac712315f232e69496b7f8c0aed20421626
      https://github.com/llvm/llvm-project/commit/9dfc0ac712315f232e69496b7f8c0aed20421626
  Author: Aiden Grossman <agrossman154 at yahoo.com>
  Date:   2024-01-21 (Sun, 21 Jan 2024)

  Changed paths:
    M llvm/utils/mlgo-utils/mlgo/corpus/combine_training_corpus.py
    M llvm/utils/mlgo-utils/mlgo/corpus/extract_ir.py
    M llvm/utils/mlgo-utils/mlgo/corpus/make_corpus.py

  Log Message:
  -----------
  [MLGO] Remove absl dependency from scripts

This patch removes the absl dependency from the mlgo-utils scripts. We
were only using absl.logging, and absl.flags, so this patch just
consists of mechanically converting the absl flags parsing to Python's
builtin argparse as Python's logging is a drop in replacement for
absl.logging.




More information about the All-commits mailing list