blob: 81bba9a0056ff097aed466e5e0e93409c8c0b690 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Maintainer: grmat <grmat@sub.red>
pkgname='compute-runtime'
pkgdesc="Intel(R) Graphics Compute Runtime for OpenCL(TM). Replaces Beignet for Gen8 (Broadwell) and beyond. Weekly build version."
pkgver='18.25.10965'
pkgrel=2
arch=('x86_64')
url='https://01.org/compute-runtime'
license=('MIT')
makedepends=('git' 'llvm' 'clang' 'python2' 'opencl-headers' 'cmake')
optdepends=('libva: for cl_intel_va_api_media_sharing'
'libdrm: for cl_intel_va_api_media_sharing')
depends=('ocl-icd')
conflicts=('compute-runtime-git')
source=("neo::git+https://github.com/intel/compute-runtime#tag=$pkgver"
"clang_source::git+https://github.com/llvm-mirror/clang#branch=release_40"
"common_clang::git+https://github.com/intel/opencl-clang#commit=9b2473d"
"llvm_patches::git+https://github.com/intel/llvm-patches#commit=8a7abaf"
"llvm_source::git+https://github.com/llvm-mirror/llvm#branch=release_40"
"gmmlib::git+https://github.com/intel/gmmlib#commit=5ff84b9"
"igc::git+https://github.com/intel/intel-graphics-compiler#commit=dca01ed")
sha256sums=('SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP')
prepare() {
cd "${srcdir}"
mkdir "${srcdir}/build"
}
build() {
cd "${srcdir}/build"
# doesn't build with gcc8 and gcc54 doesn't know -fno-plt
cmake -DBUILD_TYPE=Release \
-DCMAKE_BUILD_TYPE=Release \
../neo
make "$MAKEFLAGS"
}
package() {
cd "${srcdir}/build"
make DESTDIR="$pkgdir" install
}
|