Skip to content

Prevent Agility SDK use with WebGPU Plugin EP builds - #32380

Merged
Edward Chen (edgchen1) merged 2 commits into
microsoft:mainfrom
mei1127:EnableAgilitySDK2
Sep 9, 2026
Merged

Edward Chen (edgchen1) merged 2 commits into
microsoft:mainfrom
mei1127:EnableAgilitySDK2

Conversation

@mei1127

@mei1127 May Mei (mei1127) commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Add an explicit check to reject --use_dawn_agility_sdk with --use_webgpu shared_lib. For now, Agility SDK support is limited to local static library builds. PTAL, thanks! Jiajia Qin (@qjia7) Edward Chen (@edgchen1) Jie Chen (@jchen10)

Copilot AI balanced review requested due to automatic review settings September 2, 2026 07:11
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

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.

🟢 Approval recommended

The restriction is correctly enforced, with only a minor CMake indentation cleanup remaining.

Pull request overview

Prevents unsupported Dawn Agility SDK use in WebGPU Plugin EP builds.

Changes:

  • Rejects incompatible build-script and direct-CMake configurations.
  • Updates CLI help and documentation.
File summaries
File Description
tools/ci_build/build.py Adds configuration validation.
tools/ci_build/build_args.py Clarifies CLI restrictions.
docs/BuildWithDawnAgilitySDK.md Documents Plugin EP limitation.
cmake/external/onnxruntime_external_deps.cmake Adds direct-CMake validation.
Review details
  • Files reviewed: 4/4 changed files
  • Comments generated: 1
  • Review effort level: Balanced

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread cmake/external/onnxruntime_external_deps.cmake Outdated
Comment thread tools/ci_build/build_args.py
@edgchen1
Edward Chen (edgchen1) merged commit 5bc57a2 into microsoft:main Sep 9, 2026
94 of 96 checks passed
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.

3 participants