Skip to content

[VL] Add libxml2 to vcpkg manifest for Velox XPath (Spark) support - #13090

Open
minni31 wants to merge 1 commit into
apache:mainfrom
minni31:oss/libxml2-vcpkg-pr
Open

minni31 wants to merge 1 commit into
apache:mainfrom
minni31:oss/libxml2-vcpkg-pr

Conversation

@minni31

@minni31 minni31 commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Add libxml2 to the velox feature in dev/vcpkg/vcpkg.json so Gluten's static (vcpkg) builds provision it explicitly.

Velox's Spark XPath functions resolve libxml2 via find_package(LibXml2). Providing it through Gluten's own vcpkg manifest (rather than Velox's shared setup scripts) follows the pattern used for other Spark-consumer dependencies. libxml2 is already used by cpp/velox and cpp/bolt, and pulled transitively for ABFS via azure-storage-common-cpp; this makes it a first-class, deterministic dependency. It resolves to 2.15.1 through the existing builtin-baseline, so no overrides pin is required.

How was this patch tested?

Manifest-only change validated as well-formed JSON. Exercised by the existing vcpkg-based native CI build.

Was this patch authored or co-authored using generative AI tooling?

Generated-by: GitHub Copilot CLI (Claude Opus 4.8)

Add libxml2 to the velox feature in dev/vcpkg/vcpkg.json so Gluten's
static (vcpkg) builds provision it explicitly.

Velox's Spark XPath functions resolve libxml2 via find_package(LibXml2).
Providing it through Gluten's own vcpkg manifest (rather than Velox's
shared setup scripts) follows the pattern used for other Spark-consumer
dependencies. libxml2 is already used by cpp/velox and cpp/bolt and pulled
transitively for ABFS via azure-storage-common-cpp; this makes it a
first-class, deterministic dependency. It resolves to 2.15.1 through the
existing builtin-baseline, so no overrides pin is required.

Generated-by: GitHub Copilot CLI (Claude Opus 4.8)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

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.

Copilot review overview

🟢 Approval recommended

The manifest change is scoped, well-formed, and has no unresolved review issues.

Review effort: Lite
Findings: None

What changed in this PR

Adds libxml2 to the Velox vcpkg feature for deterministic XPath support in static builds.

Changes:

  • Declares libxml2 as a Velox dependency.
  • Uses the existing vcpkg baseline for version resolution.
File Description
dev/​vcpkg/​vcpkg.json Adds the libxml2 vcpkg dependency.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants