Skip to content

fix redefine error when enabling aiebu#1051

Closed
HimanshuChoudhary-Xilinx wants to merge 2 commits intoamd:mainfrom
HimanshuChoudhary-Xilinx:aiuebe_edge
Closed

fix redefine error when enabling aiebu#1051
HimanshuChoudhary-Xilinx wants to merge 2 commits intoamd:mainfrom
HimanshuChoudhary-Xilinx:aiuebe_edge

Conversation

@HimanshuChoudhary-Xilinx
Copy link
Copy Markdown
Collaborator

No description provided.

Signed-off-by: Himanshu Choudhary <Himanshu.Choudhary@amd.com>
Signed-off-by: Himanshu Choudhary <Himanshu.Choudhary@amd.com>
Copilot AI review requested due to automatic review settings February 5, 2026 02:45
Copy link
Copy Markdown
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

This PR fixes a redefine error when enabling AIEBU by removing the redundant DOPENCL_ICD_LOADER compile option and updating the XRT submodule reference.

Changes:

  • Removed -DOPENCL_ICD_LOADER from compile options in CMake/xrt_ve2.cmake
  • Updated XRT submodule commit hash
  • Updated XRT submodule URL to point to a different GitHub repository

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
CMake/xrt_ve2.cmake Removed -DOPENCL_ICD_LOADER compile option to fix redefine error
xrt Updated submodule commit hash to include the fix
.gitmodules Changed XRT submodule URL to HimanshuChoudhary-Xilinx fork

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

Comment thread .gitmodules
[submodule "xrt"]
path = xrt
url = https://github.com/Xilinx/XRT.git
url = https://github.com/HimanshuChoudhary-Xilinx/XRT.git
Copy link

Copilot AI Feb 5, 2026

Choose a reason for hiding this comment

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

The submodule URL has been changed from the official Xilinx/XRT repository to a personal fork (HimanshuChoudhary-Xilinx/XRT). Using a personal fork instead of the official repository can cause maintainability issues and may not receive official updates. Consider upstreaming the necessary changes to the official repository or documenting why this fork is required.

Suggested change
url = https://github.com/HimanshuChoudhary-Xilinx/XRT.git
url = https://github.com/Xilinx/XRT.git

Copilot uses AI. Check for mistakes.
@amd-gevadlam
Copy link
Copy Markdown
Collaborator

retest this please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants