mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
llvm: Fix [compile-host-path] QA issue
Its trying to build NATIVE llvm-config which is already built with llvm-native so we do not need to rebuild it Drop setting NINJA_STATUS explicitly, its no longer needed, on the contrary it hinders the task status update (From OE-Core rev: f8393b2b4bc5fbd972be00cb17d0c574ae8deff9) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -26,6 +26,7 @@ PATCH_VERSION = "0"
|
||||
SRC_URI = "git://github.com/llvm-mirror/llvm.git;branch=${BRANCH};protocol=http \
|
||||
file://0001-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch \
|
||||
file://0002-llvm-allow-env-override-of-exe-path.patch \
|
||||
file://0001-Disable-generating-a-native-llvm-config.patch \
|
||||
"
|
||||
UPSTREAM_CHECK_COMMITS = "1"
|
||||
S = "${WORKDIR}/git"
|
||||
@@ -85,15 +86,15 @@ do_configure_prepend() {
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
NINJA_STATUS="[%p] " ninja -v ${PARALLEL_MAKE}
|
||||
ninja -v ${PARALLEL_MAKE}
|
||||
}
|
||||
|
||||
do_compile_class-native() {
|
||||
NINJA_STATUS="[%p] " ninja -v ${PARALLEL_MAKE} llvm-config llvm-tblgen
|
||||
ninja -v ${PARALLEL_MAKE} llvm-config llvm-tblgen
|
||||
}
|
||||
|
||||
do_install() {
|
||||
NINJA_STATUS="[%p] " DESTDIR=${LLVM_INSTALL_DIR} ninja -v install
|
||||
DESTDIR=${LLVM_INSTALL_DIR} ninja -v install
|
||||
install -D -m 0755 ${B}/bin/llvm-config ${D}${libdir}/${LLVM_DIR}/llvm-config
|
||||
|
||||
install -d ${D}${bindir}/${LLVM_DIR}
|
||||
|
||||
Reference in New Issue
Block a user