summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/clang-layer
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* opencl-clang: upgrade 9.0.0 -> 10.0.0Anuj Mittal2020-04-044-47/+68
| | | | | | | Use a submitted patch instead to point to correct llvm-tblgen and include a fix to really link with all libs when LLVM libs are built statically. 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>
* intel-compute-runtime: fix missing header errorNaveen Saini2020-03-102-51/+1
| | | | | | | | In order to include visa/ headers from igc, set IGC_DIR path Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-compute-runtime: upgrade 19.44.14658 -> 20.04.15428Naveen Saini2020-02-113-12/+65
| | | | | | | | For more details: https://github.com/intel/compute-runtime/releases/tag/20.04.15428 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.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>
* 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>
* intel-compute-runtime: upgrade 19.35.13977 -> 19.44.14658Naveen Saini2019-12-271-1/+1
| | | | | | | | Release notes can be found here: 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>
* 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>
* opencl-clang: update to link against SPIR-V LLVM Translator v9.0.0-1Naveen Saini2019-12-271-1/+1
| | | | | | | | | | https://github.com/intel/opencl-clang/releases/tag/v9.0.0 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>
* 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>
* intel-compute-runtime: 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: 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>
* opencl-clang: 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>
* 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>
* compute-runtime: update UPSTREAM_CHECK_GITTAGREGEX2.8_M3Anuj Mittal2019-09-191-0/+1
| | | | | | | | We'd like to ignore the older tags using year and work week strings like 2018ww19-010806 and use only the ones that have numbers and are in x.y.z format. 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>
* intel-compute-runtime: upgrade 19.21.13045 -> 19.35.13977Naveen Saini2019-09-131-1/+1
| | | | | | | | Release notes can be found here: https://github.com/intel/compute-runtime/releases/tag/19.35.13977 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>
* opencl-clang: upgrade 8.0.1 -> 9.0.0Naveen Saini2019-09-132-5/+10
| | | | | | | | | | With this upgrade, by default -DPREFERRED_LLVM_VERSION="9.0.0" is set. Changes can be check here: https://github.com/intel/opencl-clang 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 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>
* 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>
* intel-compute-runtime: include igc and gmmlib in RDEPENDSAnuj Mittal2019-08-301-0/+2
| | | | | | | The library isn't explicitly linking against these libs and loads them at runtime. Add these to RDEPENDS to make sure these are present. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* compute-runtime: addAnuj Mittal2019-08-212-0/+86
| | | | | | | | | | | The Intel(R) Graphics Compute Runtime for OpenCL(TM) is an open source project to converge Intel's development efforts on OpenCL(TM) compute stacks supporting the GEN graphics hardware architecture. For more details, see: https://01.org/compute-runtime 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>
* 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: upgrade 8.0.0 -> 8.0.1Anuj Mittal2019-08-211-2/+4
| | | | | | | Switch to using latest on ocl-release-80 branch and to using using lld for native builds to remain in sync with clang layer. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* opencl-clang: move to a separate recipeAnuj Mittal2019-08-215-65/+74
| | | | | | | 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>
* 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>