diff options
author | Tim Orling <timothy.t.orling@linux.intel.com> | 2020-03-31 13:03:05 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-04-01 11:44:24 +0100 |
commit | 37833137005980c41bc2c898d0e011f74da8cf8c (patch) | |
tree | 188736953bc178d3736a4f5acf25ebde22c9e59e /meta/recipes-kernel/perf | |
parent | d5d634f682d58f50bf8f8f4502ac00dddd2c048d (diff) | |
download | poky-37833137005980c41bc2c898d0e011f74da8cf8c.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
(From OE-Core rev: 3bb3b9cbad82b2f09386153226d1d4e769b7347b)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/perf')
0 files changed, 0 insertions, 0 deletions