Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] beignet: fix build
@ 2021-11-18 23:52 paper42
  2021-11-20 11:04 ` [PR PATCH] [Merged]: " paper42
  0 siblings, 1 reply; 2+ messages in thread
From: paper42 @ 2021-11-18 23:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 484 bytes --]

There is a new pull request by paper42 against master on the void-packages repository

https://github.com/paper42/void-packages beignet-fix-build
https://github.com/void-linux/void-packages/pull/34140

beignet: fix build
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES** (only the build)


A patch file from https://github.com/void-linux/void-packages/pull/34140.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-beignet-fix-build-34140.patch --]
[-- Type: text/x-diff, Size: 1808 bytes --]

From b45077ba0d54b61cfb552f59ddf00a45e45048d7 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Fri, 19 Nov 2021 00:48:38 +0100
Subject: [PATCH] beignet: fix build

---
 srcpkgs/beignet/patches/llvm11.patch | 10 +---------
 srcpkgs/beignet/template             |  3 ++-
 2 files changed, 3 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/beignet/patches/llvm11.patch b/srcpkgs/beignet/patches/llvm11.patch
index 7bd82e580711..2c3a4278943c 100644
--- a/srcpkgs/beignet/patches/llvm11.patch
+++ b/srcpkgs/beignet/patches/llvm11.patch
@@ -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;
diff --git a/srcpkgs/beignet/template b/srcpkgs/beignet/template
index 29a1ef99dbda..dce6bbb7ae24 100644
--- a/srcpkgs/beignet/template
+++ b/srcpkgs/beignet/template
@@ -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>"

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: beignet: fix build
  2021-11-18 23:52 [PR PATCH] beignet: fix build paper42
@ 2021-11-20 11:04 ` paper42
  0 siblings, 0 replies; 2+ messages in thread
From: paper42 @ 2021-11-20 11:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 323 bytes --]

There's a merged pull request on the void-packages repository

beignet: fix build
https://github.com/void-linux/void-packages/pull/34140

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES** (only the build)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-20 11:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-18 23:52 [PR PATCH] beignet: fix build paper42
2021-11-20 11:04 ` [PR PATCH] [Merged]: " paper42

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).