diff options
Diffstat (limited to 'dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_22.32.23937.bb')
-rw-r--r-- | dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_22.32.23937.bb | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_22.32.23937.bb b/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_22.32.23937.bb new file mode 100644 index 00000000..99391d00 --- /dev/null +++ b/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_22.32.23937.bb | |||
@@ -0,0 +1,62 @@ | |||
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=9280143b568466d8fbe385f838078b93 \ | ||
9 | file://third_party/opencl_headers/LICENSE;md5=dcefc90f4c3c689ec0c2489064e7273b" | ||
10 | |||
11 | SRC_URI = "git://github.com/intel/compute-runtime.git;protocol=https;branch=master \ | ||
12 | " | ||
13 | |||
14 | SRC_URI:append:class-target = "file://allow-to-find-cpp-generation-tool.patch \ | ||
15 | file://external-ocloc.patch \ | ||
16 | " | ||
17 | |||
18 | SRCREV = "b38c750cc40d7f5e8bbb2b9b74c6d67120abe0bf" | ||
19 | |||
20 | S = "${WORKDIR}/git" | ||
21 | |||
22 | DEPENDS += " intel-graphics-compiler gmmlib" | ||
23 | DEPENDS:append:class-target = " intel-compute-runtime-native libva" | ||
24 | |||
25 | RDEPENDS:${PN} += " intel-graphics-compiler gmmlib" | ||
26 | |||
27 | inherit cmake pkgconfig | ||
28 | |||
29 | COMPATIBLE_HOST = '(x86_64).*-linux' | ||
30 | COMPATIBLE_HOST:libc-musl = "null" | ||
31 | |||
32 | EXTRA_OECMAKE = " \ | ||
33 | -DIGC_DIR=${STAGING_INCDIR}/igc \ | ||
34 | -DBUILD_TYPE=Release \ | ||
35 | -DSKIP_UNIT_TESTS=1 \ | ||
36 | -DCCACHE_ALLOWED=FALSE \ | ||
37 | -DNEO_DISABLE_LD_LLD=ON \ | ||
38 | -DNEO_DISABLE_LD_GOLD=ON \ | ||
39 | " | ||
40 | |||
41 | EXTRA_OECMAKE:append:class-target = " \ | ||
42 | -Docloc_cmd_prefix=ocloc \ | ||
43 | " | ||
44 | |||
45 | PACKAGECONFIG ??= "" | ||
46 | PACKAGECONFIG[levelzero] = "-DBUILD_WITH_L0=ON, -DBUILD_WITH_L0=OFF, level-zero" | ||
47 | |||
48 | do_install:append:class-native() { | ||
49 | install -d ${D}${bindir} | ||
50 | install ${B}/bin/cpp_generate_tool ${D}${bindir}/ | ||
51 | } | ||
52 | |||
53 | FILES:${PN} += " \ | ||
54 | ${libdir}/intel-opencl/libigdrcl.so \ | ||
55 | ${libdir}/libocloc.so \ | ||
56 | " | ||
57 | |||
58 | FILES:${PN}-dev = "${includedir}" | ||
59 | |||
60 | BBCLASSEXTEND = "native nativesdk" | ||
61 | |||
62 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)" | ||