xrt package does not create xilinx.icd

Bug #1939613 reported by Terry ONeal
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xrt (Ubuntu)
Fix Released
Medium
Alfonso Sanchez-Beato

Bug Description

As part of the installation, the XRT package should create the vendor-specific /etc/OpenCL/vendor/xilinx.icd file. The contents of the file should be:

libxilinxopencl.so

This provides support for the Installable Client Driver (ICD) model as described here: https://github.com/KhronosGroup/OpenCL-ICD-Loader

Applications can then be built using -lOpenCL instead of linking to the xilinx-specific libxilinxopencl.so.

$ apt-cache policy xrt-embedded
xrt-embedded:
  Installed: 202020.2.8.726-0ubuntu2
  Candidate: 202020.2.8.726-0ubuntu7~20.04
  Version table:
     202020.2.8.726-0ubuntu7~20.04 500
        500 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe arm64 Packages
 *** 202020.2.8.726-0ubuntu2 100
        100 /var/lib/dpkg/status

Tags: patch
Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :

The attached patch solves the problem and an FTBFS.

Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :

New version of the patch, fixing the build for x86 too.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "debdiff.patch" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
Changed in xrt (Ubuntu):
assignee: nobody → Alfonso Sanchez-Beato (alfonsosanchezbeato)
Mathew Hodson (mhodson)
Changed in xrt (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xrt (Ubuntu):
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xrt - 202020.2.8.743-0ubuntu1

---------------
xrt (202020.2.8.743-0ubuntu1) impish; urgency=medium

  * Update to 202020.2.8.743 tag upstream (fixex issue with reading AIE
    counter)
  * Add OpenCL configuration file (LP: #1939613)
  * Fix FTBFS with latest impish gcc
  * Restrict build to arm64 only

 -- Alfonso Sanchez-Beato (email Canonical) <email address hidden> Fri, 13 Aug 2021 11:30:48 +0200

Changed in xrt (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.