diff options
author | Anuj Mittal <anuj.mittal@intel.com> | 2020-10-13 23:41:39 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2020-10-15 13:18:40 +0800 |
commit | a3ba71f4b98ebcdbc0207990d10c828cd94201b6 (patch) | |
tree | acf893df2a0d20aee2b6b8dae822457eeaab5500 /dynamic-layers | |
parent | c265ab944f6590d151a1e1f8a8358771ef3ade4f (diff) | |
download | meta-intel-a3ba71f4b98ebcdbc0207990d10c828cd94201b6.tar.gz |
igc: upgrade 1.0.4756 -> 1.0.5176
Include compatibility for both LLVM 10 and LLVM 11. Vector Compiler
fails to compile for LLVM 11 so disable the build for now.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'dynamic-layers')
-rw-r--r-- | dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_1.0.5176.bb (renamed from dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_1.0.4756.bb) | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_1.0.4756.bb b/dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_1.0.5176.bb index e13f34b9..d55e2c61 100644 --- a/dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_1.0.4756.bb +++ b/dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_1.0.5176.bb | |||
@@ -14,7 +14,7 @@ SRC_URI = "git://github.com/intel/intel-graphics-compiler.git;protocol=https; \ | |||
14 | file://improve_src_package_reproducibility.patch \ | 14 | file://improve_src_package_reproducibility.patch \ |
15 | " | 15 | " |
16 | 16 | ||
17 | SRCREV = "3623209b10b357ddb3a3d6eac3551c53ebc897f7" | 17 | SRCREV = "3e7c8e95b48a4eb6637077c52ff253a37b5ea085" |
18 | 18 | ||
19 | # Used to replace with relative path in reproducibility patch | 19 | # Used to replace with relative path in reproducibility patch |
20 | export B | 20 | export B |
@@ -31,7 +31,12 @@ DEPENDS_append_class-target = " clang-cross-x86_64" | |||
31 | 31 | ||
32 | RDEPENDS_${PN} += "opencl-clang" | 32 | RDEPENDS_${PN} += "opencl-clang" |
33 | 33 | ||
34 | EXTRA_OECMAKE = "-DIGC_PREFERRED_LLVM_VERSION=10.0.0 -DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python3 -DINSTALL_SPIRVDLL=0" | 34 | LLVM_COMPAT_VERSION = "${@bb.utils.contains('LLVMVERSION', '10.0.1', '10.0.0', '11.0.0', d)}" |
35 | EXTRA_OECMAKE = "-DIGC_PREFERRED_LLVM_VERSION=${LLVM_COMPAT_VERSION} -DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python3 -DINSTALL_SPIRVDLL=0" | ||
36 | |||
37 | # VectorCompiler doesn't build with LLVM11 as of this release. | ||
38 | # Re-enable after those issues have been fixed. | ||
39 | EXTRA_OECMAKE_append = " ${@bb.utils.contains('LLVMVERSION', '11.0.0', "-DIGC_BUILD__VC_ENABLED=OFF", "", d)}" | ||
35 | 40 | ||
36 | BBCLASSEXTEND = "native nativesdk" | 41 | BBCLASSEXTEND = "native nativesdk" |
37 | 42 | ||