void-packages/srcpkgs/beignet/template

25 lines
885 B
Bash

# Template file for 'beignet'
pkgname=beignet
version=1.3.2
revision=2
wrksrc="Beignet-${version}-Source"
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
build_style=cmake
hostmakedepends="llvm pkg-config clang"
makedepends="zlib-devel libffi-devel libedit-devel ncurses-devel libXext-devel
libXfixes-devel libdrm-devel MesaLib-devel ocl-icd-devel"
short_desc="The Beignet GPGPU System for Intel GPUs"
depends="ocl-icd"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1"
homepage="http://www.freedesktop.org/wiki/Software/Beignet/"
distfiles="https://01.org/sites/default/files/${pkgname}-${version}-source.tar.gz"
checksum=c555edba149de23243965a703f39f79fa06f15bcff5a3762b5544b0925010b43
broken="fails to build on llvm6, setDiagnosticHandler() on llvm backend"
post_install() {
# remove CL headers, we do use opencl-headers instead.
rm -r ${DESTDIR}/usr/include
}