vcpkg 2023.06.20 and 2023.07.21 Releases: GitHub Dependency Graph Support, Android Tested Triplets, Xbox Triplet Improvements, and More…
vcpkg 2023.06.20 and 2023.07.21 Releases: GitHub Dependency Graph Support, Android Tested Triplets, Xbox Triplet Improvements, and More… Augustin Popa July 31st, 20231 3 The 2023.07.21 release of the vcpkg package manager is available. This blog post summarizes changes from April 16th, 2023 to July 21th, 2023 for the Microsoft/vcpkg, Microsoft/vcpkg-tool, and Microsoft/vcpkg-docs GitHub repos. Some stats for this period: 59 new ports were added to the open-source registry. If you are unfamiliar with the term ‘port’, they are packages that are built from source and are typically C/C++ libraries. 976 updates were made to existing ports. As always, we validate each change to a port by building all other ports that depend on or are depended by the library that is being updated for our nine main triplets. There are now 2,249 total libraries available in the vcpkg public registry. 87 contributors submitted PRs, issues, or participated in discussions in the repo. The main vcpkg repo has over 5,500 forks and 19,300 stars on GitHub. Notable Changes Notable changes for this release are summarized below: GitHub Dependency Graph API In June, we announced vcpkg integration with the GitHub dependency graph. This is available for all vcpkg users on the 2023.07.21 release. If you are a GitHub user, we highly recommend checking it out to visualize your repo’s dependencies. We will continue building on this integration in the future and are looking for feedback! PR: Microsoft/vcpkg-tool/#989 Android Tested Triplets We have promoted several Android community triplets to tested triplets. This means they are now tested and validated on all port changes (as of the 2023.06.20 release) and will be listed in the tested triplets table in each release. The new Android tested triplets are: arm-neon-android x64-android arm64-android PR: Microsoft/vcpkg/#29406 Xbox Triplet Improvements In a previous release, community triplets were released for vcpkg users wishing to target Xbox. In this release, several improvements were made to this experience: Added a post build check that libraries don’t link with kernel32, as Xbox does not have kernel32. GameDKLatestis now included in binary cache keys. Xbox triplets require the user of the GameDK, GRDK, and GXDK headers which are supplied through external environment variables. With this change, binary caching will track the version of these dependencies for the purpose of determining when a binary can be restored without re-building. Improvements to triplet selection and turning on the xbox identifier. PR: Microsoft/vcpkg-tool#1059 Updates to depend-info Command vcpkg depend-infodisplays all transitive dependencies for a package in several formats, including plain text, DGML, DOT, etc. This feature can be useful to gain a better understanding of a package’s dependency graph. A user contribution recently added the Mermaid format as an additional option. Furthermore, we made some changes to the way depend-info is used by moving the display options under a common –format subcommand. We believe this layout will make it easier to scale this feature in the future if we add further formatting styles. For more details on how to use depend-info after these changes, see our vcpkg depend-info documentation. PRs: Microsoft/vcpkg-tool/#1080, Microsoft/vcpkg-tool/#935 (thanks @WimLefrere!) Allow vcpkg remove, export, and x-package-info without overlay triplets In cases where a vcpkg user creates and manages overlay triplets, the commands vcpkg remove, export, and x-package-info can now be run without having to specify those overlay triplets […]
