[arch-commits] Commit in intel-graphics-compiler/repos/community-x86_64 (2 files)
Bruno Pagani
archange at gemini.archlinux.org
Wed Apr 6 18:50:37 UTC 2022
Date: Wednesday, April 6, 2022 @ 18:50:37
Author: archange
Revision: 1181624
archrelease: copy trunk to community-x86_64
Added:
intel-graphics-compiler/repos/community-x86_64/PKGBUILD
(from rev 1181623, intel-graphics-compiler/trunk/PKGBUILD)
Deleted:
intel-graphics-compiler/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 100 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-06 18:50:11 UTC (rev 1181623)
+++ PKGBUILD 2022-04-06 18:50:37 UTC (rev 1181624)
@@ -1,50 +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.10778
-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 spirv-tools zlib)
-makedepends=(git cmake clang lld llvm python libunwind spirv-headers vc-intrinsics)
-# https://github.com/intel/intel-graphics-compiler/issues/237
-options=(!emptydirs !lto)
-source=(${url}/archive/igc-${pkgver}.tar.gz
- ${pkgname}-allow-external-spirv-tools-last-fix.patch::${url}/commit/acfa99b5aefbebf037e4c939f5a8e592dfaed04e.patch)
-sha256sums=('22dc2d237ffbd794e4cf1b590b4e2e051346375890252f20f71021c45df92ec0'
- 'abdd6044d5e67371c9e2b298f2168bf8661287abe1f8ee557096aa3565ca00ee')
-
-prepare() {
- cd ${pkgname}-igc-${pkgver}
- patch -p1 < ../${pkgname}-allow-external-spirv-tools-last-fix.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_OPTION__CLANG_MODE=Prebuilds \
- -DIGC_OPTION__LLD_MODE=Prebuilds \
- -DIGC_OPTION__LLVM_PREFERRED_VERSION='13.0.1' \
- -DIGC_OPTION__LLVM_MODE=Prebuilds \
- -DIGC_OPTION__LINK_KHRONOS_SPIRV_TRANSLATOR=ON \
- -DIGC_OPTION__USE_PREINSTALLED_SPRIV_HEADERS=ON \
- -DIGC_OPTION__SPIRV_TOOLS_MODE=Prebuilds \
- -DIGC_OPTION__SPIRV_TRANSLATOR_MODE=Prebuilds \
- -DIGC_OPTION__VC_INTRINSICS_MODE=Prebuilds \
- -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 1181623, intel-graphics-compiler/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-06 18:50:37 UTC (rev 1181624)
@@ -0,0 +1,50 @@
+# Maintainer: Daniel Bermond <dbermond at archlinux.org>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=intel-graphics-compiler
+epoch=1
+pkgver=1.0.10840
+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 spirv-tools zlib)
+makedepends=(git cmake clang lld llvm python libunwind spirv-headers vc-intrinsics)
+# https://github.com/intel/intel-graphics-compiler/issues/237
+options=(!emptydirs !lto)
+source=(${url}/archive/igc-${pkgver}.tar.gz
+ ${pkgname}-allow-external-spirv-tools-last-fix.patch::${url}/commit/acfa99b5aefbebf037e4c939f5a8e592dfaed04e.patch)
+sha256sums=('a4bbe2465fd23902e929a681e87d3d794d03ada9577894c7f46028c1d7435058'
+ 'abdd6044d5e67371c9e2b298f2168bf8661287abe1f8ee557096aa3565ca00ee')
+
+prepare() {
+ cd ${pkgname}-igc-${pkgver}
+ patch -p1 < ../${pkgname}-allow-external-spirv-tools-last-fix.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_OPTION__CLANG_MODE=Prebuilds \
+ -DIGC_OPTION__LLD_MODE=Prebuilds \
+ -DIGC_OPTION__LLVM_PREFERRED_VERSION='13.0.1' \
+ -DIGC_OPTION__LLVM_MODE=Prebuilds \
+ -DIGC_OPTION__LINK_KHRONOS_SPIRV_TRANSLATOR=ON \
+ -DIGC_OPTION__USE_PREINSTALLED_SPRIV_HEADERS=ON \
+ -DIGC_OPTION__SPIRV_TOOLS_MODE=Prebuilds \
+ -DIGC_OPTION__SPIRV_TRANSLATOR_MODE=Prebuilds \
+ -DIGC_OPTION__VC_INTRINSICS_MODE=Prebuilds \
+ -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