[PATCH] Support python in other than /usr/bin/python

Ed Maste emaste at freebsd.org
Tue May 26 13:21:44 PDT 2015


That is to say, it seemed like this intentionally used `/usr/bin/python` if it exists, rather than relying on python in the user's path, and I tried to keep that behaviour. I'm happy with either of

- `#!/usr/bin/env python`
- A `find_python` shell function that sets PYTHON_EXECUTABLE to the first match from `/usr/bin/python`, `/usr/local/bin/python`, `$(which python)`


http://reviews.llvm.org/D9914

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list