projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
471dec3
)
[gn build] (manually) port 5e31e226b5: Use Py3 for the build
author
Nico Weber
<thakis@chromium.org>
Sat, 2 Jan 2021 03:12:58 +0000
(22:12 -0500)
committer
Nico Weber
<thakis@chromium.org>
Sat, 2 Jan 2021 03:14:03 +0000
(22:14 -0500)
Made necessary by
20670ba440
, the first Py3-only change.
llvm/utils/gn/.gn
patch
|
blob
|
history
diff --git
a/llvm/utils/gn/.gn
b/llvm/utils/gn/.gn
index
6c77157
..
4eccc2f
100644
(file)
--- 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