diff options
author | Naveen Saini <naveen.kumar.saini@intel.com> | 2023-05-12 18:12:08 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2023-05-15 10:16:01 +0800 |
commit | edf80dea791c96f90cb0ddcbda3fccca0bf242d4 (patch) | |
tree | 5f3a68efe512f748640bf654750545b9a0e1587e /dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime/add-missing-cstdint-header-to-fix-compile-with-gcc13.patch | |
parent | 2752b2e20f90f8cf901d32cec5ff93b1881c6ded (diff) | |
download | meta-intel-edf80dea791c96f90cb0ddcbda3fccca0bf242d4.tar.gz |
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>
Diffstat (limited to 'dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime/add-missing-cstdint-header-to-fix-compile-with-gcc13.patch')
0 files changed, 0 insertions, 0 deletions