Skip to content

[xad] Update to 2.2.0 - #55021

Open
Auto Differentiation Dev Team (auto-differentiation-dev) wants to merge 1 commit into
microsoft:masterfrom
auto-differentiation-dev:xad-2.2.0
Open

Auto Differentiation Dev Team (auto-differentiation-dev) wants to merge 1 commit into
microsoft:masterfrom
auto-differentiation-dev:xad-2.2.0

Conversation

@auto-differentiation-dev

@auto-differentiation-dev Auto Differentiation Dev Team (auto-differentiation-dev) commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Updates xad to 2.2.0 (release: https://github.com/auto-differentiation/xad/releases/tag/v2.2.0).

  • fix-msvc-stl-145.patch and fix-libcxx-21.patch are removed: both fixes are in 2.2.0.
  • The VERSION file and Version.hpp.in are correct in 2.2.0, so the portfile no longer rewrites them.
  • fix-install-pdb.patch is refreshed for 2.2.0 (context offset only).
  • XAD_TAPE_CHECKS is new in 2.2.0 and defaults to ON in Debug builds. It adds a member to the tape class, and only the release headers are installed, so the port sets it OFF for both configurations.

Tested on x64-linux (GCC 15): vcpkg install xad, plus a small consumer using find_package(XAD CONFIG REQUIRED) and XAD::xad, built and run in Release and Debug.

  • Changes comply with the maintainer guide.
  • SHA512s are updated for each updated download.
  • The "supports" clause reflects platforms that may be fixed by this new version, or no changes were necessary.
  • Any fixed CI baseline and CI feature baseline entries are removed from that file, or no entries needed to be changed.
  • All patch files in the port are applied and succeed.
  • The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
  • Exactly one version is added in each modified versions file.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Unavailable upstream 2.2.0 sources and CI results prevented independent verification of the removed MSVC/libc++ fixes and Debug/Release tape-layout behavior.

No open issues 🎉

What changed in this PR

Updates the vcpkg xad port to 2.2.0, removes workarounds now included upstream, and keeps Debug and Release tape layouts consistent.

Changes:

  • Updates the source checksum, port version, baseline, and version history.
  • Removes obsolete compiler patches and version-file rewrites; refreshes the PDB-install patch.
  • Disables XAD_TAPE_CHECKS in both configurations to match the installed headers.

No additional builds or consumer tests were run.

File Description
versions/​x-/​xad.json Adds the 2.2.0 version entry.
versions/​baseline.json Advances the default version to 2.2.0.
ports/​xad/​vcpkg.json Updates the declared version.
ports/​xad/​portfile.cmake Updates the checksum, removes workarounds, and disables tape checks.
ports/​xad/​fix-msvc-stl-145.patch Removes the compiler fix included upstream.
ports/​xad/​fix-libcxx-21.patch Removes the libc++ fix included upstream.
ports/​xad/​fix-install-pdb.patch Refreshes patch context for 2.2.0.

Review effort: Balanced

This branch has not been deployed

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

2 participants