Commit Graph

14 Commits

Author SHA1 Message Date
Naveen Saini
a766df8081 intel-graphics-compiler: upgrade 1.0.6083 -> 1.0.6410
Patches applied from Open PR#171, in order to build with llvm-12.
https://github.com/intel/intel-graphics-compiler/pull/171

Error logs:
(1)
|
/build/tmp/work/corei7-64-poky-linux/intel-graphics-compiler/1.0.6410-r0/git/IGC/Compiler/CISACodeGen/VariableReuseAnalysis.hpp:83:56:
error: 'unsigned int llvm::VectorType::getNumElements() const' is
deprecated: Calling this function via a base VectorType is deprecated.
Either call getElementCount() and handle the case where Scalable is true
or cast to FixedVectorType. [-Werror=deprecated-declarations]
|    83 |             NumElts = VTy ? (short)VTy->getNumElements() : 1;

Ref:867de151a5

(2)
|
/build/tmp/work/corei7-64-poky-linux/intel-graphics-compiler/1.0.6410-r0/git/IGC/common/igc_resourceDimTypes.h:69:23:
error: 'const class llvm::Module' has no member named 'getTypeByName'
|    69 |         return
module.getTypeByName(ResourceDimensionTypeName[resourceDimTypeId]);

Ref:
fe43168348

Update copyright year in headers in IGC Compiler and some format updates.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-04-01 13:30:35 +08:00
Naveen Saini
5d6513bae5 intel-graphics-compiler: upgrade 1.0.5435 -> 1.0.6083
Refreshed patch.
Drop VectorCompiler build config, which is not require anymore.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-02-02 23:10:43 +08:00
Anuj Mittal
05da12b766 intel-graphics-compiler: upgrade 1.0.5176 -> 1.0.5435
Release notes:
https://github.com/intel/intel-graphics-compiler/releases/tag/igc-1.0.5435

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-11-21 00:03:37 +08:00
Lee Chee Yang
a01cbe26e3 intel-graphics-compiler: improve src package reproducibility
Improve the reproducibility of intel-graphics-compiler-src by replacing
the absolute build path with relative one in bison compiled files.
The --file-prefix-map could only work on bison 3.7 onward so add it only
when bison is newer than 3.7.

│ │ │ -#ifndef
YY_CISA_YOCTO_POKY_MASTER_BUILD_TMP_WORK_SKYLAKE_64_POKY_LINUX_INTEL_GRAPHICS_COMPILER_1_0_4241_R0_BUILD_IGC_VISA_CISA_TAB_HPP_INCLUDED
│ │ │ -# define
YY_CISA_YOCTO_POKY_MASTER_BUILD_TMP_WORK_SKYLAKE_64_POKY_LINUX_INTEL_GRAPHICS_COMPILER_1_0_4241_R0_BUILD_IGC_VISA_CISA_TAB_HPP_INCLUDED
│ │ │ +#ifndef
YY_CISA_YOCTO_POKY_MASTER_BUILD_2_TMP_WORK_SKYLAKE_64_POKY_LINUX_INTEL_GRAPHICS_COMPILER_1_0_4241_R0_BUILD_IGC_VISA_CISA_TAB_HPP_INCLUDED
│ │ │ +# define
YY_CISA_YOCTO_POKY_MASTER_BUILD_2_TMP_WORK_SKYLAKE_64_POKY_LINUX_INTEL_GRAPHICS_COMPILER_1_0_4241_R0_BUILD_IGC_VISA_CISA_TAB_HPP_INCLUDED

Also suppress #line directives in scanner that have the build path:

│ │ │ -#line 2593
"/yocto/poky-master/build/tmp/work/skylake-64-poky-linux/intel-graphics-compiler/1.0.4241-r0/build/IGC/visa/lex.CISA.cpp"
│ │ │ +#line 2593
"/yocto/poky-master/build-2/tmp/work/skylake-64-poky-linux/intel-graphics-compiler/1.0.4241-r0/build/IGC/visa/lex.CISA.cpp"

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-09-24 08:50:39 +08:00
Anuj Mittal
254e3a79b3 Revert "intel-graphics-compiler: improve src package reproducibility"
This reverts commit c6ca760d24.

