void-packages/srcpkgs/beignet/template

23 lines
818 B
Bash

# Template file for 'beignet'
pkgname=beignet
version=1.3.2
revision=4
archs="i686* x86_64*"
wrksrc="Beignet-${version}-Source"
build_style=cmake
hostmakedepends="clang llvm pkg-config"
makedepends="MesaLib-devel libedit-devel libffi-devel ocl-icd-devel zlib-devel"
depends="ocl-icd"
short_desc="Beignet GPGPU System for Intel GPUs"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://www.freedesktop.org/wiki/Software/Beignet/"
distfiles="https://01.org/sites/default/files/${pkgname}-${version}-source.tar.gz"
checksum=c555edba149de23243965a703f39f79fa06f15bcff5a3762b5544b0925010b43
broken="Doesn't build against libLLVM8; can't be built against libclang 8 and libLLVM7"
post_install() {
# remove CL headers, we do use opencl-headers instead.
rm -r ${DESTDIR}/usr/include
}