[PATCH] D93164: [AST] Add generator for source location introspection

Nikita Popov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Mar 14 09:47:53 PDT 2021


nikic added a comment.

@steveire When running the command manually I get:

  /root/llvm-compile-time-tracker/llvm-project/clang/lib/Tooling/DumpTool/generate_cxx_src_locs.py --json-input-path /root/llvm-compile-time-tracker/llvm-project-build/ASTNodeAPI.json --output-file generated/NodeIntrospection.inc --empty-implementation 0
  -bash: /root/llvm-compile-time-tracker/llvm-project/clang/lib/Tooling/DumpTool/generate_cxx_src_locs.py: /usr/bin/python: bad interpreter: No such file or directory

So probably this doesn't work on any system that only has Python 3.

As the `.py` file is invoked directly, I assume that `${PYTHON_EXECUTABLE}` is empty. Maybe you were looking for `${Python3_EXECUTABLE}`?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93164/new/

https://reviews.llvm.org/D93164



More information about the cfe-commits mailing list