[arch-commits] Commit in beignet/trunk (PKGBUILD)

Bruno Pagani archange at archlinux.org
Sat Sep 22 12:17:33 UTC 2018


    Date: Saturday, September 22, 2018 @ 12:17:33
  Author: archange
Revision: 384126

LLVM 7.0 rebuild + target master

The beignet project is now in maintenance mode only (it has been superseeded by
Neo/compute-runtime), and even new releases are unlikely.
However, this project might still be usefull for those with IvyBridge & Haswell
GPUs as those will not be supported by Neo/compute-runtime.

Most of the commits in the master branches are fixes toward LLVM 6 & 7
compatibility, everything else is bug fixes pushed by Debian, so following
master (but pinning the commit to know where we are) is a good idea now.

Modified:
  beignet/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++++++++----------------
 1 file changed, 10 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-22 11:34:59 UTC (rev 384125)
+++ PKGBUILD	2018-09-22 12:17:33 UTC (rev 384126)
@@ -4,31 +4,27 @@
 # Contributor: Michal Krenek (a.k.a. Mikos) <m.krenek at gmail.com>
 
 pkgname=beignet
-pkgver=1.3.2
-pkgrel=2
-pkgdesc="An open source OpenCL implementation for Intel IvyBridge+ iGPUs"
+pkgver=1.3.2+12+gfc5f430c
+pkgrel=1
+pkgdesc="An open source OpenCL implementation for Intel IvyBridge & Haswell iGPUs"
 arch=('x86_64')
 url="https://01.org/${pkgname}"
 license=('LGPL')
 depends=('glu' 'llvm-libs' 'clang' 'mesa' 'opencl-headers')
-makedepends=('llvm' 'cmake' 'python' 'ocl-icd')
+makedepends=('git' 'llvm' 'cmake' 'python' 'ocl-icd')
 provides=('opencl-intel' 'opencl-driver')
 conflicts=('opencl-intel')
-source=("https://01.org/sites/default/files/${pkgname}-${pkgver}-source.tar.gz"
-        'llvm6.patch')
-sha256sums=('c555edba149de23243965a703f39f79fa06f15bcff5a3762b5544b0925010b43'
-            '649558497ac09f9701569630259300f67566ccb2ab77163915877102e3e31e87')
+_commit=fc5f430cb7b7a8f694d86acbb038bd5b38ec389c  # master as of 2018-08-20
+source=("git+https://anongit.freedesktop.org/git/beignet.git#commit=$_commit")
+sha256sums=('SKIP')
 
 prepare() {
-    cd ${pkgname^}-${pkgver}-Source
     mkdir -p build
-    patch -Np1 -i ../llvm6.patch
 }
 
 build() {
-    cd ${pkgname^}-${pkgver}-Source/build
-
-    cmake .. \
+    cd build
+    cmake ../${pkgname} \
         -DCMAKE_INSTALL_PREFIX=/usr \
         -DCMAKE_INSTALL_LIBDIR=/usr/lib \
         -DCMAKE_BUILD_TYPE=RELEASE
@@ -36,10 +32,8 @@
 }
 
 package() {
-    cd ${pkgname^}-${pkgver}-Source/build
-
+    cd build
     make DESTDIR="${pkgdir}" install
-
     # Remove headers already provided by 'opencl-headers'
     cd "${pkgdir}/usr/include/CL"
     rm cl.h cl_egl.h cl_ext.h cl_gl.h cl_gl_ext.h cl_platform.h opencl.h



More information about the arch-commits mailing list