{"id":30936,"date":"2022-08-23T16:23:27","date_gmt":"2022-08-23T16:23:27","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/cppblog\/?p=30936"},"modified":"2024-04-01T17:53:00","modified_gmt":"2024-04-01T17:53:00","slug":"vcpkg-august-2022-release-is-now-available-cmake-version-update-updated-faq-cross-compilation-fix-for-apple-silicon","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/cppblog\/vcpkg-august-2022-release-is-now-available-cmake-version-update-updated-faq-cross-compilation-fix-for-apple-silicon\/","title":{"rendered":"vcpkg August 2022 Release is Now Available: CMake Version Update, Updated FAQ, Cross-compilation Fix for Apple Silicon"},"content":{"rendered":"<p>The <a href=\"https:\/\/github.com\/microsoft\/vcpkg\/releases\/tag\/2022.08.15\">August 2022 release of the vcpkg package manager is available<\/a>. This blog post summarizes changes from July 25<sup>th<\/sup>, 2022 to August 14<sup>th<\/sup>, 2022 for the <a href=\"https:\/\/github.com\/microsoft\/vcpkg\">Microsoft\/vcpkg<\/a> and <a href=\"https:\/\/github.com\/microsoft\/vcpkg-tool\/\">Microsoft\/vcpkg-tool<\/a> GitHub repos.<\/p>\n<p>Some stats for this period:<\/p>\n<ul>\n<li><strong>8 new ports<\/strong> were added to the open-source registry. If you are unfamiliar with the term \u2018port\u2019, they are packages that are built from source and are typically C\/C++ libraries.<\/li>\n<li><strong>192 updates<\/strong> 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.<\/li>\n<li>There are now <strong>1,975 total libraries<\/strong> available in the vcpkg public registry. When including all available versions, there are over <strong>10,106 port versions<\/strong>.<\/li>\n<li>The <a href=\"https:\/\/github.com\/microsoft\/vcpkg\/releases\/tag\/2022.08.15\">August release of the main vcpkg repo<\/a> includes <strong>204 commits<\/strong>.<\/li>\n<li><strong>69 contributors<\/strong> submitted PRs, issues, or participated in discussions in the repo.<\/li>\n<li>The main vcpkg repo has <strong>4.7k forks<\/strong> and <strong>16.5k stars<\/strong> on GitHub.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3>Notable Changes<\/h3>\n<p>This is a minor update and there was no tool update this month, so most of the changes are to the open-source ports registry or minor changes. See the full <a href=\"https:\/\/github.com\/microsoft\/vcpkg\/compare\/2022.07.25...2022.08.15\">commit changelog<\/a> for details. We call out several of the more interesting changes below.<\/p>\n<p>&nbsp;<\/p>\n<h4>vcpkg now uses CMake v3.24<\/h4>\n<p>Updated the version of CMake used by vcpkg to 3.24. Note: this doesn\u2019t restrict what version of CMake a vcpkg user can use for their own projects, and vcpkg can be asked to use a version of CMake already installed on the user\u2019s machine, as long as it is not an older version than 3.24.<\/p>\n<p>PR: <a href=\"https:\/\/github.com\/microsoft\/vcpkg\/pull\/25365\">Microsoft\/vcpkg#25365<\/a> (thank you @<a href=\"https:\/\/github.com\/Neumann-A\">Neumann-A<\/a>!)<\/p>\n<p>&nbsp;<\/p>\n<h4>Improved cross-compilation for Apple silicon<\/h4>\n<p>A community PR improves correctness when cross-compiling from x86_64 to arm64 on macOS (and vice-versa). It also takes into account Rosetta\u2019s capability to run x86_64 binaries on arm64 macOS systems.<\/p>\n<p>PR: <a href=\"https:\/\/github.com\/microsoft\/vcpkg\/pull\/26240\">Microsoft\/vcpkg#26240<\/a> (thanks @<a href=\"https:\/\/github.com\/ekilmer\">ekilmer<\/a>!)<\/p>\n<p>&nbsp;<\/p>\n<h4>Documentation changes<\/h4>\n<p>The following documentation changes were made this release:<\/p>\n<ul>\n<li>Extensive changes to the FAQ page as it was out of date, taking account of new vcpkg features and tool targeting capabilities.<\/li>\n<li>Updated triplets documentation to include the variable VCPKG_FIXUP_ELF_RPATH (thanks @Osyotr!)<\/li>\n<\/ul>\n<p>PRs: <a href=\"https:\/\/github.com\/microsoft\/vcpkg\/pull\/25400\">Microsoft\/vcpkg#25400<\/a>, <a href=\"https:\/\/github.com\/microsoft\/vcpkg\/pull\/26040\">Microsoft\/vcpkg#26040<\/a><\/p>\n<p>&nbsp;<\/p>\n<h3>Total Ports Available for Tested Triplets<\/h3>\n<table>\n<tbody>\n<tr>\n<td><strong>triplet<\/strong><\/td>\n<td><strong>ports available<\/strong><\/td>\n<\/tr>\n<tr>\n<td>x86-windows<\/td>\n<td>1,775<\/td>\n<\/tr>\n<tr>\n<td>x64-windows<\/td>\n<td>1,828<\/td>\n<\/tr>\n<tr>\n<td>x64-windows-static<\/td>\n<td>1,741<\/td>\n<\/tr>\n<tr>\n<td>x64-windows-static-md<\/td>\n<td>1,755<\/td>\n<\/tr>\n<tr>\n<td>x64-uwp<\/td>\n<td>939<\/td>\n<\/tr>\n<tr>\n<td>arm64-windows<\/td>\n<td>1,364<\/td>\n<\/tr>\n<tr>\n<td>arm-uwp<\/td>\n<td>891<\/td>\n<\/tr>\n<tr>\n<td>x64-osx<\/td>\n<td>1,697<\/td>\n<\/tr>\n<tr>\n<td>x64-linux<\/td>\n<td>1,765<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>While vcpkg supports a much larger variety of target platforms x architectures, the list above is validated exhaustively to ensure updated ports don\u2019t break other ports in the catalog.<\/p>\n<p>&nbsp;<\/p>\n<h3>Thank you to our contributors<\/h3>\n<p>vcpkg couldn\u2019t be where it is today without contributions from our open-source community. Thank you for your continued support! The following people contributed to the vcpkg and vcpkg-tool repos in this release:<\/p>\n<ul>\n<li>Neumann-A (27 commits)<\/li>\n<li>Thomas1664 (8 commits)<\/li>\n<li>Osyotr (6 commits)<\/li>\n<li>autoantwort (5 commits)<\/li>\n<li>ekilmer (3 commits)<\/li>\n<li>dg0yt (3 commits)<\/li>\n<li>cenit (2 commits)<\/li>\n<li>myd7349 (1 commit)<\/li>\n<li>coryan (1 commit)<\/li>\n<li>AenBleidd (1 commit)<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3>Learn More<\/h3>\n<p>You can find the <a href=\"https:\/\/github.com\/microsoft\/vcpkg\/releases\/tag\/2022.08.15\">full August release notes on GitHub<\/a> for the main repo. Recent updates to the vcpkg tool can be viewed on the <a href=\"https:\/\/github.com\/microsoft\/vcpkg-tool\/releases\">vcpkg-tool Releases page<\/a>. If you\u2019re new to vcpkg or curious about how a package manager can make your life easier as a C\/C++ developer, check out the <a href=\"https:\/\/vcpkg.io\/en\/index.html\">vcpkg website \u2013 vcpkg.io<\/a>.<\/p>\n<p>If you would like to contribute to vcpkg and its library catalog, or want to give us feedback on anything, check out our <a href=\"https:\/\/github.com\/microsoft\/vcpkg\/releases\">GitHub repo<\/a>. Please report bugs or request updates to ports in our <a href=\"https:\/\/github.com\/microsoft\/vcpkg\/issues\">issue tracker<\/a>, or join more general discussion in our <a href=\"https:\/\/github.com\/microsoft\/vcpkg\/discussions\">discussion forum<\/a>. For an overview of our top priorities and backlog, take a look at our <a href=\"https:\/\/github.com\/microsoft\/vcpkg\/wiki\/Roadmap\">roadmap page<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The August 2022 release of the vcpkg package manager is available. This blog post summarizes changes from July 25th, 2022 to August 14th, 2022 for the Microsoft\/vcpkg and Microsoft\/vcpkg-tool GitHub repos. Some stats for this period: 8 new ports were added to the open-source registry. If you are unfamiliar with the term \u2018port\u2019, they are [&hellip;]<\/p>\n","protected":false},"author":1063,"featured_media":28096,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1,272],"tags":[273],"class_list":["post-30936","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cplusplus","category-vcpkg","tag-vcpkg"],"acf":[],"blog_post_summary":"<p>The August 2022 release of the vcpkg package manager is available. This blog post summarizes changes from July 25th, 2022 to August 14th, 2022 for the Microsoft\/vcpkg and Microsoft\/vcpkg-tool GitHub repos. Some stats for this period: 8 new ports were added to the open-source registry. If you are unfamiliar with the term \u2018port\u2019, they are [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/30936","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/users\/1063"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/comments?post=30936"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/30936\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media\/28096"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media?parent=30936"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/categories?post=30936"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/tags?post=30936"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}