summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNaveen Saini <naveen.kumar.saini@intel.com>2019-06-14 03:17:06 (GMT)
committerAnuj Mittal <anuj.mittal@intel.com>2019-06-14 03:56:03 (GMT)
commit7dfb81a9590f9d6b252d9eb264942b03117b3259 (patch)
tree62852f51b3676cc15848cd4cbc8290c34640f8eb
parenta7748e0cadf67918aee1f4910e2763de43284356 (diff)
downloadmeta-intel-7dfb81a9590f9d6b252d9eb264942b03117b3259.tar.gz
intel-graphics-compiler: update to v1.0.6
In Licensing, IGC/Compiler/LegalizationPass.cpp has format chagnes and modification in Legalization::visitFCmpInstUndorderedFlushNan() function. For release changes, please check: https://github.com/intel/intel-graphics-compiler/releases/tag/igc-1.0.6 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
-rw-r--r--recipes-opencl/igc/files/0001-skip-execution-of-ElfPackager.patch23
-rw-r--r--recipes-opencl/igc/intel-graphics-compiler_1.0.6.bb (renamed from recipes-opencl/igc/intel-graphics-compiler_19.12.1681.bb)8
2 files changed, 16 insertions, 15 deletions
diff --git a/recipes-opencl/igc/files/0001-skip-execution-of-ElfPackager.patch b/recipes-opencl/igc/files/0001-skip-execution-of-ElfPackager.patch
index 5892209..1e0c344 100644
--- a/recipes-opencl/igc/files/0001-skip-execution-of-ElfPackager.patch
+++ b/recipes-opencl/igc/files/0001-skip-execution-of-ElfPackager.patch
@@ -1,6 +1,6 @@
1From d79c2e5da9c7008b3a345f1060c2fa783dbf001d Mon Sep 17 00:00:00 2001 1From 78270818abd269bc8a1cf5deb69f15e3849333fe Mon Sep 17 00:00:00 2001
2From: Anuj Mittal <anuj.mittal@intel.com> 2From: Naveen Saini <naveen.kumar.saini@intel.com>
3Date: Mon, 1 Apr 2019 18:57:25 +0800 3Date: Wed, 12 Jun 2019 14:10:23 +0800
4Subject: [PATCH] skip execution of ElfPackager 4Subject: [PATCH] skip execution of ElfPackager
5 5
6ElfPackager adds the ability to convert llvm bitcode into elf files for 6ElfPackager adds the ability to convert llvm bitcode into elf files for
@@ -10,12 +10,13 @@ version for this.
10Upstream-Status: Inappropriate [configuration specific] 10Upstream-Status: Inappropriate [configuration specific]
11 11
12Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> 12Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
13Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
13--- 14---
14 IGC/ElfPackager/CMakeLists.txt | 8 ++++---- 15 IGC/ElfPackager/CMakeLists.txt | 8 ++++----
15 1 file changed, 4 insertions(+), 4 deletions(-) 16 1 file changed, 4 insertions(+), 4 deletions(-)
16 17
17diff --git a/IGC/ElfPackager/CMakeLists.txt b/IGC/ElfPackager/CMakeLists.txt 18diff --git a/IGC/ElfPackager/CMakeLists.txt b/IGC/ElfPackager/CMakeLists.txt
18index 2471622..e9398f2 100644 19index 6bf4aa01..d8cd4e8b 100644
19--- a/IGC/ElfPackager/CMakeLists.txt 20--- a/IGC/ElfPackager/CMakeLists.txt
20+++ b/IGC/ElfPackager/CMakeLists.txt 21+++ b/IGC/ElfPackager/CMakeLists.txt
21@@ -69,10 +69,10 @@ include_directories ( 22@@ -69,10 +69,10 @@ include_directories (
@@ -23,16 +24,16 @@ index 2471622..e9398f2 100644
23 ) 24 )
24 25
25-add_custom_command(TARGET ${IGC_BUILD__PROJ__ElfPackager} 26-add_custom_command(TARGET ${IGC_BUILD__PROJ__ElfPackager}
26- POST_BUILD 27- POST_BUILD
27- COMMAND $<TARGET_FILE:${IGC_BUILD__PROJ__ElfPackager}> -includeSizet -funcList ${CMAKE_CURRENT_SOURCE_DIR}/function_bin.txt ${IGC_BUILD__BIF_DIR}/OCLBiFImpl.bc ${IGC_BUILD__BIF_DIR}/igdclbif.bin 28- COMMAND $<TARGET_FILE:${IGC_BUILD__PROJ__ElfPackager}> -includeSizet -funcList ${CMAKE_CURRENT_SOURCE_DIR}/function_bin.txt ${IGC_BUILD__BIF_DIR}/OCLBiFImpl.bc ${IGC_BUILD__BIF_DIR}/igdclbif.bin
28- ) 29- )
29+#add_custom_command(TARGET ${IGC_BUILD__PROJ__ElfPackager} 30+#add_custom_command(TARGET ${IGC_BUILD__PROJ__ElfPackager}
30+# POST_BUILD 31+# POST_BUILD
31+# COMMAND $<TARGET_FILE:${IGC_BUILD__PROJ__ElfPackager}> -includeSizet -funcList ${CMAKE_CURRENT_SOURCE_DIR}/function_bin.txt ${IGC_BUILD__BIF_DIR}/OCLBiFImpl.bc ${IGC_BUILD__BIF_DIR}/igdclbif.bin 32+# COMMAND $<TARGET_FILE:${IGC_BUILD__PROJ__ElfPackager}> -includeSizet -funcList ${CMAKE_CURRENT_SOURCE_DIR}/function_bin.txt ${IGC_BUILD__BIF_DIR}/OCLBiFImpl.bc ${IGC_BUILD__BIF_DIR}/igdclbif.bin
32+# ) 33+# )
33 34
34 35
35 add_dependencies("${IGC_BUILD__PROJ__ElfPackager}" "${IGC_BUILD__PROJ__BiFModule_OCL}") 36 add_dependencies("${IGC_BUILD__PROJ__ElfPackager}" "${IGC_BUILD__PROJ__BiFModule_OCL}")
36-- 37--
372.19.1 382.17.0
38 39
diff --git a/recipes-opencl/igc/intel-graphics-compiler_19.12.1681.bb b/recipes-opencl/igc/intel-graphics-compiler_1.0.6.bb
index 1184077..83aba57 100644
--- a/recipes-opencl/igc/intel-graphics-compiler_19.12.1681.bb
+++ b/recipes-opencl/igc/intel-graphics-compiler_1.0.6.bb
@@ -4,15 +4,14 @@ llvm based compiler for OpenCL(TM) targeting Intel Gen graphics \
4hardware architecture." 4hardware architecture."
5 5
6LICENSE = "MIT & BSD-3-Clause" 6LICENSE = "MIT & BSD-3-Clause"
7LIC_FILES_CHKSUM = "file://third_party/opencl_headers/LICENSE;md5=dcefc90f4c3c689ec0c2489064e7273b \ 7LIC_FILES_CHKSUM = "file://IGC/BiFModule/Implementation/ExternalLibraries/libclc/LICENSE.TXT;md5=311cfc1a5b54bab8ed34a0b5fba4373e \
8 file://IGC/BiFModule/Implementation/ExternalLibraries/libclc/LICENSE.TXT;md5=311cfc1a5b54bab8ed34a0b5fba4373e \ 8 file://IGC/Compiler/LegalizationPass.cpp;md5=4e9a7f0d710a0546cbf5581e1565a986"
9 file://IGC/Compiler/LegalizationPass.cpp;md5=554b051aebc99c20a0d2b6d695dfe4af"
10 9
11SRC_URI = "git://github.com/intel/intel-graphics-compiler.git;protocol=https \ 10SRC_URI = "git://github.com/intel/intel-graphics-compiler.git;protocol=https \
12 file://0001-skip-execution-of-ElfPackager.patch \ 11 file://0001-skip-execution-of-ElfPackager.patch \
13 " 12 "
14 13
15SRCREV = "81d467882a26d57da18e7f6d8aa3a28cda842642" 14SRCREV = "ebfc688126900a821e407a96417800919b793447"
16 15
17S = "${WORKDIR}/git" 16S = "${WORKDIR}/git"
18 17
@@ -24,3 +23,4 @@ COMPATIBLE_HOST_libc-musl = "null"
24DEPENDS_class-target = " flex-native bison-native clang clang-cross-x86_64" 23DEPENDS_class-target = " flex-native bison-native clang clang-cross-x86_64"
25 24
26EXTRA_OECMAKE = "-DIGC_PREFERRED_LLVM_VERSION=8.0.0 -DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python2" 25EXTRA_OECMAKE = "-DIGC_PREFERRED_LLVM_VERSION=8.0.0 -DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python2"
26EXTRA_OECMAKE += "-DCOMMON_CLANG_LIBRARY_NAME=common_clang"