From 088dbcceceb5c9113b38820cbdf00cc52d097816 Mon Sep 17 00:00:00 2001 From: Naveen Saini Date: Mon, 20 Jul 2020 10:17:35 +0800 Subject: intel-graphics-compiler: upgrade 1.0.4154 -> 1.0.4241 NOTICES.txt is updated and refactored. Added below: Khronos Group - SPIRV-LLVM License Khronos Group OpenCL Registry License Dropped patch, which is not required anymore. Signed-off-by: Naveen Saini Signed-off-by: Anuj Mittal --- .../0001-add-workaround-for-gcc-10-error.patch | 39 --------------------- .../igc/intel-graphics-compiler_1.0.4154.bb | 40 ---------------------- .../igc/intel-graphics-compiler_1.0.4241.bb | 39 +++++++++++++++++++++ 3 files changed, 39 insertions(+), 79 deletions(-) delete mode 100644 dynamic-layers/clang-layer/recipes-opencl/igc/files/0001-add-workaround-for-gcc-10-error.patch delete mode 100644 dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_1.0.4154.bb create mode 100644 dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_1.0.4241.bb (limited to 'dynamic-layers') diff --git a/dynamic-layers/clang-layer/recipes-opencl/igc/files/0001-add-workaround-for-gcc-10-error.patch b/dynamic-layers/clang-layer/recipes-opencl/igc/files/0001-add-workaround-for-gcc-10-error.patch deleted file mode 100644 index ae8ccbf2..00000000 --- a/dynamic-layers/clang-layer/recipes-opencl/igc/files/0001-add-workaround-for-gcc-10-error.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 8435bfb432282bdb900492f479233d2772f57f7c Mon Sep 17 00:00:00 2001 -From: 8tab -Date: Thu, 21 May 2020 14:21:58 +0200 -Subject: [PATCH] Add workaround for gcc 10 internal compiler error -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -There is a regression in recent gcc (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95241), -that make IGC fail to compile: -In file included from /home/tab/dev/external/oneapi/igc/visa/iga/IGALibrary/Models/Models.cpp:7: -/home/tab/dev/external/oneapi/igc/visa/iga/IGALibrary/Models/bxml/Model7P5.hpp:1258:34: in ‘constexpr’ expansion of ‘iga::Field(((const char*)"MathFC"), 24, 4)’ -/home/tab/dev/external/oneapi/igc/visa/iga/IGALibrary/Models/bxml/Model7P5.hpp:2085:5: internal compiler error: in tree_to_uhwi, at tree.h:4519 - 2085 | }; - | ^ - -Upstream-Status: Submitted [https://github.com/intel/intel-graphics-compiler/pull/135] -Signed-off-by: Naveen Saini ---- - visa/iga/IGALibrary/Backend/Native/Field.hpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/visa/iga/IGALibrary/Backend/Native/Field.hpp b/visa/iga/IGALibrary/Backend/Native/Field.hpp -index 4b97280b..04855576 100644 ---- a/visa/iga/IGALibrary/Backend/Native/Field.hpp -+++ b/visa/iga/IGALibrary/Backend/Native/Field.hpp -@@ -150,8 +150,8 @@ namespace iga - // a simple encoded field (single contiguous) - constexpr Field(const char *_name, int offset, int length) - : name(_name) -- , fragments{Fragment(_name, offset, length)} - { -+ fragments[0] = Fragment(_name, offset, length); - } - // a zero fill field or must-be-zero field - constexpr Field(const char *_name, int length, --- -2.17.1 - diff --git a/dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_1.0.4154.bb b/dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_1.0.4154.bb deleted file mode 100644 index 7083ab94..00000000 --- a/dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_1.0.4154.bb +++ /dev/null @@ -1,40 +0,0 @@ -SUMMARY = "The Intel(R) Graphics Compiler for OpenCL(TM)" -DESCRIPTION = "The Intel(R) Graphics Compiler for OpenCL(TM) is an \ -llvm based compiler for OpenCL(TM) targeting Intel Gen graphics \ -hardware architecture." - -LICENSE = "MIT & BSD-3-Clause" -LIC_FILES_CHKSUM = "file://IGC/BiFModule/Implementation/ExternalLibraries/libclc/LICENSE.TXT;md5=311cfc1a5b54bab8ed34a0b5fba4373e \ - file://IGC/Compiler/LegalizationPass.cpp;beginline=1;endline=25;md5=4abf1738ff96b18e34186eb763e28eeb \ - file://NOTICES.txt;md5=a43460284ff9e81adceffa047c306eef" - -SRC_URI = "git://github.com/intel/intel-graphics-compiler.git;protocol=https; \ - file://0001-skip-execution-of-ElfPackager.patch \ - file://0001-add-workaround-for-gcc-10-error.patch \ - " - -SRCREV = "173eb2a0f5d0a16f4abc07bbd093056bf0c04ae5" - -S = "${WORKDIR}/git" - -inherit cmake - -COMPATIBLE_HOST = '(x86_64).*-linux' -COMPATIBLE_HOST_libc-musl = "null" - -DEPENDS += " flex-native bison-native clang opencl-clang" -DEPENDS_append_class-target = " clang-cross-x86_64" - -RDEPENDS_${PN} += "opencl-clang" - -LLVM_COMPAT_VER = "${@bb.utils.contains('LLVMVERSION', '9.0.1', '9.0.0', '10.0.0', d)}" - -EXTRA_OECMAKE = "-DIGC_PREFERRED_LLVM_VERSION=${LLVM_COMPAT_VER} -DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python3" - -BBCLASSEXTEND = "native nativesdk" - -UPSTREAM_CHECK_GITTAGREGEX = "^igc-(?P(?!19\..*)\d+(\.\d+)+)$" - -FILES_${PN} += " \ - ${libdir}/igc/NOTICES.txt \ - " diff --git a/dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_1.0.4241.bb b/dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_1.0.4241.bb new file mode 100644 index 00000000..ecb0f536 --- /dev/null +++ b/dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_1.0.4241.bb @@ -0,0 +1,39 @@ +SUMMARY = "The Intel(R) Graphics Compiler for OpenCL(TM)" +DESCRIPTION = "The Intel(R) Graphics Compiler for OpenCL(TM) is an \ +llvm based compiler for OpenCL(TM) targeting Intel Gen graphics \ +hardware architecture." + +LICENSE = "MIT & BSD-3-Clause" +LIC_FILES_CHKSUM = "file://IGC/BiFModule/Implementation/ExternalLibraries/libclc/LICENSE.TXT;md5=311cfc1a5b54bab8ed34a0b5fba4373e \ + file://IGC/Compiler/LegalizationPass.cpp;beginline=1;endline=25;md5=4abf1738ff96b18e34186eb763e28eeb \ + file://NOTICES.txt;md5=b12e73994de4fbe0f688cf0bc91512a0" + +SRC_URI = "git://github.com/intel/intel-graphics-compiler.git;protocol=https; \ + file://0001-skip-execution-of-ElfPackager.patch \ + " + +SRCREV = "9a456d81355b266ac60b26c1865935b4a266d6e2" + +S = "${WORKDIR}/git" + +inherit cmake + +COMPATIBLE_HOST = '(x86_64).*-linux' +COMPATIBLE_HOST_libc-musl = "null" + +DEPENDS += " flex-native bison-native clang opencl-clang" +DEPENDS_append_class-target = " clang-cross-x86_64" + +RDEPENDS_${PN} += "opencl-clang" + +LLVM_COMPAT_VER = "${@bb.utils.contains('LLVMVERSION', '9.0.1', '9.0.0', '10.0.0', d)}" + +EXTRA_OECMAKE = "-DIGC_PREFERRED_LLVM_VERSION=${LLVM_COMPAT_VER} -DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python3" + +BBCLASSEXTEND = "native nativesdk" + +UPSTREAM_CHECK_GITTAGREGEX = "^igc-(?P(?!19\..*)\d+(\.\d+)+)$" + +FILES_${PN} += " \ + ${libdir}/igc/NOTICES.txt \ + " -- cgit v1.2.3-54-g00ecf