Some testcases are currently failing with following error:
/usr/bin/x86_64-poky-linux-ld: ./tests/static-array-init-1.ispc.o:
relocation R_X86_64_32S against `.rodata.cst16' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/x86_64-poky-linux-ld: failed to set dynamic section sizes: bad value
Backport patch.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
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>
(cherry picked from commit 2b37e2a69c)
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
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.17.0-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-ld:
ispc/1.17.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>
Enable an option that's is available now to use TBB from system and
refresh patches accordingly. This version also switches to using system
installed OpenCV and Intel version is not included.
Release notes:
https://github.com/openvinotoolkit/openvino/releases/tag/2022.1.1
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Upstream has force pushed master and the commit we were fetching is
no longer present on that branch. Remove the branch parameter and switch
to using nobranch to continue using that commit.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Upstream has force pushed master and the commit we were fetching is
no longer present on that branch. Remove the branch parameter and switch
to using nobranch to continue using that commit.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* Remove upstreamed patches and refresh others.
* Include the LICENSE.md file and remove the cpp file which just points to
MIT license.
* Update the license to MIT and Apache-2.0
* Install vcb tool from -native recipe.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
(cherry picked from commit 7cd06a4a71)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Since this fetches multiple repositories, define SRCREV_FORMAT so SRCPV
is expanded properly.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
(cherry picked from commit a678464d4d)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Both ocl-icd and opencl-icd-loader provides OpenCL library. Currently
openvino uses ocl-icd, which causes conflict with opencl-icd-loader
while packaging. So using ocl-icd instead.
Error:
file /usr/lib/libOpenCL.so.1 conflicts between attempted installs of
opencl-icd-loader-v2022.01.04+git0+169f05d026-r0.skylake_64 and libopencl1-2.3.1-r0.skylake_64
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
The project now is able to locate the required package and libraries
correctly so no need to pass flags to cmake.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
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>
Add COMPTIBLE_HOST to fix a build error when using musl,
due to openvino-inference-engine dependency
Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Backport patches to fix compile problems like:
| /build/build/tmp/work/corei7-64-poky-linux/intel-graphics-compiler/1.0.10395-r0/git/visa/LocalScheduler/SWSB_G4IR.cpp:1459:49: error: expected primary-expression before 'int'
| 1459 | int maxTokenDelay = std::numeric_limits<int>::min(); //The delay may cause if reuse
| | ^~~
| /build/build/tmp/work/corei7-64-poky-linux/intel-graphics-compiler/1.0.10395-r0/git/visa/LocalScheduler/SWSB_G4IR.cpp:1460:37: error: 'numeric_limits' is not a member of 'std'
| 1460 | int minTokenDistance = std::numeric_limits<int>::max(); //The distance from the reused node
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
It's used only for unit tests that we don't package or execute and has
been removed from requirements.txt as well upstream.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Switch to using SPDX preferred identifiers. All changes done using v0.1
of the script convert-spdx-licenses.py.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>