summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Bermond2019-03-29 00:11:17 +0000
committerDaniel Bermond2019-03-29 00:11:17 +0000
commit154efe5be7221260eaef837104118076badb4de8 (patch)
treeddc1c8bd87102a10827917f2d09aa1d82649e25b
parenta37092e6a9bf40a47234bc7c41a2c3559fcb8eb6 (diff)
downloadaur-154efe5be7221260eaef837104118076badb4de8.tar.gz
Rename opencl-clang dependency to intel-opencl-clang
Also removed 'Release' build type.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD18
2 files changed, 8 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dc724534a81..1780919b48c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = intel-graphics-compiler-git
pkgdesc = Intel Graphics Compiler for OpenCL (git version)
- pkgver = 19.12.1681.r0.g81d4678
+ pkgver = 19.12.1681.r20.g48660a1
pkgrel = 1
url = https://github.com/intel/intel-graphics-compiler/
arch = x86_64
@@ -11,7 +11,7 @@ pkgbase = intel-graphics-compiler-git
makedepends = llvm
makedepends = zlib
makedepends = python2
- makedepends = opencl-clang-git
+ makedepends = intel-opencl-clang
depends = llvm-libs
provides = intel-graphics-compiler
conflicts = intel-graphics-compiler
diff --git a/PKGBUILD b/PKGBUILD
index 3ec809f7091..89dff0eaf71 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,14 @@
# Maintainer: Daniel Bermond < gmail-com: danielbermond >
pkgname=intel-graphics-compiler-git
-pkgver=19.12.1681.r0.g81d4678
+pkgver=19.12.1681.r20.g48660a1
pkgrel=1
pkgdesc='Intel Graphics Compiler for OpenCL (git version)'
arch=('x86_64')
url='https://github.com/intel/intel-graphics-compiler/'
license=('MIT')
depends=('llvm-libs')
-makedepends=(
- # official repositories:
- 'git' 'cmake' 'clang' 'llvm' 'zlib' 'python2'
- # AUR:
- 'opencl-clang-git'
-)
+makedepends=('git' 'cmake' 'clang' 'llvm' 'zlib' 'python2' 'intel-opencl-clang')
provides=('intel-graphics-compiler')
conflicts=('intel-graphics-compiler')
options=('!emptydirs')
@@ -22,8 +17,6 @@ sha256sums=('SKIP')
prepare() {
mkdir -p build
-
- ln -sf intel-graphics-compiler igc
}
pkgver() {
@@ -37,12 +30,13 @@ build() {
cd build
cmake \
- -DCMAKE_BUILD_TYPE='Release' \
+ -DCMAKE_INSTALL_LIBDIR:PATH='lib' \
-DCMAKE_INSTALL_PREFIX:PATH='/usr' \
- -DIGC_OPTION__OUTPUT_DIR='../igc-install/Release' \
+ -DIGC_OPTION__OUTPUT_DIR='../igc-install/None' \
+ -DIGC_PREFERRED_LLVM_VERSION='7.0.1' \
-DVME_TYPES_DEFINED='FALSE' \
-Wno-dev \
- ../igc
+ ../intel-graphics-compiler
make