[llvm] [mlgo-utils] Create top level entrypoint scripts for mlgo-utils (PR #146981)
Vincent Lee via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 8 00:53:54 PDT 2025
thevinster wrote:
> I would prefer to not have the wrappers in tree if possible.
An alternative is to have a symlink of the script to the mlgo-utils directory. This avoids the need to have to change two places if the script were to change. Otherwise, I'm open to other ideas on how we can fix it.
> I'm not really understanding how this constraint leads to these changes. Are there constraints on the CWD of the interpreter or something?
It's not the cwd of the interpreter. It's just placed incorrectly if invoked directly from python3. The file imports from `mlgo` and the script lives inside it when it should live beside it. The test commands I have are repros of the issue, if that helps.
https://github.com/llvm/llvm-project/pull/146981
More information about the llvm-commits
mailing list