summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2019-03-28 12:35:29 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-04-01 14:48:44 +0100
commit9180d35e2ad04e7fac15e1c8dd0d904b82e55e7b (patch)
tree6ce218cecde87dbdc7482ff614d16d7fe2fa04c6
parentafd069f6b4846b7fc0c9820a355d5ec3fe80bdad (diff)
downloadpoky-9180d35e2ad04e7fac15e1c8dd0d904b82e55e7b.tar.gz
llvm: support older toolchains
LLVM is now warning if your host compiler is gcc <5.1, and some of our supported operating systems still only have 4.8.5. Set LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN so those builds continue to work, hopefully we retire the old operating systems before LLVM requires 5.1+. (From OE-Core rev: 0e7d761b1360f603a4cc0de15c67f4e182e5a6a4) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/llvm/llvm_git.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb
index 01a7da8ebd..7832441482 100644
--- a/meta/recipes-devtools/llvm/llvm_git.bb
+++ b/meta/recipes-devtools/llvm/llvm_git.bb
@@ -70,6 +70,7 @@ EXTRA_OECMAKE += "-DLLVM_ENABLE_ASSERTIONS=OFF \
70 -DFFI_INCLUDE_DIR=$(pkg-config --variable=includedir libffi) \ 70 -DFFI_INCLUDE_DIR=$(pkg-config --variable=includedir libffi) \
71 -DLLVM_OPTIMIZED_TABLEGEN=ON \ 71 -DLLVM_OPTIMIZED_TABLEGEN=ON \
72 -DLLVM_TARGETS_TO_BUILD='${LLVM_TARGETS}' \ 72 -DLLVM_TARGETS_TO_BUILD='${LLVM_TARGETS}' \
73 -DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=ON \
73 -DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python2 \ 74 -DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python2 \
74 -G Ninja" 75 -G Ninja"
75 76