Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 608426 - app-eselect/eselect-opencl-1.1.0-r4 missing intended functionality
Summary: app-eselect/eselect-opencl-1.1.0-r4 missing intended functionality
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 651660
  Show dependency tree
 
Reported: 2017-02-06 12:41 UTC by Amaroun
Modified: 2020-09-12 21:14 UTC (History)
0 users

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


Attachments
Copies cl.hpp for each version if available on src_install;Creates unversioned CL simlink to CL-1.2; (eselect-opencl-links-and-hpp.epatch,4.98 KB, patch)
2017-02-06 12:41 UTC, Amaroun
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Amaroun 2017-02-06 12:41:48 UTC
Created attachment 462610 [details, diff]
Copies cl.hpp for each version if available on src_install;Creates unversioned CL simlink to CL-1.2;

On src_install, it tries to copy cl.hpp file for all supported versions (1.1 1.2 2.1) into single ABI directory, as the target directory uses variable iterating in for cycle already finished.

On profile switch, it tries to fill implementation specific include files using default ones, supplied by eselect-opencl package. Sadly, it uses files in /usr/$(get_libdir)/OpenCL/global/include/CL, which does not exists, as only /usr/$(get_libdir)/OpenCL/global/include/CL-${OCL-ABI} directories are installed for specific versions of OpenCL, no dir without version.

See patch for proposed solution (can be tested as app-eselect/eselect-opencl-1.1.0-r5::gamarouns)

BTW please upgrade to EAPI6