[PATCH] D52806: [python] Support overriding library path via environment

2018-10-10 Thread Michał Górny via Phabricator via cfe-commits
mgorny added a reviewer: steveire. mgorny added a comment. Gentle ping. https://reviews.llvm.org/D52806 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D52806: [python] Support overriding library path via environment

2018-10-03 Thread Michał Górny via Phabricator via cfe-commits
mgorny updated this revision to Diff 168079. mgorny added a comment. To avoid consumers of the bindings, I've changed the patch to set the path only through tests. As a result, the binding API is unchanged. https://reviews.llvm.org/D52806 Files: bindings/python/README.txt bindings/python/t

[PATCH] D52806: [python] Support overriding library path via environment

2018-10-02 Thread Michał Górny via Phabricator via cfe-commits
mgorny updated this revision to Diff 168042. mgorny added a comment. (also included README update) https://reviews.llvm.org/D52806 Files: bindings/python/README.txt bindings/python/clang/cindex.py Index: bindings/python/clang/cindex.py =

[PATCH] D52806: [python] Support overriding library path via environment

2018-10-02 Thread Michał Górny via Phabricator via cfe-commits
mgorny created this revision. mgorny added reviewers: jbcoe, arphaman, frutiger. Support a new CLANG_LIBRARY_PATH environment variable within the Python bindings. This variable can be used to force the bindings to load libclang.* from a specific directory without having to explicitly read the pat