[arch-commits] Commit in intel-graphics-compiler/repos/community-x86_64 (3 files)

Bruno Pagani archange at archlinux.org
Sat Nov 14 22:35:37 UTC 2020


    Date: Saturday, November 14, 2020 @ 22:35:37
  Author: archange
Revision: 754220

archrelease: copy trunk to community-x86_64

Added:
  intel-graphics-compiler/repos/community-x86_64/PKGBUILD
    (from rev 754219, intel-graphics-compiler/trunk/PKGBUILD)
Deleted:
  intel-graphics-compiler/repos/community-x86_64/PKGBUILD
  intel-graphics-compiler/repos/community-x86_64/intel-graphics-compiler-llvm11.patch

--------------------------------------+
 PKGBUILD                             |   85 ++++++++++++++-------------------
 intel-graphics-compiler-llvm11.patch |   21 --------
 2 files changed, 38 insertions(+), 68 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-14 22:35:12 UTC (rev 754219)
+++ PKGBUILD	2020-11-14 22:35:37 UTC (rev 754220)
@@ -1,47 +0,0 @@
-# Maintainer: Daniel Bermond <dbermond at archlinux.org>
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-pkgname=intel-graphics-compiler
-epoch=1
-pkgver=1.0.5353
-pkgrel=2
-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 ncurses zlib)
-makedepends=(git cmake clang llvm python)
-options=(!emptydirs)
-source=(${url}/archive/igc-${pkgver}.tar.gz
-        ${pkgname}-llvm11.patch
-        git+https://github.com/intel/vc-intrinsics.git#commit=eabcd2022cf868a658b257b8ea6ad62acbbe7dc5
-        git+https://github.com/KhronosGroup/SPIRV-LLVM-Translator.git#commit=d6dc999eee381158a26f048a333467c9ce7e77f2)
-sha256sums=('8a7ebe4498b4777c55837ffbea75d2cff367fb31e1eeb44fbbe307fdb7cf26d6'
-            '5bdfb2a71b388e1b24387e07aa7e1906e9dbdcb52e5e4d8a1a417f7360b6a0bb'
-            'SKIP'
-            'SKIP')
-
-prepare() {
-    cd ${pkgname}-igc-${pkgver}
-    patch -Np1 -i ../${pkgname}-llvm11.patch
-}
-
-build() {
-    cmake -B build -S ${pkgname}-igc-${pkgver} \
-        -DCMAKE_BUILD_TYPE=Release \
-        -DCMAKE_INSTALL_PREFIX=/usr \
-        -DCMAKE_INSTALL_LIBDIR=lib \
-        -DIGC_OPTION__ARCHITECTURE_TARGET='Linux64' \
-        -DIGC_PREFERRED_LLVM_VERSION='11.0.0' \
-        -DVC_INTRINSICS_SRC="${srcdir}/vc-intrinsics" \
-        -DSPIRV_SRC="${srcdir}/SPIRV-LLVM-Translator" \
-        -DINSTALL_GENX_IR=ON \
-        -Wno-dev
-    make -C build
-}
-
-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}
-}

Copied: intel-graphics-compiler/repos/community-x86_64/PKGBUILD (from rev 754219, intel-graphics-compiler/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-14 22:35:37 UTC (rev 754220)
@@ -0,0 +1,38 @@
+# Maintainer: Daniel Bermond <dbermond at archlinux.org>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=intel-graphics-compiler
+epoch=1
+pkgver=1.0.5435
+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 ncurses zlib)
+makedepends=(git cmake clang llvm python)
+options=(!emptydirs)
+source=(${url}/archive/igc-${pkgver}.tar.gz
+        git+https://github.com/intel/vc-intrinsics.git#commit=eabcd2022cf868a658b257b8ea6ad62acbbe7dc5)
+sha256sums=('9dec70f57a7a65e8f8e041f72d4c50fe3f4bb3bef205e5173a3e1d8031176d55'
+            'SKIP')
+
+build() {
+    cmake -B build -S ${pkgname}-igc-${pkgver} \
+        -DCMAKE_BUILD_TYPE=Release \
+        -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_INSTALL_LIBDIR=lib \
+        -DIGC_OPTION__ARCHITECTURE_TARGET='Linux64' \
+        -DIGC_PREFERRED_LLVM_VERSION='11.0.0' \
+        -DVC_INTRINSICS_SRC="${srcdir}/vc-intrinsics" \
+        -DINSTALL_SPIRVDLL=0 \
+        -DINSTALL_GENX_IR=ON \
+        -Wno-dev
+    make -C build
+}
+
+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}
+}

Deleted: intel-graphics-compiler-llvm11.patch
===================================================================
--- intel-graphics-compiler-llvm11.patch	2020-11-14 22:35:12 UTC (rev 754219)
+++ intel-graphics-compiler-llvm11.patch	2020-11-14 22:35:37 UTC (rev 754220)
@@ -1,21 +0,0 @@
-diff --git a/IGC/Compiler/CustomSafeOptPass.cpp b/IGC/Compiler/CustomSafeOptPass.cpp
---- a/IGC/Compiler/CustomSafeOptPass.cpp
-+++ b/IGC/Compiler/CustomSafeOptPass.cpp
-@@ -2320,7 +2320,7 @@ void GenSpecificPattern::visitBinaryOperator(BinaryOperator& I)
-                 }
- 
-                 llvm::IRBuilder<> builder(&I);
--                VectorType* vec4 = VectorType::get(builder.getInt8Ty(), 4);
-+                VectorType* vec4 = IGCLLVM::FixedVectorType::get(builder.getInt8Ty(), 4);
-                 Value* BC = builder.CreateBitCast(AndSrc, vec4);
-                 Value* EE = builder.CreateExtractElement(BC, builder.getInt32(newIndex));
-                 Value* Zext = builder.CreateZExt(EE, builder.getInt32Ty());
-@@ -2372,7 +2372,7 @@ void GenSpecificPattern::visitBinaryOperator(BinaryOperator& I)
-             }
- 
-             llvm::IRBuilder<> builder(&I);
--            VectorType* vec2 = VectorType::get(builder.getInt16Ty(), 2);
-+            VectorType* vec2 = IGCLLVM::FixedVectorType::get(builder.getInt16Ty(), 2);
-             Value* BC = builder.CreateBitCast(AShrSrc, vec2);
-             Value* EE = builder.CreateExtractElement(BC, builder.getInt32(newIndex));
-             Value* Sext = builder.CreateSExt(EE, builder.getInt32Ty());



More information about the arch-commits mailing list