summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/clang-layer/recipes-opencl/igc
Commit message (Collapse)AuthorAgeFilesLines
* intel-graphics-compiler: upgrade 1.0.10395 -> 1.0.11279Anuj Mittal2022-06-139-161/+493
| | | | | | | | | | | | * Remove upstreamed patches and refresh others. * Include the LICENSE.md file and remove the cpp file which just points to MIT license. * Update the license to MIT and Apache-2.0 * Install vcb tool from -native recipe. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> (cherry picked from commit 7cd06a4a7151341fca82a08b5f820fae6504d409) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-graphics-compiler: define SRCREV_FORMATAnuj Mittal2022-05-191-0/+2
| | | | | | | | | Since this fetches multiple repositories, define SRCREV_FORMAT so SRCPV is expanded properly. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> (cherry picked from commit a678464d4dfef6ccc23aeb0ef7f84aa69cb2e107) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-graphics-compiler: fix compile issuesAnuj Mittal2022-03-223-0/+50
| | | | | | | | | | | | Backport patches to fix compile problems like: | /build/build/tmp/work/corei7-64-poky-linux/intel-graphics-compiler/1.0.10395-r0/git/visa/LocalScheduler/SWSB_G4IR.cpp:1459:49: error: expected primary-expression before 'int' | 1459 | int maxTokenDelay = std::numeric_limits<int>::min(); //The delay may cause if reuse | | ^~~ | /build/build/tmp/work/corei7-64-poky-linux/intel-graphics-compiler/1.0.10395-r0/git/visa/LocalScheduler/SWSB_G4IR.cpp:1460:37: error: 'numeric_limits' is not a member of 'std' | 1460 | int minTokenDistance = std::numeric_limits<int>::max(); //The distance from the reused node Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-graphics-compiler: version update from 1.0.8744 to 1.0.10395Dongwon Kim2022-03-043-10/+43
| | | | | Signed-off-by: Dongwon Kim <dongwon.kim@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* meta: add explicit branch and protocol to SRC_URIAnuj Mittal2021-11-031-2/+2
| | | | | | | | | Add branch name explicitly to SRC_URI where it's not defined and switch to using https protocol for Github projects. The change was made using convert_srcuri script for OE-Core. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-graphics-compiler: add PACKAGECONFIG for VectorCompilerNaveen Saini2021-10-251-6/+7
| | | | | | | Allow users to disable it but enable by default. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-graphics-compiler: enable VectorCompilerAnuj Mittal2021-10-132-1/+41
| | | | | | | | Use the option to use Khronos translator instead of the pre-built SPIRVDLL with VC. Also have the native recipe install a binary needed for the target builds. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-graphics-compiler: upgrade 1.0.8365 -> 1.0.8744Anuj Mittal2021-10-076-2933/+56
| | | | | | | | Build vc-intrintics as part of this project as igc expects it to. Remove the LLVM fixes as they are all available upstream now. Also depend on -native for invoking elf_packager. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* Revert "intel-graphics-compiler: upgrade 1.0.8365 -> 1.0.8708"Anuj Mittal2021-10-043-2/+2835
| | | | | | This reverts commit 8a1fb876b05a6c66e26dd2e42dee6f19bcfbd421. The upgrade doesn't build properly and needs re-work.
* intel-graphics-compiler: upgrade 1.0.8365 -> 1.0.8708Anuj Mittal2021-09-303-2835/+2
| | | | | | | | | Remove patches that are not required now. IGC_BUILD__USE_KHRONOS_SPIRV_TRANSLATOR has been renamed so it wasn't taking effect. Remove the option for now. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-graphics-compiler: LLVM 13 fixesZoltán Böszörményi2021-08-272-0/+440
| | | | | | | | Also add CXXFLAGS=-Wno-error=deprecated-declarations, to turn some deprecated LLVM API usage from warnings to errors. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-graphics-compiler: update IGC to 1.0.8365Dongwon Kim2021-08-249-1091/+617
| | | | | | | | Updating IGC to add ADL-P support. All patches under files folder are rebased as well. Signed-off-by: Dongwon Kim <dongwon.kim@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* Convert to new override syntaxAnuj Mittal2021-07-311-4/+4
| | | | | | | Use the convert-overrides.py to convert to new syntax and manually fix some additional changes. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-graphics-compiler: upgrade 1.0.6083 -> 1.0.6410Naveen Saini2021-04-014-4/+2880
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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:https://github.com/llvm/llvm-project/commit/867de151a52b6d0750485ac1cf9b3bc012ee51fd (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: https://github.com/llvm/llvm-project/commit/fe431683484a3041e024ab2373bb707b1ca8d1cf 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>
* intel-graphics-compiler: upgrade 1.0.5435 -> 1.0.6083Naveen Saini2021-02-022-18/+23
| | | | | | | | 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>
* intel-graphics-compiler: set preferred LLVM version to 11.1.0Naveen Saini2021-02-011-1/+1
| | | | | | | | Ref: https://github.com/kraj/meta-clang/commit/67a7cad4bb48ef569b4eeb4b3c923133d2d422a6 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-graphics-compiler: upgrade 1.0.5176 -> 1.0.5435Anuj Mittal2020-11-212-15/+16
| | | | | | | Release notes: https://github.com/intel/intel-graphics-compiler/releases/tag/igc-1.0.5435 Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* Revert "intel-graphics-compiler: switch to nobranch"Anuj Mittal2020-11-121-1/+1
| | | | | | | | | This reverts commit 3cf8482e432e5daf0b75394152e2c229b3a08d36. The issues have since been fixed upstream and the tree has been restored. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-graphics-compiler: switch to nobranchNaveen Saini2020-11-051-1/+1
| | | | | Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-graphics-compiler: disable vector compiler optionNaveen Saini2020-11-051-1/+1
| | | | | | | | | | | | IGC has a copy of legacy spirv translator and additional patcheset to produce spirv shared object (libSPIRVDLL.so) to support Vector compiler. But we build spirv externally and link, which does not provide spirv shared object (libSPIRVDLL.so). Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* igc: upgrade 1.0.4756 -> 1.0.5176Anuj Mittal2020-10-151-2/+7
| | | | | | | 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>
* intel-graphics-compiler: improve src package reproducibilityLee Chee Yang2020-09-242-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Revert "intel-graphics-compiler: improve src package reproducibility"Anuj Mittal2020-09-182-35/+0
| | | | | | | | | This reverts commit c6ca760d24dc016434e79a6aceeb608fba890a3c. 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>
* intel-graphics-compiler: improve src package reproducibilityLee Chee Yang2020-09-102-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* intel-graphics-compiler: upgrade 1.0.4241 -> 1.0.4756Naveen Saini2020-09-032-3/+66
| | | | | | | | 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>
* intel-graphics-compiler: drop llvm9/clang9 supportNaveen Saini2020-07-221-3/+1
| | | | | Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-graphics-compiler: upgrade 1.0.4154 -> 1.0.4241Naveen Saini2020-07-222-42/+2
| | | | | | | | | | | 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>
* intel-graphics-compiler: upgrade 1.0.4053 -> 1.0.4154Naveen Saini2020-06-261-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | NOTICES.txt contains third party intellectual property (IP) notices for the "Software". ============================================================= LLVM Release License libdrm License libva License GLSL License Chromium License libclc License MesaLib License spdlog License tinyxml2 License yaml-cpp License Google WebM License Khronos Vulkan Library License Attribution 4.0 International Creative Commons Attribution 4.0 International Public License ============================================================= cmake install NOTICES.txt too under $libdir/igc/ Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-graphics-compiler: upgrade 1.0.3771 -> 1.0.4053Naveen Saini2020-05-282-1/+41
| | | | | | | | 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>
* intel-graphics-compiler: link to llvm conditionallyNaveen Saini2020-04-271-1/+3
| | | | | | | | | | In order to use this recipe with zeus, link to llvm based on LLVMVERSION. In zeus release, LLVMVERSION points to 9.x. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-graphics-compiler: upgrade 1.0.3698 -> 1.0.3771Anuj Mittal2020-04-201-1/+1
| | | | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-graphics-compiler: upgrade 1.0.3586 -> 1.0.3698Naveen Saini2020-04-141-1/+1
| | | | | | | | Release notes: https://github.com/intel/intel-graphics-compiler/releases/tag/igc-1.0.3698 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-graphics-compiler: upgrade 1.0.3151 -> 1.0.3586Anuj Mittal2020-04-041-2/+2
| | | | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-graphics-compiler: upgrade 1.0.2714.1 -> 1.0.3151Naveen Saini2020-02-113-105/+21
| | | | | | | 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>
* intel-graphics-compiler: upgrade 1.0.11 -> 1.0.2714.1Naveen Saini2019-12-272-408/+2
| | | | | | | | | | 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>
* intel-graphics-compiler: use default TOOLCHAINNaveen Saini2019-10-211-3/+0
| | | | | | | | LLD linker is no longer the default for clang-native, so we can build binaries linking to clang-native using GNU ld. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-graphics-compiler: upgrade 1.0.6 -> 1.0.11Naveen Saini2019-09-136-130/+425
| | | | | | | | | | | | 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>
* intel-graphics-compiler: add opencl-clang to RDEPENDSAnuj Mittal2019-08-301-0/+2
| | | | | | igc dlopens common clang library so make sure it's added to RDEPENDS. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* igc: build for native tooAnuj Mittal2019-08-213-3/+130
| | | | | | | | | | | | | * 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>
* intel-graphics-compiler: use custom UPSTREAM_CHECK_GITTAGREGEXAnuj Mittal2019-08-091-0/+2
| | | | | | | Use a custom regex to make sure we exclude tags starting with something other than igc and those that include versions starting with 19. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-graphics-compiler: build only when clang layer is includedAnuj Mittal2019-07-313-0/+142
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>