diff options
author | Tim Orling <timothy.t.orling@linux.intel.com> | 2020-03-27 20:19:49 -0700 |
---|---|---|
committer | Tim Orling <timothy.t.orling@linux.intel.com> | 2020-03-31 19:19:41 +0000 |
commit | aed3267f007ef39ce5ced6a74ed1d1d4377571db (patch) | |
tree | 8450f3c8ab7e3a40d6e28aa36c40e13dbc68e92a /meta/classes/extrausers.bbclass | |
parent | d99e19418f984066fffb28717730bb8f03a65333 (diff) | |
download | openembedded-core-contrib-aed3267f007ef39ce5ced6a74ed1d1d4377571db.tar.gz |
sanity.bbclass: add test for gcc < 5.0
It is known that the version of gcc in CentOS-7 (4.8.5) causes builds to fail.
Add a test for BUILD_CC == 'gcc' and gcc < 5.0 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/
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Diffstat (limited to 'meta/classes/extrausers.bbclass')
0 files changed, 0 insertions, 0 deletions