[PATCH] D67753: [gn build] Fix Python DeprecationWarning
Marco Antognini via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 24 06:34:55 PDT 2019
mantognini added a comment.
I'm afraid I can't give you the exact log we have, because we have a special integration of LLVM downstream and don't directly rely on the usual cmake/gn/... workflow. I'm sorry about that.
What I can tell you is that we invoke this script as a standalone program, i.e. we run `./some/path/write_cmake_config.py <args>`. This means the she-bang line is being used, and `python` (not `python3`) is being used. I don't know exactly how this script is invoked when using the "regular" build-flow, but could it be that the `python` binary is actually Python 2?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67753/new/
https://reviews.llvm.org/D67753
More information about the llvm-commits
mailing list