Skip to content

[scripts-audit] vcpkg_fail_port_install#18054

Closed
strega-nil wants to merge 1 commit intomicrosoft:masterfrom
strega-nil:scripts-audit/vcpkg_fail_port_install
Closed

[scripts-audit] vcpkg_fail_port_install#18054
strega-nil wants to merge 1 commit intomicrosoft:masterfrom
strega-nil:scripts-audit/vcpkg_fail_port_install

Conversation

@strega-nil
Copy link
Copy Markdown
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
Copy link
Copy Markdown
Contributor

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

@Neumann-A
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

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

@ras0219-msft
Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines
Copy link
Copy Markdown

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
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 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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants