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

[scripts-audit] vcpkg_fail_port_install #18054

Conversation

strega-nil
Copy link
Contributor

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.

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-ms strega-nil-ms added category:scripts-audit Part of the scripts audit effort. info:internal This PR or Issue was filed by the vcpkg team. requires:discussion labels May 21, 2021
@strega-nil-ms
Copy link
Contributor

Marking requires:discussion since this is a change in behaviour.

@Neumann-A
Copy link
Contributor

Neumann-A commented May 21, 2021

just deprecate the script. It was just created because there was no supports field.
The new approach should be:
parse vcpkg.json somewhere in port.cmake. Issue a warning/error if the port does not support the current target.

@strega-nil
Copy link
Contributor Author

@Neumann-A sure, that is also a thing I'd like for us to do.

@ras0219-msft
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

strega-nil added a commit to strega-nil/vcpkg that referenced this pull request May 25, 2021
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
Copy link
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 scripts-audit/vcpkg_fail_port_install branch June 30, 2021 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:scripts-audit Part of the scripts audit effort. info:internal This PR or Issue was filed by the vcpkg team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants