We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fae16fc commit 4dcb5c4Copy full SHA for 4dcb5c4
llvm/utils/gn/get.py
@@ -46,6 +46,12 @@ def main():
46
platform = get_platform()
47
if not platform:
48
print('no prebuilt binary for', sys.platform)
49
+ print('build it yourself with:')
50
+ print(' rm -rf /tmp/gn &&')
51
+ print(' pushd /tmp && git clone https://gn.googlesource.com/gn &&')
52
+ print(' cd gn && build/gen.py && ninja -C out gn && popd &&')
53
+ print(' mkdir -p llvm/utils/gn/bin/mac-arm64 &&')
54
+ print(' cp /tmp/gn/out/gn somewhere/on/PATH')
55
return 1
56
dirname = os.path.join(os.path.dirname(__file__), 'bin', platform)
57
if not os.path.exists(dirname):
0 commit comments