This is an archive of the discontinued LLVM Phabricator instance.

[gn build] Change python run lines to python3
ClosedPublic

Authored by thakis on Mar 23 2022, 12:44 PM.

Details

Summary

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.)

Diff Detail

Event Timeline

thakis created this revision.Mar 23 2022, 12:44 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 23 2022, 12:44 PM
thakis requested review of this revision.Mar 23 2022, 12:44 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 23 2022, 12:44 PM
aeubanks accepted this revision.Mar 23 2022, 1:41 PM
This revision is now accepted and ready to land.Mar 23 2022, 1:41 PM
This revision was landed with ongoing or failed builds.Mar 23 2022, 1:42 PM
This revision was automatically updated to reflect the committed changes.