[llvm] 0e986e3 - [MLGO] Fix MLGO executable scripts
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 17 23:03:45 PDT 2024
Author: Aiden Grossman
Date: 2024-07-18T06:02:49Z
New Revision: 0e986e395f9cd759b859ba0c934c0d73de4554c8
URL: https://github.com/llvm/llvm-project/commit/0e986e395f9cd759b859ba0c934c0d73de4554c8
DIFF: https://github.com/llvm/llvm-project/commit/0e986e395f9cd759b859ba0c934c0d73de4554c8.diff
LOG: [MLGO] Fix MLGO executable scripts
The MLGO executable scripts were previously set up incorrectly with the
entrypoints. This patch corrects the entrypoints so that the scripts
work as expected rather than throwing import errors in the wrapper.
Added:
Modified:
llvm/utils/mlgo-utils/pyproject.toml
Removed:
################################################################################
diff --git a/llvm/utils/mlgo-utils/pyproject.toml b/llvm/utils/mlgo-utils/pyproject.toml
index c4139e52b4246..b72465c2417c2 100644
--- a/llvm/utils/mlgo-utils/pyproject.toml
+++ b/llvm/utils/mlgo-utils/pyproject.toml
@@ -17,6 +17,6 @@ classifiers = [
version = {attr = "mlgo.__version__"}
[project.scripts]
-combine_training_corpus = "mlgo.combine_training_corpus:entrypoint"
-extract_ir = "mlgo.extract_ir:entrypoint"
-make_corpus = "mlgo.make_corpus:entrypoint"
+combine_training_corpus = "mlgo.corpus.combine_training_corpus:parse_args_and_run"
+extract_ir = "mlgo.corpus.extract_ir:parse_args_and_run"
+make_corpus = "mlgo.corpus.make_corpus:parse_args_and_run"
More information about the llvm-commits
mailing list