Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 402345 - The "opencl" USE flag should not be NVIDIA-exclusive in profiles/hardened/linux/use.mask
Summary: The "opencl" USE flag should not be NVIDIA-exclusive in profiles/hardened/lin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-06 05:07 UTC by jzhper
Modified: 2012-02-12 15:46 UTC (History)
0 users

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 jzhper 2012-02-06 05:07:41 UTC
/usr/portage/profiles/base/use.mask and /usr/portage/profiles/hardened/linux/use.mask masked the "opencl" USE flag on the basis that NVIDIA is the sole provider for OpenCL libraries. However that is not the case anymore. Intel, through dev-util/intel-ocl-sdk and AMD, through >=ati-drivers-12.1-r1, and through =ati-drivers-12.1 with the "opencl" USE flag, already includes with it the necessary libraries. Hence, "USE=opencl emerge -1 imagemagick -p" should have the "opencl" USE flag enabled as opposed to "(-opengl)". Therefore, I request that the "-opencl" mask be removed.

Reproducible: Always

Steps to Reproduce:
Run "USE=opencl emerge -1 imagemagick -p" on a recent Gentoo system with profile hardened/linux/amd64/no-multilib/selinux and with recent AMD Radeon GPU(s) and appropriate x11-drivers/ati-drivers.

Actual Results:  
Portage returns to us "(-opencl)" 

Expected Results:  
Portage returns to us "opencl" in USE.

Vide http://forums.gentoo.org/viewtopic-p-6936730.html for working OpenCL with AMD hardware.
Comment 1 Anthony Basile gentoo-dev 2012-02-12 15:46:23 UTC
From profiles/ChangeLog

  07 Feb 2012; Anthony G. Basile <blueness@gentoo.org> hardened/linux/use.mask:
  Unmask opencl USE flag on hardened