This breaks builds using meta-intel master with oe-core dunfell because
the bison option isn't available on older versions.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-09-18 07:54:23 +08:00
Lee Chee Yang
c6ca760d24 intel-graphics-compiler: improve src package reproducibility
Improve the reproducibility of intel-graphics-compiler-src by replacing
the absolute build path with relative one in bison compiled files.

│ │ │ -#ifndef
YY_CISA_YOCTO_POKY_MASTER_BUILD_TMP_WORK_SKYLAKE_64_POKY_LINUX_INTEL_GRAPHICS_COMPILER_1_0_4241_R0_BUILD_IGC_VISA_CISA_TAB_HPP_INCLUDED
│ │ │ -# define
YY_CISA_YOCTO_POKY_MASTER_BUILD_TMP_WORK_SKYLAKE_64_POKY_LINUX_INTEL_GRAPHICS_COMPILER_1_0_4241_R0_BUILD_IGC_VISA_CISA_TAB_HPP_INCLUDED
│ │ │ +#ifndef
YY_CISA_YOCTO_POKY_MASTER_BUILD_2_TMP_WORK_SKYLAKE_64_POKY_LINUX_INTEL_GRAPHICS_COMPILER_1_0_4241_R0_BUILD_IGC_VISA_CISA_TAB_HPP_INCLUDED
│ │ │ +# define
YY_CISA_YOCTO_POKY_MASTER_BUILD_2_TMP_WORK_SKYLAKE_64_POKY_LINUX_INTEL_GRAPHICS_COMPILER_1_0_4241_R0_BUILD_IGC_VISA_CISA_TAB_HPP_INCLUDED

Also suppress #line directives in scanner that have the build path:

│ │ │ -#line 2593
"/yocto/poky-master/build/tmp/work/skylake-64-poky-linux/intel-graphics-compiler/1.0.4241-r0/build/IGC/visa/lex.CISA.cpp"
│ │ │ +#line 2593
"/yocto/poky-master/build-2/tmp/work/skylake-64-poky-linux/intel-graphics-compiler/1.0.4241-r0/build/IGC/visa/lex.CISA.cpp"

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-09-10 15:18:20 +08:00
Naveen Saini
4ea4dbbb43 intel-graphics-compiler: upgrade 1.0.4241 -> 1.0.4756
Release notes:
https://github.com/intel/intel-graphics-compiler/releases/tag/igc-1.0.4756

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-09-03 11:08:23 +08:00
Naveen Saini
088dbccece 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 <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-07-22 12:32:46 +08:00
Naveen Saini
8e1c5395e8 intel-graphics-compiler: upgrade 1.0.3771 -> 1.0.4053
Release notes:
https://github.com/intel/intel-graphics-compiler/releases/tag/igc-1.0.4053

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-05-28 19:02:57 +08:00
Naveen Saini
f8771831bb intel-graphics-compiler: upgrade 1.0.2714.1 -> 1.0.3151
Dropped the patch which is already upstream.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-02-11 14:32:30 +08:00
Naveen Saini
6dd594fba5 intel-graphics-compiler: upgrade 1.0.11 -> 1.0.2714.1
Dropped patch which is already merged in this release.

More details can be found at:
https://github.com/intel/intel-graphics-compiler/releases/tag/igc-1.0.2714.1

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-12-27 10:01:59 +08:00
Naveen Saini
b9b473a259 intel-graphics-compiler: upgrade 1.0.6 -> 1.0.11
Removed patches which are not required anymore.
Updated python version to 3.

In this release, fixed issue/improvements can be
found here:
https://github.com/intel/intel-graphics-compiler/releases/tag/igc-1.0.11

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-09-13 16:17:22 +08:00
Anuj Mittal
fca3176ec1 igc: build for native too
* Use clang and lld for native builds to remain in sync with clang layer.

* fix the license field to point to correct block of license in source
file.

* Include patches to ignore warnings being marked as errors when building
with clang and to fix an issue with inclusion of debug functions when
NDEBUG is defined.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-21 12:27:06 +08:00
Anuj Mittal
03f2176249 intel-graphics-compiler: build only when clang layer is included
igc needs components from LLVM and clang to be built. Move it to
dynamic-layers/clang-layer so world builds don't fail when clang layer
is not available.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-07-31 21:03:31 +08:00