[arch-commits] Commit in intel-graphics-compiler/repos (2 files)

Bruno Pagani archange at archlinux.org
Wed Apr 15 14:27:20 UTC 2020


    Date: Wednesday, April 15, 2020 @ 14:27:20
  Author: archange
Revision: 614720

archrelease: copy trunk to community-staging-x86_64

Added:
  intel-graphics-compiler/repos/community-staging-x86_64/
  intel-graphics-compiler/repos/community-staging-x86_64/PKGBUILD
    (from rev 614719, intel-graphics-compiler/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: intel-graphics-compiler/repos/community-staging-x86_64/PKGBUILD (from rev 614719, intel-graphics-compiler/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-04-15 14:27:20 UTC (rev 614720)
@@ -0,0 +1,33 @@
+# Maintainer: Daniel Bermond <dbermond at archlinux.org>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=intel-graphics-compiler
+epoch=1
+pkgver=1.0.3698
+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=('ace4973832b349fc86ebceb7ebb0e3968e0c9ad6bffdf5d4f7df4e35a721b6eb')
+
+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}
+}



More information about the arch-commits mailing list