Commit Graph

426 Commits

Author SHA1 Message Date
Anuj Mittal
8220eccbbf openvino-inference-engine: fix build with gcc13
Fix various issues when compiling with gcc13.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-05-31 11:24:53 +08:00
Anuj Mittal
c8fc88b7ed intel-compute-runtime: fix build with gcc13
Dont turn warnings to errors. Helps when compiling with gcc13.

 | /build/poky/build/tmp/work/corei7-64-poky-linux/intel-compute-runtime/23.09.25812.14-r0/recipe-sysroot/usr/include/c++/13.1.1/bits/stl_algobase.h:398:11: error: '*(unsigned char (*)[7])((char*)&<unnamed> + offsetof(NEO::ArgDescValue, NEO::ArgDescValue::elements.StackVec<NEO::ArgDescValue::Element, 1, unsigned char>::onStackMemRawBytes[0]))' may be used uninitialized [-Werror=maybe-uninitialized]
 |   398 |         { *__to = *__from; }
 |       |

Also, include cstdint header to get rid of other gcc13 specific errors.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-05-30 15:10:17 +08:00
Teoh Suh Haw
1340aeb6c7 intel-compute-runtime: upgrade 23.09.25812.14 -> 23.13.26032.30
Release Notes:
https://github.com/intel/compute-runtime/releases/tag/23.13.26032.30

Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-05-30 09:55:36 +08:00
Teoh Suh Haw
b533ec1ecd intel-graphics-compiler: upgrade 1.0.13463.18 -> 1.0.13700.14
Release Notes:
https://github.com/intel/intel-graphics-compiler/releases/tag/igc-1.0.13700.14

Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-05-30 09:55:36 +08:00
Anuj Mittal
92ed65a34f lms: fix build errors with gcc13
Fixes errors like:

 | /build/poky/build/tmp/work/x86-64-v3-poky-linux/lms/2245.0.0.0-r0/git/MEIClient/Include/MEIparser.h:11:1: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
 |    10 | #include <vector>
 |   +++ |+#include <cstdint>

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-05-29 16:00:41 +08:00
Anuj Mittal
2f54f3512d ispc: fix build with gcc13
Backport an upstream fix to missing missing header issue triggered when
building with gcc13.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-05-29 15:20:35 +08:00
Naveen Saini
f08c93b27a thermald: depend on autoconf-archive-native
configure: error: AX_CHECK_COMPILE_FLAG not found, you'll need to install autoconf-archive

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-05-23 16:08:54 +08:00
Teoh Suh Haw
dc19c9bb00 embree: upgrade 4.0.1 -> 4.1.0
Release Notes:
https://github.com/embree/embree/releases/tag/v4.1.0

Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-05-18 09:24:16 +08:00
Naveen Saini
edf80dea79 ispc: fix recipe
There are few problems in current recipe:

(1)
ispc needs to invoke native llvm-config from target sysroot to list LLVM
lib libraries. clang already provides crossscripts/llvm-config, which does
the job.

However, using LLVM_TOOLS_BINARY_DIR leads to wrong llvm-config being
used. So remove it from search path for llvm-config.

