Skip to content

Commit 0e986e3

Browse files
[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.
1 parent fbf8b82 commit 0e986e3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/utils/mlgo-utils/pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ classifiers = [
1717
version = {attr = "mlgo.__version__"}
1818

1919
[project.scripts]
20-
combine_training_corpus = "mlgo.combine_training_corpus:entrypoint"
21-
extract_ir = "mlgo.extract_ir:entrypoint"
22-
make_corpus = "mlgo.make_corpus:entrypoint"
20+
combine_training_corpus = "mlgo.corpus.combine_training_corpus:parse_args_and_run"
21+
extract_ir = "mlgo.corpus.extract_ir:parse_args_and_run"
22+
make_corpus = "mlgo.corpus.make_corpus:parse_args_and_run"

0 commit comments

Comments
 (0)