[arch-commits] Commit in intel-graphics-compiler/trunk (PKGBUILD)
Bruno Pagani
archange at gemini.archlinux.org
Wed Oct 27 21:51:25 UTC 2021
Date: Wednesday, October 27, 2021 @ 21:51:25
Author: archange
Revision: 1034806
Upstream fix added
Modified:
intel-graphics-compiler/trunk/PKGBUILD
----------+
PKGBUILD | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-10-27 20:44:49 UTC (rev 1034805)
+++ PKGBUILD 2021-10-27 21:51:25 UTC (rev 1034806)
@@ -4,7 +4,7 @@
pkgname=intel-graphics-compiler
epoch=1
pkgver=1.0.8744
-pkgrel=2
+pkgrel=3
pkgdesc="Intel Graphics Compiler for OpenCL"
arch=(x86_64)
url="https://github.com/intel/intel-graphics-compiler"
@@ -13,20 +13,22 @@
makedepends=(git cmake clang lld llvm python libunwind)
options=(!emptydirs)
source=(${url}/archive/igc-${pkgver}.tar.gz
+ ${pkgname}-fix-209.patch::https://github.com/intel/intel-graphics-compiler/commit/c74d33971d65d6bf410e77fca0c27aeedce7b81e.patch
${pkgname}-fix-lld-prebuilt.patch::https://github.com/intel/intel-graphics-compiler/pull/210.patch
git+https://github.com/intel/vc-intrinsics.git#commit=e5ad7e02aa4aa21a3cd7b3e5d1f3ec9b95f58872)
sha256sums=('1e8ef2dcebb670e7d66de053c2b0c92b8cf8733dae04503bf26dfd7cc798b5ef'
+ '5c4a77e85a85b4b23189a94466eedf5e8103f9583792720b61df1b7044b38796'
'b2da1a00ac59ce7e98fd6cfb554f8974b1500bc1b9973387181414ffa4cffea5'
'SKIP')
prepare() {
cd ${pkgname}-igc-${pkgver}
+ # https://github.com/intel/intel-graphics-compiler/issues/209
+ patch -p1 < ../${pkgname}-fix-209.patch
patch -p1 < ../${pkgname}-fix-lld-prebuilt.patch
}
build() {
- # https://github.com/intel/intel-graphics-compiler/issues/209
- CXXFLAGS+=' -Wno-error=nonnull'
cmake -B build -S ${pkgname}-igc-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
More information about the arch-commits
mailing list