summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/clang-layer/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
* llvm-project-source: refresh patchesAnuj Mittal2022-04-206-40/+5033
| | | | | | | Refresh the patches as recommended by the opencl-clang and include support for OpenCL 3.0. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* Remove support for building with LLVM 10Anuj Mittal2022-04-0524-14668/+0
| | | | | | | We no longer support building with older branches of OE-Core/meta-clang so remove LLVM 10 specific configurations and patches. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* llvm-project-source/10.0.1: backport fixes from LLVM 11Anuj Mittal2021-10-214-0/+3033
| | | | | | | | | | | Include a fix and two supporting patches from LLVM 11 to fix problems with double registration while both clang-cpp and llvm lib are linked (like in case of opencl-clang). | CommandLine Error: Option 'mc-relax-all' registered more than once! | LLVM ERROR: inconsistency in registered CommandLine options Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* Remove support for gatesgarthAnuj Mittal2021-10-1311-9638/+1
| | | | | | | Building with oe-core gatesgarth is no longer supported. Remove from LAYERSERIES_COMPAT and remove the LLVM 11 patches as well. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* llvm/10.0.0: apply ispc recommended patchesNaveen Saini2021-08-279-0/+657
| | | | | | | | | | ISPC recommends building LLVM 10 with some additional patches to work around some bugs in this version. Add those patches to our build as well. https://github.com/ispc/ispc/tree/v1.16.1/llvm_patches Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* llvm/11.0.0: apply ispc recommended patchesNaveen Saini2021-08-273-0/+144
| | | | | | | | | | ISPC recommends building LLVM 11 with some additional patches to work around some bugs in this version. Add those patches to our build as well. https://github.com/ispc/ispc/tree/v1.16.1/llvm_patches Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* llvm/12.0.0: apply ispc recommended patchesNaveen Saini2021-08-273-0/+104
| | | | | | | | | | ISPC recommends building LLVM 12 with some additional patches to work around some bugs in this version. Add those patches to our build as well. https://github.com/ispc/ispc/tree/v1.16.1/llvm_patches Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* llvm/12.0.0: apply opencl-clang recommend patchesNaveen Saini2021-08-244-4/+402
| | | | | | | https://github.com/intel/opencl-clang/tree/ocl-open-120/patches Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* llvm/11.0.0: apply opencl-clang recommend patchesNaveen Saini2021-08-249-23/+913
| | | | | | | https://github.com/intel/opencl-clang/tree/ocl-open-110/patches Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* llvm/10.0.0: apply opencl-clang recommend patchesNaveen Saini2021-08-2412-144/+1524
| | | | | | | https://github.com/intel/opencl-clang/tree/ocl-open-100/patches Signed-off-by: Naveen Saini <naveen.kumar.saini@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>
* llvm-project-source: fix do_patch for llvm-12Naveen Saini2021-06-182-8/+65
| | | | | | | | | Backported (opencl-clang) recommend patch for llvm-12[1]. [1]: https://github.com/intel/opencl-clang/commit/669f9ae8a205b1ab43edfbff49915df7efc463c1 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* llvm-project-source: backport OpenCL recommended patchesNaveen Saini2021-04-088-2/+17788
| | | | | | | | | | | | | | | | | Updating SPIRV-LLVM-Translator srcrev to latest commits for * llvm_releae_100 * llvm_release_110 Backport opencl-clang recommended llvm/clang patches. llvm-10: https://github.com/intel/opencl-clang/tree/ocl-open-100/patches llvm-11: https://github.com/intel/opencl-clang/tree/ocl-open-110/patches Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* llvm-project-source: exclude for llvm-12Naveen Saini2021-04-011-5/+5
| | | | | | | | | | | | | meta-clang now builds llvm-spiv-translator as an external project for llvm12 so stop building it. It still need to be built for llvm-10 and llvm-11 though. Ref: https://github.com/kraj/meta-clang/commit/aa1ab889bcbb580f33151933d7ed44fd4a93f1bf Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* llvm-project-source: update to include latest commitsNaveen Saini2021-02-021-1/+1
| | | | | 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>
* 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>
* 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>
* 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>
* 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>
* llvm-spirv: upgrade 9.0.0 -> 10.0.0Anuj Mittal2020-04-045-272/+44
| | | | | | | Remove patches that are present in this version of llvm and backport a fix to prevent linking errors. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* llvm-project-source: drop patchNaveen Saini2020-02-112-69/+0
| | | | | | | | Patch is already carried by meta-clang layer. https://github.com/kraj/meta-clang/commit/ab686950af8d7f02e0ca614d277c7c0ca36954ed Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* llvm-project-source: update SPIRV-LLVM-Translator 9.0.0 -> v9.0.0-1Naveen Saini2019-12-271-1/+1
| | | | | | | | | | | Release notes can be found here: https://github.com/KhronosGroup/SPIRV-LLVM-Translator/releases/tag/v9.0.0-1 Recommended for latest intel-compute-runtime v19.44.14658 https://github.com/intel/compute-runtime/releases/tag/19.44.14658 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* clang: drop bbappendNaveen Saini2019-11-201-4/+0
| | | | | | | | | | | | LIBCPLUSPLUS is now set to use GNU libstdc++ by default. A new variable RUNTIME can be used to change this behaviour. https://github.com/kraj/meta-clang/commit/6895c79e0576dff1824f261c258be2e438ea0508 Remove this bbappend as it is not required any more. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* clang: apply LIBCPLUSPLUS setting only for meta-intel machinesAnuj Mittal2019-10-221-1/+1
| | | | | | | This shouldn't be forced upon users including the layer without using the machine value from meta-intel. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* clang: clean upNaveen Saini2019-10-091-2/+0
| | | | | | | | No need to set LLVM_TARGETS_TO_BUILD here as it is set by meta-clang layer. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* clang: remove do_install appendAnuj Mittal2019-09-191-4/+0
| | | | | | | There is no need to invoke the cmake target explicitly now to have cmake files installed. Remove the append to do_install doing that. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* clang: remove COMPATIBLE_HOSTAnuj Mittal2019-09-191-2/+0
| | | | | | clang builds fine for 32-bit targets too now. Remove COMPATIBLE_HOST. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* llvm-project-source: update SPIRV-LLVM-Translator 8.0.0 -> 9.0.0Naveen Saini2019-09-1310-1552/+285
| | | | | | | | | | | Remove all the backported patches which are available in 9.0.0 release. Few patches were recommended from llvm-patches repo: https://github.com/intel/intel-graphics-compiler/blob/master/documentation/build_ubuntu.md https://github.com/intel/llvm-patches/commit/3906cc086f675847ca99b08107d18e083803d53c Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* llvm-spirv: update to sync with opencl-clangAnuj Mittal2019-08-214-425/+371
| | | | | | | Also include a patch to not build tests to prevent passing the build flag to every component that is built out of tree. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* opencl-clang: move to a separate recipeAnuj Mittal2019-08-213-65/+1
| | | | | | | Since this is managed as a separate repository, build it as a separate component instead of bundling with LLVM/clang. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* clang: build Intel common-clang and spirvAnuj Mittal2019-05-178-0/+1784
Common clang is a thin wrapper library around clang. Common clang has OpenCL-oriented API and is capable to compile OpenCL C kernels to SPIR-V modules. This adds a bbappend to clang recipe from meta-clang to build the necessary components and moves it to dynamic layers so it's built only when clang-layer is included. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>