summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnuj Mittal <anuj.mittal@intel.com>2020-10-13 23:41:39 +0800
committerAnuj Mittal <anuj.mittal@intel.com>2020-10-15 13:18:40 +0800
commita3ba71f4b98ebcdbc0207990d10c828cd94201b6 (patch)
treeacf893df2a0d20aee2b6b8dae822457eeaab5500
parentc265ab944f6590d151a1e1f8a8358771ef3ade4f (diff)
downloadmeta-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>
-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
17SRCREV = "3623209b10b357ddb3a3d6eac3551c53ebc897f7" 17SRCREV = "3e7c8e95b48a4eb6637077c52ff253a37b5ea085"
18 18
19# Used to replace with relative path in reproducibility patch 19# Used to replace with relative path in reproducibility patch
20export B 20export B
@@ -31,7 +31,12 @@ DEPENDS_append_class-target = " clang-cross-x86_64"
31 31
32RDEPENDS_${PN} += "opencl-clang" 32RDEPENDS_${PN} += "opencl-clang"
33 33
34EXTRA_OECMAKE = "-DIGC_PREFERRED_LLVM_VERSION=10.0.0 -DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python3 -DINSTALL_SPIRVDLL=0" 34LLVM_COMPAT_VERSION = "${@bb.utils.contains('LLVMVERSION', '10.0.1', '10.0.0', '11.0.0', d)}"
35EXTRA_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.
39EXTRA_OECMAKE_append = " ${@bb.utils.contains('LLVMVERSION', '11.0.0', "-DIGC_BUILD__VC_ENABLED=OFF", "", d)}"
35 40
36BBCLASSEXTEND = "native nativesdk" 41BBCLASSEXTEND = "native nativesdk"
37 42