Skip to content

[vcpkg.cmake] Change find_package function -> macro in order to shorten trace#17997

Closed
strega-nil wants to merge 5 commits intomicrosoft:masterfrom
strega-nil:Neumann-A/vcpkg.cmake
Closed

[vcpkg.cmake] Change find_package function -> macro in order to shorten trace#17997
strega-nil wants to merge 5 commits intomicrosoft:masterfrom
strega-nil:Neumann-A/vcpkg.cmake

Conversation

@strega-nil
Copy link
Copy Markdown
Contributor

This approximately 1/100's the output.

This also makes a minor comment change to ports.cmake to actually get a world rebuild.

@JackBoosY JackBoosY added category:vcpkg-feature The issue is a new capability of the tool that doesn’t already exist and we haven’t committed info:internal labels May 19, 2021
@cenit
Copy link
Copy Markdown
Contributor

cenit commented May 19, 2021

please fix also CI not rebuilding the world (binary caching not considering vcpkg.cmake). x64_linux finishing in 89 minutes feels wrong for a full rebuild
With these changes it's important to be sure of the real impact on all ports!

@strega-nil-ms
Copy link
Copy Markdown
Contributor

@cenit yeah, see microsoft/vcpkg-tool#80

strega-nil added a commit to strega-nil/vcpkg that referenced this pull request May 25, 2021
@strega-nil
Copy link
Copy Markdown
Contributor Author

Closing for rollup (#18112)

@strega-nil strega-nil closed this May 25, 2021
strega-nil-ms pushed a commit that referenced this pull request May 26, 2021
* [scripts-audit] vcpkg_acquire_msys (#17687)

* [vcpkg.cmake] Change find_package function -> macro in order to shorten trace (#17997)

switch from function to macro

* [scripts-audit] z_vcpkg_apply_patches (#18013)

* [scripts-audit] z_vcpkg_escape_regex_control_characters (#18013)

* [scripts-audit] vcpkg_fail_port_install (#18054)

Note that this change allows existing failures;
it changes MATCHES to STREQUAL, meaning that
vcpkg_fail_port_install(ON_ARCH "arm") now succeeds on arm64;
this change in behavior is fine (IMO) since it strictly succeeds
when it used to fail.
@strega-nil strega-nil deleted the Neumann-A/vcpkg.cmake branch June 30, 2021 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:vcpkg-feature The issue is a new capability of the tool that doesn’t already exist and we haven’t committed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants