Different distributions have different strategies migrating the python symlink. Debian and its derivatives provide python-is-python2 and python-is-python3. If neither is installed, the user gets no /usr/bin/python. The clang-format-diff script and consequently arc diff can thus fail with a python not found error. Since we require python greater than 3.6 as part of llvm prerequisites (https://llvm.org/docs/GettingStarted.html#software), let's go ahead and update this shebang.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
On newer Linux distributions
Different distributions have different strategies migrating the /usr/bin/python symlink. Debian and its derivatives provide python-is-python2 and python-is-python3. If neither is installed, the user gets no /usr/bin/python.
LG with this clarified.