[PATCH] D122345: [gn build] Change python run lines to python3

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 23 12:45:00 PDT 2022


thakis created this revision.
thakis added a reviewer: aeubanks.
Herald added subscribers: dexonsmith, arichardson, mgorny.
Herald added a project: All.
thakis requested review of this revision.
Herald added a project: LLVM.

macOS 12.3 no longer ships non-3 python.

Almost all of these scripts were launched by ninja, and the GN files
already told it to run them under python3, so this is a fairly small
change.  The main effect is that if you run them manually, you now
get the same behavior.

(A small set of scripts, gn.py, gen.py, sync_source_lists_from_cmake.py,
are for manual running.  For these, it is an actual change.)


https://reviews.llvm.org/D122345

Files:
  llvm/utils/gn/build/run_tablegen.py
  llvm/utils/gn/build/symbol_exports.py
  llvm/utils/gn/build/symlink_or_copy.py
  llvm/utils/gn/build/sync_source_lists_from_cmake.py
  llvm/utils/gn/build/write_cmake_config.py
  llvm/utils/gn/build/write_library_dependencies.py
  llvm/utils/gn/build/write_vcsrevision.py
  llvm/utils/gn/get.py
  llvm/utils/gn/gn.py
  llvm/utils/gn/secondary/libcxx/utils/gen_link_script.py
  llvm/utils/gn/secondary/llvm/include/llvm/Support/write_extension_def.py
  llvm/utils/gn/secondary/llvm/tools/llvm-config/write_extension_dependencies.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122345.417720.patch
Type: text/x-patch
Size: 5725 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220323/c6c01287/attachment.bin>


More information about the llvm-commits mailing list