Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 627864 - dev-libs/beignet: add llvm 4.0 support
Summary: dev-libs/beignet: add llvm 4.0 support
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Marek Szuba (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-14 17:08 UTC by Craig Andrews
Modified: 2017-08-15 13:51 UTC (History)
1 user (show)

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


Attachments
build.log (dev-libs:beignet-1.3.1-r1:20170814-165302.log,119.92 KB, text/x-log)
2017-08-14 17:08 UTC, Craig Andrews
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Andrews gentoo-dev 2017-08-14 17:08:25 UTC
Created attachment 489022 [details]
build.log

dev-libs/beignet-1.3.1-r1 (the latest version as of right now) has a dependency on sys-devel/llvm:0 which is for llvm < 4, sys-devel/llvm-4 uses SLOT=4.

It would be great for dev-libs/beignet to support sys-devel/llvm:4 (a dependency expression of >=sys-devel/llvm-3.6:= would be great).

Simply changing the dependency allowing the build to be attempted results in failure:
In file included from /var/tmp/portage/dev-libs/beignet-1.3.1-r1/work/Beignet-1.3.1-Source-abi_x86_64.amd64/backend/src/libocl/src/ocl_enqueue.cl:19:
/var/tmp/portage/dev-libs/beignet-1.3.1-r1/work/Beignet-1.3.1-Source-abi_x86_64.amd64/backend/src/libocl//usr/lib64/OpenCL/vendors/beignet/lib/beignet//include/ocl_enqueue.h:41:19: error: invalid prototype, variadic arguments are not allowed in OpenCL
  __global void (*invoke)(void *, ...);
Comment 1 Marek Szuba (RETIRED) archtester gentoo-dev 2017-08-15 13:51:31 UTC
LLVM-4 will likely become supported by beignet in its next release, which hopefully will come soon. Perhaps you could inquire on their mailing list? Anyway, I am not particularly big on the idea of backporting appropriate patches from master to 1.3.1 so there isn't much to be done here until a new release has been published.