diff options
| author | Anuj Mittal <anuj.mittal@intel.com> | 2020-09-03 23:45:19 +0800 |
|---|---|---|
| committer | Anuj Mittal <anuj.mittal@intel.com> | 2020-09-04 08:52:45 +0800 |
| commit | 58ce85f09cf28636a809891b254754c041c987b4 (patch) | |
| tree | 887ed8ef20281373a8915f7a377672d8850f4563 /dynamic-layers/clang-layer/recipes-opencl/compute-runtime | |
| parent | 8aac820ed41cca8762c1286f069c9c320c826113 (diff) | |
| download | meta-intel-58ce85f09cf28636a809891b254754c041c987b4.tar.gz | |
intel-compute-runtime: add PACKAGECONFIG for level zero
Add a PACKAGECONFIG that can be enabled when level zero driver
is required to be built.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'dynamic-layers/clang-layer/recipes-opencl/compute-runtime')
| -rw-r--r-- | dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_20.33.17675.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_20.33.17675.bb b/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_20.33.17675.bb index a9af0518..b3892a3b 100644 --- a/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_20.33.17675.bb +++ b/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_20.33.17675.bb | |||
| @@ -35,6 +35,10 @@ EXTRA_OECMAKE = " \ | |||
| 35 | EXTRA_OECMAKE_append_class-target = " \ | 35 | EXTRA_OECMAKE_append_class-target = " \ |
| 36 | -Dcloc_cmd_prefix=ocloc \ | 36 | -Dcloc_cmd_prefix=ocloc \ |
| 37 | " | 37 | " |
| 38 | |||
| 39 | PACKAGECONFIG ??= "" | ||
| 40 | PACKAGECONFIG[levelzero] = "-DBUILD_WITH_L0=ON, -DBUILD_WITH_L0=OFF, level-zero" | ||
| 41 | |||
| 38 | do_install_append_class-native() { | 42 | do_install_append_class-native() { |
| 39 | install -d ${D}${bindir} | 43 | install -d ${D}${bindir} |
| 40 | install ${B}/bin/cpp_generate_tool ${D}${bindir}/ | 44 | install ${B}/bin/cpp_generate_tool ${D}${bindir}/ |
