Github messages for voidlinux
 help / color / mirror / Atom feed
From: paper42 <paper42@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] beignet: fix build
Date: Fri, 19 Nov 2021 00:52:18 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34140@inbox.vuxu.org> (raw)

[-- 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>"

             reply	other threads:[~2021-11-18 23:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-18 23:52 paper42 [this message]
2021-11-20 11:04 ` [PR PATCH] [Merged]: " paper42

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34140@inbox.vuxu.org \
    --to=paper42@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).