[arch-commits] Commit in intel-graphics-compiler/trunk (PKGBUILD)
Daniel Bermond
dbermond at archlinux.org
Fri Oct 4 17:39:53 UTC 2019
Date: Friday, October 4, 2019 @ 17:39:53
Author: dbermond
Revision: 512845
upgpkg: intel-graphics-compiler 1:1.0.2652-1
Updated to version 1.0.2652 (llvm9)
Modified:
intel-graphics-compiler/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-04 17:39:05 UTC (rev 512844)
+++ PKGBUILD 2019-10-04 17:39:53 UTC (rev 512845)
@@ -3,7 +3,7 @@
pkgname=intel-graphics-compiler
epoch=1
-pkgver=1.0.11
+pkgver=1.0.2652
pkgrel=1
pkgdesc="Intel Graphics Compiler for OpenCL"
arch=(x86_64)
@@ -10,15 +10,21 @@
url="https://github.com/intel/intel-graphics-compiler"
license=(MIT)
depends=(llvm-libs intel-opencl-clang)
-makedepends=(cmake clang llvm zlib python2)
+makedepends=(cmake clang llvm zlib python)
options=('!emptydirs')
-source=("${url}/archive/igc-${pkgver}.tar.gz")
+source=("${url}/archive/igc-${pkgver}.tar.gz"
+ "igc-${pkgver}-build-fix.patch"::'https://github.com/intel/intel-graphics-compiler/commit/028414b376d12d7d6fbb4939bca2a31a02b6a18f.patch')
noextract=("igc-${pkgver}.tar.gz")
-sha256sums=('f509224a0b1dd8a95edc0bd9c9c10c3117d5fba7c056250aae4816f564a45bac')
+sha256sums=('32aa20abe6dbc66dbeffc86aab0db96420b12eb93aec28ad2c98da9f93c1189f'
+ 'f3ded012337547f730a162596c701f902ec156c69f1949f7ae0f9cd0d6b2e5a7')
prepare() {
mkdir -p build ${pkgname}-${pkgver}
bsdtar xf igc-${pkgver}.tar.gz -C ${pkgname}-${pkgver} --strip-components='1'
+
+ # fix build error
+ # https://github.com/intel/intel-graphics-compiler/issues/112
+ patch -d "${pkgname}-${pkgver}" -Np1 -i "${srcdir}/igc-${pkgver}-build-fix.patch"
}
build() {
@@ -28,7 +34,7 @@
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DIGC_OPTION__ARCHITECTURE_TARGET='Linux64' \
- -DIGC_PREFERRED_LLVM_VERSION='8.0.0' \
+ -DIGC_PREFERRED_LLVM_VERSION='9.0.0' \
-Wno-dev
make
More information about the arch-commits
mailing list