diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2020-01-03 09:14:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-03 09:14:58 -0500 |
commit | 2134bb15b7abdc1b9ff3025cc2e2188935da7416 (patch) | |
tree | 842730c66b45ac64e0d339169fbf2020ffbf245c | |
parent | ce7b3af906f5cfd8c0c5b9da3a2f7faec977e2ad (diff) | |
parent | bd650b0ec38f24d5ade482f33fdcc21e75a9ae0e (diff) | |
download | servo-2134bb15b7abdc1b9ff3025cc2e2188935da7416.tar.gz servo-2134bb15b7abdc1b9ff3025cc2e2188935da7416.zip |
Auto merge of #25399 - larsbergstrom:easier_vs2017_install, r=jdm
Add chocolatey steps for easier VS017 install
<!-- Please describe your changes on the following line: -->
Easier install steps for getting Visual Studio 2017 Community installed on your machine.
Thanks to https://github.com/microsoft/windows-dev-box-setup-scripts/blob/master/dev_app_desktop_cplusplus.ps1 for the steps, which I shamelessly borrowed from their MIT-licensed base.
---
- [ ] There are tests for these changes OR
- [x ] These changes do not require tests because readme only
<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/25399)
<!-- Reviewable:end -->
-rw-r--r-- | README.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md index 98687f13fe8..164d7ca555f 100644 --- a/README.md +++ b/README.md @@ -227,6 +227,15 @@ settings for the installer are fine). 7. Install Visual Studio Community 2017 (https://www.visualstudio.com/vs/community/). You MUST add "Visual C++" to the list of installed components as well as the "Windows Universal C runtime." They are not on by default. Visual Studio 2017 MUST installed to the default location or mach.bat will not find it. +Note that version is hard to download online and is easier to install via [Chocolatey](https://chocolatey.org/install#installing-chocolatey) with: +``` +choco install -y visualstudio2017community --package-parameters="'--add Microsoft.VisualStudio.Component.Git'" +Update-SessionEnvironment #refreshing env due to Git install + +#--- UWP Workload and installing Windows Template Studio --- +choco install -y visualstudio2017-workload-nativedesktop +``` + ##### [Optional] Install LLVM for faster link times You may experience much faster builds on Windows by following these steps. (Related Rust issue: https://github.com/rust-lang/rust/issues/37543) |