Skip to content

Rename xilinx.icd to amdxrt.icd for XRT upstream builds#9386

Merged
stsoe merged 1 commit into
Xilinx:masterfrom
stsoe:icd
Oct 29, 2025
Merged

Rename xilinx.icd to amdxrt.icd for XRT upstream builds#9386
stsoe merged 1 commit into
Xilinx:masterfrom
stsoe:icd

Conversation

@stsoe
Copy link
Copy Markdown
Collaborator

@stsoe stsoe commented Oct 29, 2025

Problem solved by the commit

Avoid package conflict when installing internal XRT packages (/opt/xilinx) with upstream packages (/usr).

How problem was solved, alternative solutions (if any) and why they were rejected

The OpenCL ICD loader /etc/OpenCL/vendors/xilinx.icd is installed by internally built xrt-base package, which otherwise installs content to /opt/xilinx/xrt. For upstream packages, the ICD loader must be named differently in order to co-exist with internal installs.

Avoid package conflict when installing internal XRT packages
(/opt/xilinx) with upstream packages (/usr).

The OpenCL ICD loader `/etc/OpenCL/vendors/xilinx.icd` is installed by
internally built xrt-base package, which otherwise installs content
to `/opt/xilinx/xrt`.   For upstream packages, the ICD loader must
be named differently in order to co-exist with internal installs.

Signed-off-by: Soren Soe <2106410+stsoe@users.noreply.github.com>
@stsoe stsoe requested a review from rozumx as a code owner October 29, 2025 20:00
@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@stsoe stsoe merged commit f848f6f into Xilinx:master Oct 29, 2025
20 of 21 checks passed
@stsoe stsoe deleted the icd branch October 29, 2025 21:43
stsoe added a commit to stsoe/xdna-driver that referenced this pull request Oct 30, 2025
This pulls in Xilinx/XRT#9386, which is needed
for Debian XRT upstreaming.

Signed-off-by: Soren Soe <2106410+stsoe@users.noreply.github.com>
maxzhen pushed a commit to amd/xdna-driver that referenced this pull request Oct 30, 2025
This pulls in Xilinx/XRT#9386, which is needed
for Debian XRT upstreaming.

Signed-off-by: Soren Soe <2106410+stsoe@users.noreply.github.com>
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.

1 participant