Commit Graph

10 Commits

Author SHA1 Message Date
Anuj Mittal
36171452c7 opencl-clang: drop upstreamed patch
Drop the patch that has now been backported to LLVM 14 and 15 branches.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-10-09 15:05:05 +08:00
Anuj Mittal
efd8310cbe opencl-clang/14.0: update to latest
Drop the patch that is not needed anymore.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-08-03 10:30:34 +08:00
Anuj Mittal
d9d4392e66 opencl-clang/15.0: update to latest
Include the latest changes from ocl-open-150 branch. Backport fixes from
main and include another patch to fix issues with building target
binaries.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-08-03 10:30:27 +08:00
Anuj Mittal
c993e8e815 Remove support for building with LLVM 10
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>
2022-04-05 15:59:12 +08:00
Naveen Saini
452634a53a opencl-clang: drop llvm9/clang9 support
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-07-22 12:32:46 +08:00
Naveen Saini
517c9b2c50 opencl-clang: add recipe for 9.0.0 as well
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>
2020-04-27 16:23:50 +08:00
Naveen Saini
52dc027375 opencl-clang: fix runtime error
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>
2020-04-17 08:06:37 +08:00
Anuj Mittal
cd258cb76f opencl-clang: upgrade 9.0.0 -> 10.0.0
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>
2020-04-04 18:18:52 +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
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