Download dev-utilities package to have common headers available too.
fatal error: 'dpc_common.hpp' file not found
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Download the -devel package to have MKL headers available too. Static
libraries take too much space (>5GB) so package them separately.
Make sure that the directories in /opt are not symlinked to avoid errors
for packages (like tbb) that also install directories with same name in
$includedir.
Fixes:
| fatal error: 'oneapi/mkl.hpp' file not found
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Switch to using variables defined for RPM generation as it more closely
aligns with how we install libraries and remove the tweak done for
debian variables.
Also fixes packaging issues when BASELIB is set to lib64:
| 20:18:42 ERROR: openvino-inference-engine-2022.3.0-r0 do_package: QA Issue: openvino-inference-engine: Files/directories were installed but not shipped in any package:
| 20:18:42 /usr/lib/python3.10/site-packages/_pyngraph.cpython-310-x86_64-linux-gnu.so
| 20:18:42 /usr/lib/python3.10/site-packages/requirements.txt
...
| 20:18:42 /usr/lib/python3.10/site-packages/openvino/inference_engine/ie_api.cpython-310-x86_64-linux-gnu.so
| 20:18:42 /usr/lib/python3.10/site-packages/openvino/inference_engine/constants.cpython-310-x86_64-linux-gnu.so
| 20:18:42 /usr/lib/python3.10/site-packages/openvino/inference_engine/__init__.py
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Ignore the buildpath being embedded in bitcode by clang until we've
found a way to fix.
| QA Issue: File /usr/lib/libigc.so.1.0.1 in package intel-graphics-compiler contains reference to TMPDIR [buildpaths]
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* OpenVINO now installs libraries and headers correctly so we don't need
the local patches anymore.
* Switch to using pybind11 from system. json-schema-validator is no
longer used and open model zoo submodule is only used when building a
specific tool so these submodules have been removed.
* Tweak build scripts to include Yocto specific changes.
License-Update: xbyak deleted the Japaneses translation from COPYRIGHT
and nlohmann_json updated copyright years.
Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Clone SPIRV-Tools and Headers in S instead of WORKDIR so they don't
escape file-prefix-map substitutions.
Fixes buildpaths warnings:
| WARNING: intel-graphics-compiler-1.0.12812.9-r0 do_package_qa: QA Issue: File /usr/lib/.debug/libigc.so.1.0.1 in package intel-graphics-compiler-dbg contains reference to TMPDIR [buildpaths]
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
We'd like meta-intel master to be able to build with OE-Core kirkstone
as well. But Bitbake version in kirkstone does not recognize addplylib
directive leading to parsing errors.
Remove it for now until there is a better solution available.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Enable r8152 kernel module for images based on packagegroup-core-boot.
Some QA setups that use Realtek RTL8152/RTL8153 based USB ethernet
adapters for connection will not have networking working for
such images otherwise.
Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Enable IGC kernel module for images based on packagegroup-core-boot.
Some products like TGL NUC11TNKV7 with integrated I225 ethernet
controller will not have networking working for such images otherwise.
Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Fixes:
/git/IGC/VectorCompiler/lib/GenXCodeGen/GenXSimdCFRegion.cpp:412:31: error: ‘experimental_vector_reduce_or’ is not a member of ‘llvm::Intrinsic’; did you mean ‘experimental_vector_insert’?
[2022-12-06T21:01:52.813Z] | 412 | Intrinsic::experimental_vector_reduce_or;
[2022-12-06T21:01:52.813Z] | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2022-12-06T21:01:52.813Z] | | experimental_vector_insert
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Upgrade to the latest tag and backport 3 patches to fix build issues
with LLVM 15 [1].
Remove IGC_OPTION__USE_KHRONOS_SPIRV_TRANSLATOR_IN_VC option as it has
been removed upstream [2].
And, make sure CLANG_EXE points to clang in native sysroot.
[1] https://github.com/intel/intel-graphics-compiler/issues/263
[2] 3fde0acae8
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
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>
Support for Intel(R) oneAPI DPC++/C++ (icx) compiler is being added. So
remove the support for the classic compiler.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
The Intel® oneAPI DPC++/C++ Compiler provides optimizations
that help your applications run faster on Intel® 64 architectures with support
for the latest C, C++, and SYCL language standards. This compiler produces
optimized code that can run significantly faster by taking advantage of the
ever-increasing core count and vector register width in Intel® Xeon® processors
and compatible processors.
https://www.intel.com/content/www/us/en/developer/tools/oneapi/dpc-compiler.html
The compiler binaries are installed in /opt and can be invoked to compile
on target or using the SDK.
Currently dpcpp icx identify only x86_64-oe-linux triple, so it should be tested
with 'nodistro' DISTRO.
DISTRO ?= "nodistro"
To run SYCL program, it has dependencies on OpenCL components.
IMAGE_INSTALL:append = " intel-compute-runtime intel-graphics-compiler clang"
To install icx toolchain and runtime libraries
IMAGE_INSTALL:append = " intel-oneapi-dpcpp-cpp-runtime intel-oneapi-dpcpp-cpp-runtime-dev "
IMAGE_INSTALL:append = " intel-oneapi-dpcpp-cpp intel-oneapi-dpcpp-cpp-dev "
Once image is built and boots, an env script needs to be run to setup compiler environment and
also required to create dynamic linker symlink at /lib64
$ source /opt/intel/oneapi/compiler/2022.1.0/env/vars.sh
$ mkdir -p /lib64
$ ln -sf /lib/ld-linux-x86-64.so.2 /lib64/ld-linux-x86-64.so.2
To build an SYCL sample application, following command should be used
$ icpx --target=x86_64-oe-linux -fsycl simple-sycl-app.c -o simple-sycl-app
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This recipe is not requried anymore, as already recipes for
mainline-tracking 5.19 kernel being added.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Build 5.19 RT kernel version from mainline-tracking tree at:
https://github.com/intel/mainline-tracking
This will track the mainline kernel and will be used to enable support for newer platforms.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Build 5.19 kernel version from mainline-tracking tree at:
https://github.com/intel/mainline-tracking
This will track the mainline kernel and will be used to enable support for newer platforms.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Include a patch from linux-yocto to fix buildpaths problem when
compiling perf. Fixes:
| WARNING: perf-1.0-r9 do_package_qa: QA Issue: File /usr/lib/python3.10/site-packages/perf-0.1-py3.10-linux-x86_64.egg/EGG-INFO/SOURCES.txt in package perf-python contains reference to TMPDIR
| File /usr/lib/python3.10/site-packages/perf-0.1-py3.10-linux-x86_64.egg/__pycache__/perf.cpython-310.pyc in package perf-python contains reference to TMPDIR [buildpaths]
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>