diff options
author | Naveen Saini <naveen.kumar.saini@intel.com> | 2022-11-22 16:42:16 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2022-11-23 10:50:02 +0800 |
commit | 18fcf4996df4ee1b00cc4013801fb4023ba177fc (patch) | |
tree | d343c13dbf50117a332f5016d1a829da32d00d10 /dynamic-layers/clang-layer/recipes-opencl/igc/files/fix-build-with-llvm12.patch | |
parent | 2c58fe0867f8ca895ec43a9b8855323b7331e8d9 (diff) | |
download | meta-intel-18fcf4996df4ee1b00cc4013801fb4023ba177fc.tar.gz |
sdk: Add support for adding icx to SDK
Also export ICXCC, ICXCXX, ICXCPP, ICXLD, ICXAR in SDK environment which can
then be used to compile applications.
For example, to build an sample SYCL application using SDK:
-> Source oneAPI compiler setup script (from your installed path):
$ source /your-sdk-path/oecore-x86_64/sysroots/skylake-64-oe-linux/opt/intel/oneapi/compiler/2022.1.0/env/vars.sh
-> Build sample SYCL app (i.e simple-sycl-app.cpp):
$ $ICXCXX -fsycl simple-sycl-app.cpp -o simple-sycl-app -lsvml -lirng -limf -lintlc
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'dynamic-layers/clang-layer/recipes-opencl/igc/files/fix-build-with-llvm12.patch')
0 files changed, 0 insertions, 0 deletions