mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
beignet: fix build
This commit is contained in:
parent
56ed59cfda
commit
13e51b2379
2 changed files with 3 additions and 10 deletions
|
@ -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
|
// 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
|
--- 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
|
+++ b/backend/src/llvm/llvm_passes.cpp 2020-11-09 18:48:55.997006837 +0100
|
||||||
@@ -87,14 +87,14 @@
|
@@ -95,7 +95,7 @@
|
||||||
}
|
|
||||||
|
|
||||||
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)
|
|
||||||
{
|
{
|
||||||
switch (Ty->getTypeID()) {
|
switch (Ty->getTypeID()) {
|
||||||
case Type::VoidTyID: NOT_SUPPORTED;
|
case Type::VoidTyID: NOT_SUPPORTED;
|
||||||
|
|
|
@ -6,7 +6,8 @@ archs="i686* x86_64*"
|
||||||
wrksrc="Beignet-${version}-Source"
|
wrksrc="Beignet-${version}-Source"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="clang llvm pkg-config"
|
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"
|
depends="ocl-icd"
|
||||||
short_desc="Beignet GPGPU System for Intel GPUs"
|
short_desc="Beignet GPGPU System for Intel GPUs"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
|
|
Loading…
Add table
Reference in a new issue