[arch-commits] Commit in intel-graphics-compiler/repos/community-x86_64 (2 files)
Daniel Bermond
dbermond at archlinux.org
Tue Jul 28 00:44:17 UTC 2020
Date: Tuesday, July 28, 2020 @ 00:44:16
Author: dbermond
Revision: 665573
archrelease: copy trunk to community-x86_64
Added:
intel-graphics-compiler/repos/community-x86_64/PKGBUILD
(from rev 665572, intel-graphics-compiler/trunk/PKGBUILD)
Deleted:
intel-graphics-compiler/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 73 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 40 insertions(+), 33 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-28 00:43:52 UTC (rev 665572)
+++ PKGBUILD 2020-07-28 00:44:16 UTC (rev 665573)
@@ -1,33 +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.4312
-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)
-options=(!emptydirs)
-source=(${url}/archive/igc-${pkgver}.tar.gz)
-sha256sums=('6a36b13639d24416cd3c47020ba917813801f0935a55c11c46a4450d918e7a7b')
-
-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='10.0.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}
-}
Copied: intel-graphics-compiler/repos/community-x86_64/PKGBUILD (from rev 665572, intel-graphics-compiler/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-28 00:44:16 UTC (rev 665573)
@@ -0,0 +1,40 @@
+# Maintainer: Daniel Bermond <dbermond at archlinux.org>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=intel-graphics-compiler
+epoch=1
+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 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
+ git+https://github.com/KhronosGroup/SPIRV-LLVM-Translator.git)
+sha256sums=('6e47c34646f188b3b3eb7e77423b8a17108c0e69d2b5936076d08e6b3ac4c993'
+ 'SKIP'
+ '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='10.0.1' \
+ -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}
+}
More information about the arch-commits
mailing list