Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 490372 - media-libs/mesa[opencl] should not manipulate VIDEO_CARDS in sys-devel/llvm
Summary: media-libs/mesa[opencl] should not manipulate VIDEO_CARDS in sys-devel/llvm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-04 12:47 UTC by Manuel Rüger (RETIRED)
Modified: 2015-02-21 19:26 UTC (History)
2 users (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 Manuel Rüger (RETIRED) gentoo-dev 2013-11-04 12:47:19 UTC
The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by media-libs/mesa-9.2.2[opencl]
# required by mesa (argument)
=dev-libs/libclc-0.0.1_pre20130819-r1 ~amd64

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by media-libs/mesa-9.2.2[opencl]
# required by mesa (argument)
=sys-devel/llvm-3.3-r1 video_cards_radeon
# required by media-libs/mesa-9.2.2[opencl]
# required by mesa (argument)
=sys-devel/clang-3.3-r100 abi_x86_32


Adding video_cards_radeon is useless on a system which has no radeon-card. 

Maybe rename this useflag to opencl_radeon?

There is also another opencl implementation from intel, which we could add to the tree:
dev-libs/intel-beignet
http://wiki.freedesktop.org/www/Software/Beignet/
Comment 1 Matt Turner gentoo-dev 2013-11-04 16:53:19 UTC
opencl? (
              >=sys-devel/llvm-3.3-r1[video_cards_radeon,${MULTILIB_USEDEP}]
              >=sys-devel/clang-3.3[${MULTILIB_USEDEP}]
              >=sys-devel/gcc-4.6
)

Yeah, doesn't nouveau have OpenCL? I think requiring video_cards_radeon isn't what we want here.
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-11-04 16:54:32 UTC
I think that is a leftover from when radeon was the only OpenCL implementation in mesa.
Comment 3 Gino McCarty 2014-03-27 15:50:14 UTC
same issue here since the xorg stabilization went through, so I'm running mesa -opencl for now...
Comment 4 Matt Turner gentoo-dev 2015-02-21 19:26:56 UTC
I see

    opencl? (
        gallium
        llvm
        video_cards_r600? ( r600-llvm-compiler )
        video_cards_radeon? ( r600-llvm-compiler )
        video_cards_radeonsi? ( r600-llvm-compiler )
    )

in current Mesa. I think this is fixed.