diff options
Diffstat (limited to 'dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_21.33.20678.bb')
-rw-r--r-- | dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_21.33.20678.bb | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_21.33.20678.bb b/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_21.33.20678.bb new file mode 100644 index 00000000..c97e09f8 --- /dev/null +++ b/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_21.33.20678.bb | |||
@@ -0,0 +1,58 @@ | |||
1 | SUMMARY = "The Intel(R) Graphics Compute Runtime for OpenCL(TM)" | ||
2 | DESCRIPTION = "The Intel(R) Graphics Compute Runtime for OpenCL(TM) \ | ||
3 | is an open source project to converge Intel's development efforts \ | ||
4 | on OpenCL(TM) compute stacks supporting the GEN graphics hardware \ | ||
5 | architecture." | ||
6 | |||
7 | LICENSE = "MIT" | ||
8 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=983b0c493ea3dc3c21a90ff743bf90e4 \ | ||
9 | file://third_party/opencl_headers/LICENSE;md5=dcefc90f4c3c689ec0c2489064e7273b" | ||
10 | |||
11 | SRC_URI = "git://github.com/intel/compute-runtime.git;protocol=https \ | ||
12 | file://0001-Revert-Change-builtin-kernels-compilation-process.patch \ | ||
13 | " | ||
14 | |||
15 | SRC_URI:append:class-target = "file://allow-to-find-cpp-generation-tool.patch" | ||
16 | |||
17 | SRCREV = "0a106c150e3cde872b4728d766134d99c02e8b1c" | ||
18 | |||
19 | S = "${WORKDIR}/git" | ||
20 | |||
21 | DEPENDS += " intel-graphics-compiler gmmlib" | ||
22 | DEPENDS:append:class-target = " intel-compute-runtime-native libva" | ||
23 | |||
24 | RDEPENDS:${PN} += " intel-graphics-compiler gmmlib" | ||
25 | |||
26 | inherit cmake pkgconfig | ||
27 | |||
28 | COMPATIBLE_HOST = '(x86_64).*-linux' | ||
29 | COMPATIBLE_HOST:libc-musl = "null" | ||
30 | |||
31 | EXTRA_OECMAKE = " \ | ||
32 | -DIGC_DIR=${STAGING_INCDIR}/igc \ | ||
33 | -DBUILD_TYPE=Release \ | ||
34 | -DSKIP_UNIT_TESTS=1 \ | ||
35 | -DCCACHE_ALLOWED=FALSE \ | ||
36 | " | ||
37 | EXTRA_OECMAKE:append:class-target = " \ | ||
38 | -Dcloc_cmd_prefix=ocloc \ | ||
39 | " | ||
40 | |||
41 | PACKAGECONFIG ??= "" | ||
42 | PACKAGECONFIG[levelzero] = "-DBUILD_WITH_L0=ON, -DBUILD_WITH_L0=OFF, level-zero" | ||
43 | |||
44 | do_install:append:class-native() { | ||
45 | install -d ${D}${bindir} | ||
46 | install ${B}/bin/cpp_generate_tool ${D}${bindir}/ | ||
47 | } | ||
48 | |||
49 | FILES:${PN} += " \ | ||
50 | ${libdir}/intel-opencl/libigdrcl.so \ | ||
51 | ${libdir}/libocloc.so \ | ||
52 | " | ||
53 | |||
54 | FILES:${PN}-dev = "${includedir}" | ||
55 | |||
56 | BBCLASSEXTEND = "native nativesdk" | ||
57 | |||
58 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)" | ||