Skip to content

Add PE version info to onnxruntime_providers_vitisai.dll#27626

Merged
adrianlizarraga merged 1 commit intomicrosoft:mainfrom
xhan65:user/xiha/add-vitisai-dll-version
Mar 13, 2026
Merged

Add PE version info to onnxruntime_providers_vitisai.dll#27626
adrianlizarraga merged 1 commit intomicrosoft:mainfrom
xhan65:user/xiha/add-vitisai-dll-version

Conversation

@xhan65
Copy link
Contributor

@xhan65 xhan65 commented Mar 11, 2026

Description

Add a Windows VERSIONINFO resource (.rc file) for the Vitis AI provider DLL, following the same pattern used for CUDA, TensorRT, and QNN EPs (added in #24606). This embeds the ORT version into the DLL's PE header so it shows up in file properties.

Motivation and Context

Need version in onnxruntime_providers_vitisai.dll to track changes.

Add a Windows VERSIONINFO resource (.rc file) for the Vitis AI provider
DLL, following the same pattern used for CUDA, TensorRT, and QNN EPs
(added in microsoft#24606). This embeds the ORT version into the DLL's PE header
so it shows up in file properties.

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

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds Windows PE VERSIONINFO metadata to the VitisAI execution provider DLL so the ORT version is embedded in onnxruntime_providers_vitisai.dll and visible in Windows file properties, consistent with the pattern used for other provider DLLs.

Changes:

  • Add a new onnxruntime_providers_vitisai.rc defining VS_VERSION_INFO resource values for the VitisAI provider DLL.
  • Update the VitisAI provider CMake to compile the .rc file on Windows and define FILE_NAME for the resource.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
onnxruntime/core/providers/vitisai/onnxruntime_providers_vitisai.rc Adds the Windows VERSIONINFO resource for the VitisAI provider DLL.
cmake/onnxruntime_providers_vitisai.cmake Includes the .rc on WIN32 and defines FILE_NAME for resource compilation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@adrianlizarraga
Copy link
Contributor

/azp run Linux QNN CI Pipeline, Win_TRT_Minimal_CUDA_Test_CI, Windows ARM64 QNN CI Pipeline, Windows GPU Doc Gen CI Pipeline

@azure-pipelines
Copy link

Azure Pipelines successfully started running 4 pipeline(s).

@adrianlizarraga
Copy link
Contributor

Hi @mingyueliuh and @zz002, can you please take a look when you have a chance?

@adrianlizarraga adrianlizarraga merged commit e635e2d into microsoft:main Mar 13, 2026
93 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