Skip to content
Commit 88712929 authored by Tim Orling's avatar Tim Orling Committed by Richard Purdie
Browse files

lib/oe/utils.py: add get_host_compiler_version()



Add helper function to get the host compiler and version.
Do not assume compiler is gcc.

NOTE: cannot set env to d.getVar("PATH") as that does not contain
the session PATH which was set by environment-setup-... which
breaks the install-buildtools use-case

Signed-off-by: default avatarTim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
parent 7a66434c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment