Open
Description
Prerequisites
Yocto Build on Scarthgap, sdk build for x86_64 - crossplatform ARM cortex a9.
Symptoms
The task do_install for recipe nativesdk-clang fails with an error:
| sed: can't read /yoctolinux/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-clang/18.1.6/image/opt/xxx/cortexa9t2hf-neon-scarthgap/sysroots/x86_64-sdk-linux/usr/lib/cmake/llvm/LLVMConfig.cmake: No such file or directory
| WARNING: exit code 2 from a shell command.
ERROR: Task (virtual:nativesdk:yoctolinux/artifacts/github.com/kraj/meta-clang/recipes-devtools/clang/clang_git.bb:do_install) failed with exit code '1'
Reproduction
vanilla build on current scarthgap (commit 8c77b42)
with
EXTRA_OECMAKE:append:pn-nativesdk-clang = " -DLLVM_INSTALL_TOOLCHAIN_ONLY=ON"
as suggested here:
https://llvm.org/docs/BuildingADistribution.html
Expected behavior
No error. ;)
Findings
Commit f002eb5 doesn't seem to take into account that LLVMConfig.cmake doesn't exist - or the creation of LLVMConfig.cmake broke silently.
Metadata
Metadata
Assignees
Labels
No labels