[arch-commits] Commit in intel-graphics-compiler/repos/community-x86_64 (2 files)
Bruno Pagani
archange at gemini.archlinux.org
Sat Apr 2 15:47:23 UTC 2022
Date: Saturday, April 2, 2022 @ 15:47:23
Author: archange
Revision: 1180830
archrelease: copy trunk to community-x86_64
Added:
intel-graphics-compiler/repos/community-x86_64/PKGBUILD
(from rev 1180829, intel-graphics-compiler/trunk/PKGBUILD)
Deleted:
intel-graphics-compiler/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 102 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 50 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-02 15:46:55 UTC (rev 1180829)
+++ PKGBUILD 2022-04-02 15:47:23 UTC (rev 1180830)
@@ -1,52 +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.10713
-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)
-options=(!emptydirs !lto)
-source=(${url}/archive/igc-${pkgver}.tar.gz
- ${pkgname}-allow-external-spirv-tools-fix-static.patch::${url}/commit/7e6b78d1ccf5afb4080795aa87029e55b9e5499c.patch
- ${pkgname}-allow-external-spirv-tools-last-fix.patch::${url}/commit/acfa99b5aefbebf037e4c939f5a8e592dfaed04e.patch)
-sha256sums=('0bcd949ce388cfa74ca19e120321c272db0963dfa98fd9d69ae1e8d898f6b6f1'
- '9d9911710eadd9febe5ade63131e88202027ccc3054b93f3efc0bf74be9abb96'
- 'abdd6044d5e67371c9e2b298f2168bf8661287abe1f8ee557096aa3565ca00ee')
-
-prepare() {
- cd ${pkgname}-igc-${pkgver}
- patch -p1 < ../${pkgname}-allow-external-spirv-tools-fix-static.patch
- 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 1180829, intel-graphics-compiler/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-02 15:47:23 UTC (rev 1180830)
@@ -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.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}
+}
More information about the arch-commits
mailing list