Skip to content

[scripts-audit] gn buildsystem#17776

Merged
strega-nil-ms merged 6 commits intomicrosoft:masterfrom
strega-nil:scripts-audit/gn-buildsystem-2
May 17, 2021
Merged

[scripts-audit] gn buildsystem#17776
strega-nil-ms merged 6 commits intomicrosoft:masterfrom
strega-nil:scripts-audit/gn-buildsystem-2

Conversation

@strega-nil
Copy link
Copy Markdown
Contributor

See issue #16188

This removes vcpkg_gn_build(, since it's never been used and is just a pass-through to vcpkg_build_ninja( (needs discussion, may end up being reverted). Additionally, vcpkg_gn_configure and vcpkg_gn_install are audited.

This command has never been used (git log -S"vcpkg_build_gn\("
gives no results outside of the file itself and docs)
and so shrink the public interface surface
@strega-nil-ms
Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@Neumann-A
Copy link
Copy Markdown
Contributor

vcpkg_gn_configure probably needs get the compiler flags from the CMAKE_TOOLCHAIN to be consistent.

@strega-nil-ms
Copy link
Copy Markdown
Contributor

strega-nil-ms commented May 12, 2021

@Neumann-A these scripts audits are not modifying the existing scripts' behavior at all; they don't add functionality, in order to allow me to actually get through all the scripts.

To get new behavior, we'll need to do the ports script thing.

@strega-nil-ms
Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@strega-nil
Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

Commenter does not have sufficient privileges for PR 17776 in repo microsoft/vcpkg

@strega-nil-ms
Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Copy Markdown
Contributor Author

@strega-nil strega-nil left a comment

Choose a reason for hiding this comment

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

Note: add docs for vcpkg_build_ninja

@strega-nil-ms
Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@strega-nil-ms strega-nil-ms merged commit 253c561 into microsoft:master May 17, 2021
@strega-nil strega-nil deleted the scripts-audit/gn-buildsystem-2 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.

4 participants