mirror of
https://git.yoctoproject.org/poky
synced 2026-02-26 19:39:40 +01:00
Various bits of the LLVM project set the build RPATH in a way that means we have non-deterministic binaries even though we should always be using relative paths. This clearly is not working as some of the binaries get rewritten on install and have large string paddings that correlate with erased build paths. So that we don't have to disable RPATHs in every recipe, just do it once in the common include file and remove the existing recipe-specific assignments that are now not needed. (From OE-Core rev: acc8c5c89c0f1bff3413d2301a65afd89bd0d9ff) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 lines
730 B
BlitzBasic
23 lines
730 B
BlitzBasic
SUMMARY = "LLD - the LLVM Linker"
|
|
DESCRIPTION = "LLD is a linker from the LLVM project that is a drop-in replacement for system linkers and runs much faster than them."
|
|
HOMEPAGE = "https://lld.llvm.org"
|
|
SECTION = "devel"
|
|
|
|
require common-clang.inc
|
|
require common-source.inc
|
|
|
|
LIC_FILES_CHKSUM = "file://lld/LICENSE.TXT;md5=ae7dc7c027b1fa89b5b013d391d3ee2b"
|
|
|
|
inherit cmake pkgconfig
|
|
|
|
DEPENDS = "llvm-tblgen-native llvm"
|
|
|
|
OECMAKE_SOURCEPATH = "${S}/lld"
|
|
|
|
# Explicitly enable symlinks as the lld build doesn't call into the llvm setup
|
|
# and turn that on.
|
|
EXTRA_OECMAKE += "-DLLVM_INCLUDE_TESTS=OFF -DLLVM_USE_SYMLINKS=ON \
|
|
-DLLVM_TABLEGEN_EXE=${STAGING_BINDIR_NATIVE}/llvm-tblgen"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|