Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 733926 - dev-libs/rocclr-3.5.0 - CMake Error at CMakeLists.txt:28 (find_library): Could not find OpenCL using the following names: [...]
Summary: dev-libs/rocclr-3.5.0 - CMake Error at CMakeLists.txt:28 (find_library): Co...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords: PATCH, UPSTREAM
Depends on:
Blocks:
 
Reported: 2020-07-26 05:34 UTC by Reuben Martin
Modified: 2020-07-30 13:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Reuben Martin 2020-07-26 05:34:30 UTC
Fails to configure when the OpenCL includes are not found:

CMake Error at CMakeLists.txt:28 (find_library):
  Could not find OpenCL using the following names:


This has been patched upstream:
https://github.com/ROCm-Developer-Tools/ROCclr/commit/98df37fc36b6276c26532e86e89be7e389745f4e.patch

Package builds correctly with the commit above used as a user patch 

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2020-07-30 13:36:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b8360fe030fceeb64c5af453cc37fcf7d6d5baa

commit 1b8360fe030fceeb64c5af453cc37fcf7d6d5baa
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2020-07-30 13:35:48 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2020-07-30 13:36:14 +0000

    dev-libs/rocclr: Fix search for OpenCL include dirs
    
    Closes: https://bugs.gentoo.org/733926
    Package-Manager: Portage-3.0.1, Repoman-2.3.23
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

 .../rocclr/files/rocclr-3.5.0-find-opencl.patch    | 49 ++++++++++++++++++++++
 dev-libs/rocclr/rocclr-3.5.0.ebuild                |  1 +
 2 files changed, 50 insertions(+)