summaryrefslogtreecommitdiffstats
path: root/llvm/utils/gn/get.py
Commit message (Collapse)AuthorAgeFilesLines
* gn build: Let get.py keep zip file in memory instead of using a temp fileNico Weber2019-03-251-12/+5
| | | | | | | | | The zip is small, and it's a bit less code this way. No intended behavior change. Differential Revision: https://reviews.llvm.org/D59677 llvm-svn: 356884
* gn build: Unbreak get.py and gn.py on WindowsNico Weber2019-03-081-1/+2
| | | | | | | | | | | `os.uname()` doesn't exist on Windows, so use `platform.machine()` which returns `os.uname()[4]` on non-Win and (on 64-bit systems) "AMD64" on Windows. Also use `sys.platform` instead of `platform` to check for Windows-ness for the file extension in gn.py (get.py got this right). Differential Revision: https://reviews.llvm.org/D59115 llvm-svn: 355693
* gn build: Set executable bit on get.pyNico Weber2019-01-301-0/+0
| | | | llvm-svn: 352659
* gn build: Add get.py script to download prebuilt gn, make gn.py run ↵Nico Weber2019-01-281-0/+63
downloaded gn if gn is not on PATH Prebuilts are available for x86_64 Linux, macOS, Windows. The script always pulls the latest GN version. Differential Revision: https://reviews.llvm.org/D57256 llvm-svn: 352420
OpenPOWER on IntegriCloud