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] gn buildsystem #17776

Merged

Conversation

strega-nil
Copy link
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 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. info:world-rebuild labels May 10, 2021
@strega-nil-ms
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Neumann-A
Copy link
Contributor

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

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

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@strega-nil
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

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

@strega-nil-ms
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

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

scripts/cmake/vcpkg_install_gn.cmake Outdated Show resolved Hide resolved
@strega-nil-ms
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

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

4 participants