beignet: fix build

This commit is contained in:
Michal Vasilek 2021-11-19 00:48:38 +01:00
parent 56ed59cfda
commit 13e51b2379
2 changed files with 3 additions and 10 deletions

View file

@ -757,15 +757,7 @@ There were a few changes required for LLVM 11:
// Find the safe iterator we can point to. If reorder happens, we need to
--- a/backend/src/llvm/llvm_passes.cpp 2020-11-09 16:48:20.823866112 +0100
+++ b/backend/src/llvm/llvm_passes.cpp 2020-11-09 18:48:55.997006837 +0100
@@ -87,14 +87,14 @@
}
int32_t getPadding(int32_t offset, int32_t align) {
- return (align - (offset % align)) % align;
+ return (align - (offset % align)) % align;
}
uint32_t getAlignmentByte(const ir::Unit &unit, Type* Ty)
@@ -95,7 +95,7 @@
{
switch (Ty->getTypeID()) {
case Type::VoidTyID: NOT_SUPPORTED;

View file

@ -6,7 +6,8 @@ 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"
makedepends="MesaLib-devel libedit-devel libffi-devel ocl-icd-devel zlib-devel
libXfixes-devel"
depends="ocl-icd"
short_desc="Beignet GPGPU System for Intel GPUs"
maintainer="Orphaned <orphan@voidlinux.org>"