diff options
| author | Naveen Saini <naveen.kumar.saini@intel.com> | 2020-04-24 13:38:36 +0800 |
|---|---|---|
| committer | Anuj Mittal <anuj.mittal@intel.com> | 2020-04-27 16:23:50 +0800 |
| commit | b7c987b5fc872ea49828c6f7941e631d172286a3 (patch) | |
| tree | 97156f9f8ba77350c864065ce08f6c42e31ef83e /dynamic-layers/clang-layer/recipes-opencl/igc | |
| parent | 517c9b2c509672ef73494feba02af1703432bd8e (diff) | |
| download | meta-intel-b7c987b5fc872ea49828c6f7941e631d172286a3.tar.gz | |
intel-graphics-compiler: link to llvm conditionally
In order to use this recipe with zeus, link to llvm
based on LLVMVERSION.
In zeus release, LLVMVERSION points to 9.x.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'dynamic-layers/clang-layer/recipes-opencl/igc')
| -rw-r--r-- | dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_1.0.3771.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_1.0.3771.bb b/dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_1.0.3771.bb index 6cfa0b6d..93484c47 100644 --- a/dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_1.0.3771.bb +++ b/dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_1.0.3771.bb | |||
| @@ -25,7 +25,9 @@ DEPENDS_append_class-target = " clang-cross-x86_64" | |||
| 25 | 25 | ||
| 26 | RDEPENDS_${PN} += "opencl-clang" | 26 | RDEPENDS_${PN} += "opencl-clang" |
| 27 | 27 | ||
| 28 | EXTRA_OECMAKE = "-DIGC_PREFERRED_LLVM_VERSION=10.0.0 -DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python3" | 28 | LLVM_COMPAT_VER = "${@bb.utils.contains('LLVMVERSION', '9.0.1', '9.0.0', '10.0.0', d)}" |
| 29 | |||
| 30 | EXTRA_OECMAKE = "-DIGC_PREFERRED_LLVM_VERSION=${LLVM_COMPAT_VER} -DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python3" | ||
| 29 | 31 | ||
| 30 | BBCLASSEXTEND = "native nativesdk" | 32 | BBCLASSEXTEND = "native nativesdk" |
| 31 | 33 | ||
