Author: Nico Weber Date: 2021-01-01T22:14:03-05:00 New Revision: fc3f53fcda1adf8720462ba4c45406860514c1b2
URL: https://github.com/llvm/llvm-project/commit/fc3f53fcda1adf8720462ba4c45406860514c1b2 DIFF: https://github.com/llvm/llvm-project/commit/fc3f53fcda1adf8720462ba4c45406860514c1b2.diff LOG: [gn build] (manually) port 5e31e226b5: Use Py3 for the build Made necessary by 20670ba440, the first Py3-only change. Added: Modified: llvm/utils/gn/.gn Removed: ################################################################################ diff --git a/llvm/utils/gn/.gn b/llvm/utils/gn/.gn index 6c77157731e9..4eccc2fc168c 100644 --- a/llvm/utils/gn/.gn +++ b/llvm/utils/gn/.gn @@ -8,6 +8,9 @@ buildconfig = "//llvm/utils/gn/build/BUILDCONFIG.gn" # whitelisting things here. exec_script_whitelist = [] +# Execute action() targets using Python 3. +script_executable = "python3" + # The normal GN setup is to have BUILD.gn files in-tree and a root BUILD.gn # file. Since LLVM's GN build is unofficial, set secondary_source to tell GN # that e.g. llvm/lib/Demangle/BUILD.gn is found at _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits