Commit Graph

17 Commits

Author SHA1 Message Date
Anuj Mittal
655dfaec95 compute-runtime: update UPSTREAM_CHECK_GITTAGREGEX
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>
2019-09-19 06:24:35 +08:00
Anuj Mittal
2b928a42ff clang: remove do_install append
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>
2019-09-19 06:24:35 +08:00
Anuj Mittal
b13d766b0c clang: remove COMPATIBLE_HOST
clang builds fine for 32-bit targets too now. Remove COMPATIBLE_HOST.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-09-19 06:24:35 +08:00
Naveen Saini
e9957d290e intel-compute-runtime: upgrade 19.21.13045 -> 19.35.13977
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>
2019-09-13 16:17:22 +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
Naveen Saini
9a9d8cb234 opencl-clang: upgrade 8.0.1 -> 9.0.0
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>
2019-09-13 16:17:22 +08:00
Naveen Saini
1b076fd8db llvm-project-source: update SPIRV-LLVM-Translator 8.0.0 -> 9.0.0
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
3906cc086f

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
f627454ab9 intel-graphics-compiler: add opencl-clang to RDEPENDS
igc dlopens common clang library so make sure it's added to RDEPENDS.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-30 10:55:55 +08:00
Anuj Mittal
441d749a8d intel-compute-runtime: include igc and gmmlib in RDEPENDS
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>
2019-08-30 10:52:01 +08:00
Anuj Mittal
999be2ad76 compute-runtime: add
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>
2019-08-21 12:27:06 +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
9804b5a0e9 llvm-spirv: update to sync with opencl-clang
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>
2019-08-21 12:27:06 +08:00
Anuj Mittal
e0486da748 opencl-clang: upgrade 8.0.0 -> 8.0.1
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>
2019-08-21 12:27:06 +08:00
Anuj Mittal
9c62233238 opencl-clang: move to a separate recipe
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>
2019-08-21 12:27:06 +08:00
Anuj Mittal
cea3cd4a26 intel-graphics-compiler: use custom UPSTREAM_CHECK_GITTAGREGEX
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>
2019-08-09 15:07:14 +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
Anuj Mittal
a12a2f0346 clang: build Intel common-clang and spirv
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>
2019-05-17 19:33:24 +08:00