summaryrefslogtreecommitdiffstats
path: root/scripts/install-buildtools
diff options
context:
space:
mode:
authorTim Orling <timothy.t.orling@linux.intel.com>2020-03-31 13:03:05 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-04-01 11:43:59 +0100
commit3bb3b9cbad82b2f09386153226d1d4e769b7347b (patch)
tree76ee4cf78155e4f32901d160305cbf15d541ee11 /scripts/install-buildtools
parent88712929354ff9c876bb1e48b6f15c33af5f2bbc (diff)
downloadopenembedded-core-contrib-3bb3b9cbad82b2f09386153226d1d4e769b7347b.tar.gz
sanity.bbclass: add test for gcc < 4.8
It is known that old versions of gcc prior to 4.8 causes builds to fail. Add a test for BUILD_CC == 'gcc' and gcc < 4.8 and recommend using scripts/install-buildtools or user built buildtools-extended-tarball. Use the new get_host_compiler_version function from lib/oe/utils.py NOTE: another solution is to install devtoolset-6+ from scl [1], but this is a rather large install (> 1 Gb) and fairly invasive. [1] https://www.softwarecollections.org/en/scls/rhscl/devtoolset-6/ Adding this code means we can increase the minimum version easily in the future too (which will soon be needed). RP: Change minimum version from 5.0 to 4.8 for initial patch Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/install-buildtools')
0 files changed, 0 insertions, 0 deletions