summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/clang-layer
Commit message (Collapse)AuthorAgeFilesLines
* intel-graphics-compiler: set preferred LLVM version to 11.1.014.1-gatesgarth-3.2.114.1-dunfell-3.2.1Naveen Saini2021-02-021-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>
* opencl-clang: set preferred LLVM version to 11.1.0Naveen Saini2021-02-021-0/+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-compute-runtime: upgrade 20.40.18075 -> 20.40.18403Anuj Mittal2020-11-212-8/+8
| | | | | | | Release notes: https://github.com/intel/compute-runtime/releases/tag/20.45.18403 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>
* opencl-clang: update to release tag 11.0.0Naveen Saini2020-11-211-1/+1
| | | | | | | | For more info: https://github.com/intel/opencl-clang/releases/tag/v11.0.0 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-211-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>
* llvm-project-source: update to release tag llvm 11.0.0Naveen Saini2020-10-281-1/+1
| | | | | Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* vc-intrinsics: fix build with mulitlibNaveen Saini2020-10-282-0/+59
| | | | | | | Fixes errors seen when multilib is turned on Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-compute-runtime: add libva to DEPENDSAnuj Mittal2020-10-231-1/+1
| | | | | | | | | libva is needed to have cl_intel_va_api_media_sharing [1] extension enabled. [1] https://github.com/intel/compute-runtime/blob/master/opencl/doc/cl_intel_va_api_media_sharing.md Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* compute-runtime: upgrade 20.33.17675 -> 20.40.18075Anuj Mittal2020-10-152-12/+24
| | | | | | | Release notes: https://github.com/intel/compute-runtime/releases/tag/20.40.18075 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>
* vc-intrinsics: update to latestAnuj Mittal2020-10-151-1/+1
| | | | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* opencl-clang: add recipe for LLVM 11Anuj Mittal2020-10-151-0/+34
| | | | | | | Point to latest for llvm 11 branch as there's no official release yet. And, pick the version of opencl-clang based on LLVMVERSION. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* llvm: fix build with LLVM11Anuj Mittal2020-10-152-6/+73
| | | | | | | | | | | Ensure that we can build with both dunfell (LLVM10) and current master (LLVM11) of meta-clang. Look for LLVMVERSION set by meta-clang and include relevant patches based on the version. There's no official release for SPIRV-LLVM-Translator yet for LLVM11 so pick the latest. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* onednn: upgrade 1.5 -> 1.6.4Anuj Mittal2020-10-021-3/+3
| | | | | | | Release notes: https://github.com/oneapi-src/oneDNN/releases/tag/v1.6.4 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-compute-runtime: fix packagingAnuj Mittal2020-09-111-3/+2
| | | | | | | Make sure that level zero driver is also packaged properly and -dev only gets the headers. 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-compute-runtime: add PACKAGECONFIG for level zeroAnuj Mittal2020-09-041-0/+4
| | | | | | | Add a PACKAGECONFIG that can be enabled when level zero driver is required to be built. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-compute-runtime: upgrade 20.27.17231 -> 20.33.17675Naveen Saini2020-09-031-1/+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.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>
* vc-intrinsics: add recipeNaveen Saini2020-09-031-0/+25
| | | | | | | | | | | | VC Intrinsics project contains a set of new intrinsics on top of core LLVM IR instructions that represent SIMD semantics of a program targeting GPU. Ref: https://github.com/intel/vc-intrinsics 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>
* opencl-clang: drop llvm9/clang9 supportNaveen Saini2020-07-224-78/+27
| | | | | Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* llvm-project-source: drop llvm9 supportNaveen Saini2020-07-223-141/+6
| | | | | Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* llvm-project-source: apply llvm-patches for llvm10 as wellNaveen Saini2020-07-221-2/+6
| | | | | | | | | | | Patches from llvm-patches used by intel-compute-runtime as per release notes: https://github.com/intel/compute-runtime/releases/tag/20.27.17231 llvm-patches: https://github.com/intel/llvm-patches/commit/0e35a4a02de23c235f28505f52c1222731667d17 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-compute-runtime: 20.24.17065 -> 20.27.17231Naveen Saini2020-07-221-1/+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-compute-runtime: upgrade 20.20.16837 -> 20.24.17065Naveen Saini2020-06-261-1/+1
| | | | | | | | Release notes: https://github.com/intel/compute-runtime/releases/tag/20.24.17065 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>
* onednn: upgrade 1.4 -> 1.5Anuj Mittal2020-06-223-74/+5
| | | | | | Remove patches that have been merged upstream. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* onednn: link to recommended opencl headers and loaderNaveen Saini2020-06-111-1/+1
| | | | | | | ocl-icd provides required libOpenCL.so library. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-compute-runtime: upgrade 20.15.16524 -> 20.20.16837Naveen Saini2020-05-282-3/+45
| | | | | | | | Release notes: https://github.com/intel/compute-runtime/releases/tag/20.20.16837 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>
* opencl-clang: upgrade 10.0.0-1 -> 10.0.0-2Naveen Saini2020-05-281-1/+1
| | | | | | | | More info: https://github.com/intel/opencl-clang/releases/tag/v10.0.0-2 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* llvm-project-source: upgrade SPIRV-LLVM-Translator to latest commitNaveen Saini2020-05-281-1/+1
| | | | | 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>
* opencl-clang: add recipe for 9.0.0 as wellNaveen Saini2020-04-274-27/+78
| | | | | | | | | opencl-clang project release branches links to different LLVM versions. So, in order to use latest igc version with both clang 10.x and 9.x, added seprated recipes. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* llvm-project-source: allow to use with zeus releaseNaveen Saini2020-04-276-4/+394
| | | | | | | | | | In order to use latest opencl versions with zeus, carrying llvm9 specific patches, and conditinally applying 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>
* onednn: add CMAKE_SKIP_RPATHAnuj Mittal2020-04-241-0/+1
| | | | | | | | dunfell has a change in cmake class that forces cmake to use relative RPATHs but when this recipe is used with zeus, we'd need to explicitly make sure that binaries don't have absolute paths. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* mkl-dnn: upgrade 1.2.2 -> 1.4Anuj Mittal2020-04-214-0/+139
| | | | | | | | | | The name of project has changed to oneDNN. Enable GPU engine to be built by default which would need clang layer to be included. Also include two minor fixes to install logic that have been submitted for review upstream. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* compute-runtime: upgrade 20.14.16441 -> 20.15.16524Anuj Mittal2020-04-201-1/+1
| | | | 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>
* opencl-clang: fix runtime errorNaveen Saini2020-04-174-34/+80
| | | | | | | | | | | | | | | Error log: clang (LLVM option parsing): Unknown command line argument '-pgo-warn-misexpect'. Try: 'clang (LLVM option parsing) --help' Force opencl-clang to link with shared clang-cpp for target builds and explicitly link with spirv library because of a change in behaviour in llvm 10. Use the patch to link with all static libs only for native cases where meta-clang default to building static libs only by default. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-compute-runtime: upgrade 20.12.16259 -> 20.14.16441Naveen Saini2020-04-142-46/+1
| | | | | | | Dropped the backported patch. 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.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-compute-runtime: include in world buildsAnuj Mittal2020-04-041-1/+0
| | | | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-compute-runtime: upgrade 20.04.15428 -> 20.10.16259Anuj Mittal2020-04-043-51/+51
| | | | | | | Replace a local patch with a backport that allows defining value for cloc_cmd_prefix. 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>