[all-commits] [llvm/llvm-project] 120e06: [MLGO] Remove absl dependency from scripts (#78880)

Aiden Grossman via All-commits all-commits at lists.llvm.org
Sun Jan 21 15:07:10 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 120e0623773dc9c43f393d43be0641c7d7ad26f2
      https://github.com/llvm/llvm-project/commit/120e0623773dc9c43f393d43be0641c7d7ad26f2
  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
    M llvm/utils/mlgo-utils/pyproject.toml
    M llvm/utils/mlgo-utils/tests/corpus/combine_training_corpus_script.test
    M llvm/utils/mlgo-utils/tests/corpus/extract_ir_script.test
    M llvm/utils/mlgo-utils/tests/corpus/make_corpus_script.test
    M llvm/utils/mlgo-utils/tests/lit.local.cfg

  Log Message:
  -----------
  [MLGO] Remove absl dependency from scripts (#78880)

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