Skip to content

Commit aa60b7e

Browse files
authoredFeb 4, 2021
[vcpkg] Download vcpkg.exe rather than building it in bootstrap on Windows. (#15474)
This reduces bootstrap cost for Windows customers, resolving the issue initially submitted as #12502 . The `toolsrc` tree was extracted to https://github.com/microsoft/vcpkg-tool. `bootstrap.sh` was changed to download the right source tarball, extract, and build it. This was chosen over the previous attempt, a submodule, over concerns of accidentally destroying people's local modifications.
1 parent f226416 commit aa60b7e

File tree

307 files changed

+46
-69859
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

307 files changed

+46
-69859
lines changed
 

‎.gitignore

-9
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
*.userosscache
1212
*.sln.docstates
1313

14-
toolsrc/out*
15-
toolsrc/CMakeSettings.json
1614
# fuzzing
1715
sync_dir*
1816

@@ -30,8 +28,6 @@ bld/
3028
[Bb]in/
3129
[Oo]bj/
3230
[Ll]og/
33-
# VS Code build
34-
toolsrc/build
3531
# Ignore the executable
3632
/vcpkg
3733
/vcpkg.exe
@@ -290,11 +286,6 @@ __pycache__/
290286
/installed*/
291287
/packages/
292288
/scripts/buildsystems/tmp/
293-
/toolsrc/build.rel/
294-
/toolsrc/windows-bootstrap/msbuild.x86.debug/
295-
/toolsrc/windows-bootstrap/msbuild.x86.release/
296-
/toolsrc/windows-bootstrap/msbuild.x64.debug/
297-
/toolsrc/windows-bootstrap/msbuild.x64.release/
298289
#ignore custom triplets
299290
/triplets/*
300291
#add vcpkg-designed triplets back in

‎docs/about/privacy.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ We collect various telemetry events such as the command line used, the time of i
4141

4242
You can see the telemetry events any command by appending `--printmetrics` after the vcpkg command line.
4343

44-
In the source code (included in `toolsrc\`), you can search for calls to the functions `track_property()`, `track_feature()`, `track_metric()`, and `track_buildtime()`
44+
In the source code (included at https://github.com/microsoft/vcpkg-tool/ ), you can search for calls to the functions `track_property()`, `track_feature()`, `track_metric()`, and `track_buildtime()`
4545
to see every specific data point we collect.
4646

4747
## Avoid inadvertent disclosure information

0 commit comments

Comments
 (0)