[arch-commits] Commit in intel-graphics-compiler/trunk (PKGBUILD)

Daniel Bermond dbermond at archlinux.org
Tue Jul 28 00:43:54 UTC 2020


    Date: Tuesday, July 28, 2020 @ 00:43:52
  Author: dbermond
Revision: 665572

upgpkg: intel-graphics-compiler 1:1.0.4361-1

Modified:
  intel-graphics-compiler/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-28 00:41:03 UTC (rev 665571)
+++ PKGBUILD	2020-07-28 00:43:52 UTC (rev 665572)
@@ -3,17 +3,21 @@
 
 pkgname=intel-graphics-compiler
 epoch=1
-pkgver=1.0.4312
+pkgver=1.0.4361
 pkgrel=1
 pkgdesc="Intel Graphics Compiler for OpenCL"
 arch=(x86_64)
 url="https://github.com/intel/intel-graphics-compiler"
 license=(MIT)
-depends=(llvm-libs intel-opencl-clang)
-makedepends=(cmake clang llvm zlib python)
+depends=(llvm-libs intel-opencl-clang ncurses zlib)
+makedepends=(git cmake clang llvm python)
 options=(!emptydirs)
-source=(${url}/archive/igc-${pkgver}.tar.gz)
-sha256sums=('6a36b13639d24416cd3c47020ba917813801f0935a55c11c46a4450d918e7a7b')
+source=(${url}/archive/igc-${pkgver}.tar.gz
+        git+https://github.com/intel/vc-intrinsics.git
+        git+https://github.com/KhronosGroup/SPIRV-LLVM-Translator.git)
+sha256sums=('6e47c34646f188b3b3eb7e77423b8a17108c0e69d2b5936076d08e6b3ac4c993'
+            'SKIP'
+            'SKIP')
 
 build() {
     cmake -B build -S ${pkgname}-igc-${pkgver} \
@@ -21,7 +25,9 @@
         -DCMAKE_INSTALL_PREFIX=/usr \
         -DCMAKE_INSTALL_LIBDIR=lib \
         -DIGC_OPTION__ARCHITECTURE_TARGET='Linux64' \
-        -DIGC_PREFERRED_LLVM_VERSION='10.0.0' \
+        -DIGC_PREFERRED_LLVM_VERSION='10.0.1' \
+        -DVC_INTRINSICS_SRC="${srcdir}/vc-intrinsics" \
+        -DSPIRV_SRC="${srcdir}/SPIRV-LLVM-Translator" \
         -DINSTALL_GENX_IR=ON \
         -Wno-dev
     make -C build
@@ -30,4 +36,5 @@
 package() {
     make -C build DESTDIR="${pkgdir}" install
     install -D -m644 ${pkgname}-igc-${pkgver}/LICENSE.md -t "${pkgdir}"/usr/share/licenses/${pkgname}
+    mv "${pkgdir}"/usr/lib/igc/NOTICES.txt "${pkgdir}"/usr/share/licenses/${pkgname}
 }


More information about the arch-commits mailing list