(2)
Error:
ispc/1.19.0-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-ld:
ispc/1.19.0-r0/recipe-sysroot-native/usr/lib/libclang-cpp.so: undefined reference to `std::condition_variable::wait(std::unique_lock<std::mutex>&)@GLIBCXX_3.4.30'
error: linker command failed with exit code 1 (use -v to see invocation)

Native libraries were being linked to target libraries leading to this
failure. Fix and cleanup DEPENDS/RDEPENDS.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-05-15 10:16:01 +08:00
Teoh Suh Haw
bd2c1b6bda ipmctl : upgrade 03.00.00.0483 -> 03.00.00.0485
Release Notes:
ipmctl:
https://github.com/intel/ipmctl/releases/tag/v03.00.00.0485-2

Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-05-11 12:11:11 +08:00
Teoh Suh Haw
6f55220359 intel-graphics-compiler: upgrade 1.0.13230.7 -> 1.0.13463.18
Release Notes:
https://github.com/intel/intel-graphics-compiler/releases/tag/igc-1.0.13463.18

Upgrade SPIRV-Tools to v2023.2 release
Upgrade SPIRV-Headers to tag sdk-1.3.243.0

Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-04-28 12:47:23 +08:00
Teoh Suh Haw
0b3f156219 intel-compute-runtime: upgrade 23.05.25593.11 -> 23.09.25812.14
Release Notes:
https://github.com/intel/compute-runtime/releases/tag/23.09.25812.14

Adapt external-ocloc.patch

Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-04-28 12:47:23 +08:00
Teoh Suh Haw
48ddf2b0e6 onednn: upgrade 3.0.1 -> 3.1
Release Notes:
https://github.com/oneapi-src/oneDNN/releases/tag/v3.1

Disable Graph API with ONEDNN_BUILD_GRAPH=OFF because that is not supported with DNNL_GPU_RUNTIME=OCL.

Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-04-13 10:48:54 +08:00
Teoh Suh Haw
51b86cf2fe intel-compute-runtime: upgrade 22.49.25018.24 -> 23.05.25593.11
Release Notes:
https://github.com/intel/compute-runtime/releases/tag/23.05.25593.11

Adapt allow-to-find-cpp-generation-tool.patch

Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-04-13 10:48:54 +08:00
Teoh Suh Haw
aed4bb9af7 intel-graphics-compiler: upgrade 1.0.12812.24 -> 1.0.13230.7
Release Notes:
https://github.com/intel/intel-graphics-compiler/releases/tag/igc-1.0.13230.7

Drop already merged patches:
c707d1e2244aec988bdd5d2a7473ef3a32a5bac7.patch
d1761dfc3ca6b54bac0ee213389a65f84d2aa9b7.patch
e09e752949e7af0231884d1b11ea907e3e8b1611.patch
fix-build-with-llvm12.patch

Fixes fuzz warnings.

Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-04-13 10:48:16 +08:00
Anuj Mittal
b81ad5eb64 openvino: fix UPSTREAM_CHECK_GITTAGREGEX
We don't need to match versions with suffixes signifying they are
pre-releases.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-03-28 10:00:04 +08:00
Naveen Saini
2b37e2a69c openvkl: disable avx ISAs for intel-corei7-64 machine
It enables them by default instead of checking based on what is supported.

openvklTest throws following error:
SIGILL - Illegal instruction signal

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-03-28 09:57:00 +08:00
Teoh Suh Haw
fc1d35e17f lms: upgrade 2226.0.0.0 -> 2245.0.0.0
Release Notes:
https://github.com/intel/lms/releases/tag/v2245.0.0.0

Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-03-28 09:29:21 +08:00
Teoh Suh Haw
8a7f46aa91 ipmctl : upgrade 03.00.00.0468 -> 03.00.00.0483
Release Notes:
ipmctl:
https://github.com/intel/ipmctl/releases/tag/v03.00.00.0483
edk2:
https://github.com/tianocore/edk2/releases/tag/edk2-stable202302

Adapt patch for edk2 202302 release

Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-03-28 09:29:21 +08:00
Teoh Suh Haw
e27e988fe5 onednn: upgrade 3.0 -> 3.0.1
Release Notes:
https://github.com/oneapi-src/oneDNN/releases/tag/v3.0.1

Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-03-28 09:29:21 +08:00
Naveen Saini
ae595644bc intel-oneapi-ipp: install headers
Required when building applications with ipp.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-03-28 09:17:03 +08:00
Anuj Mittal
8734c6a0bc openvino-inference-engine: add PACKAGECONFIG for samples
Add an option to turn OFF compilation of samples and tools. Move the
OpenCV dependency to this PACKAGECONFIG.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-03-27 16:23:02 +08:00
Anuj Mittal
c420e9fc6a openvino-inference-engine: remove python3-opencv from DEPENDS
It's no longer needed to be present after the change in [1] was merged
in 2022.3.0. Also see [2].

[1] 09a0fb7890
[2] https://github.com/openvinotoolkit/openvino/pull/14617

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-03-27 10:57:53 +08:00
Zoltan Boszormenyi
08c5a9be5d openvino-inference-engine: Use external gflags
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-03-27 10:56:49 +08:00
Naveen Saini
476275e9c0 ospray: upgrade 2.10.0 -> 2.11.0
Added entry for Intel(R) Implicit SPMD Program Compiler (ISPC) in
third-party-programs.txt.

Target ospray_module_cpu library build need libispcrt from ispc, so added
ispc also to DEPENDS.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-03-17 15:49:31 +08:00
Naveen Saini
a2657c7cea openvkl: upgrade 1.3.0 -> 1.3.2
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-03-17 15:49:31 +08:00
Naveen Saini
ca45e3450d embree: upgrade 3.13.5 -> 4.0.1
Turn off EMBREE_ZIP_MODE, which ships environement scrpit for build env setup.

Removed duplicate DEMBREE_ISPC_SUPPORT configuration.

checksum update:
Added entry for Intel(R) oneAPI DPC++/C++ compiler in third-party-programs.txt.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-03-17 15:49:31 +08:00
Naveen Saini
327be1475c rkcommon: upgrade 1.10.0 -> 1.11.0
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-03-17 15:49:31 +08:00
Anuj Mittal
e338dcb73e openvino: fix UPSTREAM_CHECK_GITTAGREGEX
Make sure we don't match the pre-releases.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-03-14 10:22:21 +08:00
Zoltán Böszörményi
647c36eb22 openvino-inference-engine: Fix build dependency
Use virtual/opencl-icd instead of ocl-icd explicitly.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-03-14 09:29:33 +08:00
Zoltán Böszörményi
f3f48ac8cc intel-oneapi-mkl: Fix runtime dependency
Use virtual/opencl-icd instead of ocl-icd explicitly.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-03-14 09:29:33 +08:00
Zoltan Boszormenyi
1be38ea89f intel-oneapi-dpcpp-cpp-runtime: Fix runtime dependency
Use virtual/opencl-icd instead of ocl-icd explicitly.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-03-14 09:29:33 +08:00
Zoltan Boszormenyi
1305a9faf5 intel-oneapi-compiler: Fix runtime dependency
Use virtual/opencl-icd instead of ocl-icd explicitly.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-03-14 09:29:33 +08:00
Zoltán Böszörményi
b398300a95 onednn: Fix build dependency
Use virtual/opencl-icd instead of ocl-icd explicitly.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-03-14 09:29:33 +08:00
Teoh Suh Haw
197effab2b onednn: upgrade 2.7.1 -> 3.0
Release Notes:;
https://github.com/oneapi-src/oneDNN/releases/tag/v3.0

Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-03-01 15:33:50 +08:00
Naveen Saini
5f2a109a15 ispc: upgrade 1.18.0 -> 1.19.0
Dropped patches which are already available.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-03-01 15:33:50 +08:00
Anuj Mittal
3289c1c659 intel-compute-runtime: upgrade 22.38.24278 -> 22.49.25018.24
Release notes:
https://github.com/intel/compute-runtime/releases/tag/22.49.25018.24

License-Update: Includes full text of license now.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-02-24 12:28:53 +08:00
Chee Yang Lee
9302542eba igc: add patch upstream status
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-02-24 12:15:04 +08:00
Anuj Mittal
4a5cfd3542 intel-graphics-compiler: upgrade 1.0.12812.9 -> 1.0.12812.24
Release notes:
https://github.com/intel/intel-graphics-compiler/releases/tag/igc-1.0.12812.24

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-02-24 11:54:44 +08:00
Anuj Mittal
d5ddfa0354 thermald: upgrade 2.5.1 -> 2.5.2
Release 2.5.2
- Support Alder Lake N
- Support ITMT version 2, which is used in some Raptor Lake systems

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-02-23 16:42:39 +08:00
Anuj Mittal
b605f173e8 openvino-model-optimizer: update to latest from 2022.3 branch
Brings in support for NumPy 1.24.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-02-22 21:50:14 +08:00
Anuj Mittal
1790fd8d2e openvino-inference-engine: update to latest on 2022.3 branch
Brings in support for NumPy 1.24 and support for system installed
OpenCL. Includes a newer version of myriad firmware as well.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-02-22 21:49:13 +08:00
Teoh Suh Haw
c8ffd3928d openvino-model-optimizer: upgrade 2022.2.0 -> 2022.3.0
Release notes:
https://github.com/openvinotoolkit/openvino/releases/tag/2022.3.0

Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-02-21 12:05:49 +08:00
Naveen Saini
cc3b4ed77f intel-oneapi-dpcpp-cpp-runtime: install missing common headers
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>
2023-01-30 09:51:17 +08:00
Naveen Saini
b3c7d3ee44 intel-oneapi-mkl: install missing headers
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>
2023-01-26 09:34:50 +08:00
Anuj Mittal
a9242002cb openvino-inference-engine: fix multilib build
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>
2023-01-17 13:02:04 +08:00
Anuj Mittal
e99756e072 intel-graphics-compiler: ignore buildpaths warning
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>
2023-01-16 13:57:51 +08:00
Anuj Mittal
b15d2fbc33 openvino-inference-engine: upgrade 2022.2.0 -> 2022.3.0
* 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>
2023-01-09 17:15:31 +08:00
Anuj Mittal
7d7aaa0826 intel-graphics-compiler: fix buildpaths warnings
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>
2023-01-09 17:14:30 +08:00
Naveen Saini
1ef5059473 intel-oneapi-ipp: upgrade 2021.5.1-522 -> 2021.7.0-25396
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-01-04 16:24:21 +08:00