summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/clang/clang/0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch
diff options
context:
space:
mode:
authorOvidiu Panait <ovidiu.panait@windriver.com>2020-01-31 15:27:48 +0200
committerKhem Raj <raj.khem@gmail.com>2020-02-02 10:10:04 -0800
commitab686950af8d7f02e0ca614d277c7c0ca36954ed (patch)
treec2e1782dbf1988e7a80c3f72001fb16daeaa239d /recipes-devtools/clang/clang/0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch
parent0e4ed19a6dfd56f33499d5a5dbbe55b2fbef1518 (diff)
downloadmeta-clang-ab686950af8d7f02e0ca614d277c7c0ca36954ed.tar.gz
clang,llvm: cmake: Fix configure for packages using find_package()
Currently, when a package (i.e. bcc [https://github.com/iovisor/bcc.git]) that depends on LLVM/Clang tries to run cmake find_package() during do_configure, it will fail with a similar error: | The imported target "llvm-tblgen" references the file | ".../recipe-sysroot/usr/bin/llvm-tblgen" | | but this file does not exist. Possible reasons include: | * The file was deleted, renamed, or moved to another location. | * An install or uninstall procedure did not complete successfully. | * The installation package was faulty and contained | ".../recipe-sysroot/usr/lib/cmake/LLVMExports.cmake" | but not all the files it references. This is due to the fact that currently the exported cmake scripts look for target binaries in sysroot. Work around this by not exporting the target binaries in Exports-* cmake files. Upstream-Status: Innapropriate [oe-specific] Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Diffstat (limited to 'recipes-devtools/clang/clang/0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch')
0 files changed, 0 insertions, 0 deletions