diff options
Diffstat (limited to 'dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_25.13.33276.16.bb')
| -rw-r--r-- | dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_25.13.33276.16.bb | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_25.13.33276.16.bb b/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_25.13.33276.16.bb new file mode 100644 index 00000000..b13daaa8 --- /dev/null +++ b/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_25.13.33276.16.bb | |||
| @@ -0,0 +1,61 @@ | |||
| 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 & Apache-2.0" | ||
| 8 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eca6ec6997e18db166db7109cdbe611c \ | ||
| 9 | file://third_party/opencl_headers/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | ||
| 10 | |||
| 11 | SRC_URI = "git://github.com/intel/compute-runtime.git;protocol=https;branch=releases/25.13 \ | ||
| 12 | file://0002-Build-not-able-to-locate-cpp_generation_tool.patch \ | ||
| 13 | file://0003-external-ocloc.patch \ | ||
| 14 | " | ||
| 15 | |||
| 16 | SRCREV = "a9961bdfaa07250fd52ff930bf8f31fb4e3b7799" | ||
| 17 | |||
| 18 | DEPENDS += " intel-graphics-compiler gmmlib libva qemu-native" | ||
| 19 | |||
| 20 | RDEPENDS:${PN} += " intel-graphics-compiler gmmlib" | ||
| 21 | |||
| 22 | inherit cmake pkgconfig qemu | ||
| 23 | |||
| 24 | COMPATIBLE_HOST = '(x86_64).*-linux' | ||
| 25 | COMPATIBLE_HOST:libc-musl = "null" | ||
| 26 | |||
| 27 | EXTRA_OECMAKE = " \ | ||
| 28 | -DIGC_DIR=${STAGING_INCDIR}/igc \ | ||
| 29 | -DBUILD_TYPE=Release \ | ||
| 30 | -DSKIP_UNIT_TESTS=1 \ | ||
| 31 | -DCCACHE_ALLOWED=FALSE \ | ||
| 32 | -DNEO_DISABLE_LD_LLD=ON \ | ||
| 33 | -DNEO_DISABLE_LD_GOLD=ON \ | ||
| 34 | " | ||
| 35 | |||
| 36 | EXTRA_OECMAKE:append:class-target = " \ | ||
| 37 | -Docloc_cmd_prefix=ocloc \ | ||
| 38 | -DCMAKE_CROSSCOMPILING_EMULATOR=${WORKDIR}/qemuwrapper \ | ||
| 39 | " | ||
| 40 | |||
| 41 | PACKAGECONFIG ??= "" | ||
| 42 | PACKAGECONFIG[levelzero] = "-DBUILD_WITH_L0=ON, -DBUILD_WITH_L0=OFF, level-zero" | ||
| 43 | |||
| 44 | do_configure:prepend:class-target () { | ||
| 45 | # Write out a qemu wrapper that will be used by cmake. | ||
| 46 | qemu_binary="${@qemu_wrapper_cmdline(d, d.getVar('STAGING_DIR_HOST'), [d.expand('${B}/bin'),d.expand('${STAGING_DIR_HOST}${libdir}'),d.expand('${STAGING_DIR_HOST}${base_libdir}')])}" | ||
| 47 | cat > ${WORKDIR}/qemuwrapper << EOF | ||
| 48 | #!/bin/sh | ||
| 49 | $qemu_binary "\$@" | ||
| 50 | EOF | ||
| 51 | chmod +x ${WORKDIR}/qemuwrapper | ||
| 52 | } | ||
| 53 | |||
| 54 | FILES:${PN} += " \ | ||
| 55 | ${libdir}/intel-opencl/libigdrcl.so \ | ||
| 56 | ${libdir}/libocloc.so \ | ||
| 57 | " | ||
| 58 | |||
| 59 | FILES:${PN}-dev = "${includedir}" | ||
| 60 | |||
| 61 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)" | ||
