Commit Graph

6 Commits

Author SHA1 Message Date
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