Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[vcpkg manifests] fix some issues #12227

Merged
merged 25 commits into from
Jul 9, 2020

Conversation

strega-nil
Copy link
Contributor

@strega-nil strega-nil commented Jul 2, 2020

scripts/buildsystems/vcpkg.cmake Outdated Show resolved Hide resolved
@JackBoosY JackBoosY self-assigned this Jul 3, 2020
@JackBoosY JackBoosY added category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`) info:internal This PR or Issue was filed by the vcpkg team. labels Jul 3, 2020
scripts/buildsystems/vcpkg.cmake Show resolved Hide resolved
scripts/buildsystems/vcpkg.cmake Show resolved Hide resolved
scripts/buildsystems/vcpkg.cmake Outdated Show resolved Hide resolved
scripts/buildsystems/vcpkg.cmake Outdated Show resolved Hide resolved
toolsrc/src/vcpkg/base/files.cpp Outdated Show resolved Hide resolved
toolsrc/src/vcpkg/base/files.cpp Outdated Show resolved Hide resolved
toolsrc/src/vcpkg/base/files.cpp Outdated Show resolved Hide resolved
@strega-nil strega-nil added the info:manifests This PR or Issue pertains to the Manifests feature label Jul 6, 2020
@strega-nil strega-nil changed the title [vcpkg manifest] fix some issues [vcpkg manifests] fix some issues Jul 6, 2020
toolsrc/src/vcpkg/base/files.cpp Outdated Show resolved Hide resolved
@strega-nil
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@@ -39,15 +40,14 @@ Package collections to check for conflicts:
+ [Packages search](https://pkgs.org/)

#### Version
The port version.
The library version.

This field is an alphanumeric string that may also contain `.`, `_`, or `-`. No attempt at ordering versions is made; all versions are treated as bit strings and are only evaluated for equality.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We may want to remove "No attempt at ordering versions is made" in preparation for adding versioning.

scripts/buildsystems/vcpkg.cmake Outdated Show resolved Hide resolved
toolsrc/src/vcpkg/base/files.cpp Show resolved Hide resolved
toolsrc/src/vcpkg/vcpkgpaths.cpp Outdated Show resolved Hide resolved
toolsrc/src/vcpkg/vcpkgpaths.cpp Outdated Show resolved Hide resolved
toolsrc/src/vcpkg/commands.list.cpp Outdated Show resolved Hide resolved
toolsrc/src/vcpkg/vcpkgpaths.cpp Outdated Show resolved Hide resolved
strega-nil and others added 2 commits July 9, 2020 10:51
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
@strega-nil strega-nil merged commit 3871d73 into microsoft:master Jul 9, 2020
devjgm added a commit to devjgm/google-cloud-cpp that referenced this pull request Jul 10, 2020
Fixes googleapis#4487

The flag was implemented by Microsoft in
microsoft/vcpkg#12227, thanks to @strega-nil!

I believe we were seeing this flake not because of multiple installs
happening at once, but rather because the machines that run our docker
tests were sometimes overloaded and running very slow and thus it
sometimes took more than 1.5 sec to acquire the lock. This is just a
hypothesis.

But regardless, we're now passing `--x-wait-for-lock` to all of our
`vcpkg install` invocations to avoid these flakes.
@strega-nil strega-nil deleted the manifest-updates branch July 16, 2020 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment