Prebuilts are available for Linux, macOS, Windows. The script always pulls the latest GN version.
Details
Diff Detail
Event Timeline
llvm/utils/gn/get.py | ||
---|---|---|
31 | Done :-P | |
55 | No. | |
57 | That's actually a good point. Huh, I wonder why I have this. Oh, I think maybe I used to not have the unzip code, and this tried to run the zip file directly, and then that failed so then I added the chmod, only to realize that this is a zip file, and then I didn't remove the chmod again. Things seem to be fine without this, so I removed it again. Thanks for catching this! |
Hm, turns out I do need the chmod() after all. Looks like zipfile strips x bits: https://stackoverflow.com/questions/39296101/python-zipfile-removes-execute-permissions-from-binaries
I also added a check that the host system is arm64.
Fancy :-)