[PATCH] D65983: Autogenerate the shebang lines for tools/opt-viewer
Chris Bieneman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 16 15:05:34 PDT 2019
beanz added a comment.
Sadly I'm not sure that there is a better way than generating the shebang line, but I can imagine some problems with the way this patch does it. `PYTHON_EXECUTABLE` could be a full path, which means that this can't be used to generate binary distributions because you'd be relying on python being in the same place on disk, which defeats the purpose of `env` being on the shebang.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65983/new/
https://reviews.llvm.org/D65983
More information about the llvm-commits
mailing list