Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 642186 - media-gfx/darktable-2.4.0 depends clang-4 when opencl enabled?
Summary: media-gfx/darktable-2.4.0 depends clang-4 when opencl enabled?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-25 03:16 UTC by younky.yang
Modified: 2017-12-29 12:07 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 younky.yang 2017-12-25 03:16:12 UTC
with 2.2.5, it just depends on virtual/opencl, why 2.4.0 depends on clang-4? I tried to build with clang-5, and there is no issue so far. 

So anyone can explain this?
Comment 1 Lebedev Roman 2017-12-25 12:48:23 UTC
https://github.com/gentoo/gentoo/blob/5cbe6607217626e40457960d14f7a4d1f14ebd0c/media-gfx/darktable/darktable-2.4.0.ebuild#L56-L60
^ that is wrong.
clang is *only* used for test-compiling opencl kernels during build time.
it does not and will not help during runtime.
you probably should just disable that kernel test-compilation via -DTESTBUILD_OPENCL_PROGRAMS:BOOL=OFF cmake flag.
Comment 2 Markus Meier gentoo-dev 2017-12-29 12:07:38 UTC
Moved clang/llvm to DEPEND (build time only) and also allow to use version 5.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fa7f4aeddd82a70ba9446add9f88c7ed8327a16