Skip to content

Commit e4247dd

Browse files
boomanaiden154yuxuanchen1997
authored andcommitted
[MLGO] Fix MLGO executable scripts
Summary: 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. Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: https://phabricator.intern.facebook.com/D60250814
1 parent 50bb0fd commit e4247dd

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)