1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-01-11 15:00:39 +00:00

external-arm-toolchain: Enable 11.3.rel1 support

Enable support for 11.3.rel1 binary toolchain release. Also, update CI
to use it.

Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Sumit Garg
2022-09-26 12:46:05 +05:30
committed by Jon Mason
parent df99894eaa
commit 6001998caa
2 changed files with 14 additions and 11 deletions

View File

@@ -23,12 +23,15 @@ def eat_get_version(d):
last_line = stderr.splitlines()[-1]
return last_line
# Extract the YYYY.MM version
# Extract the YYYY.MM or release version
def eat_get_main_version(d):
version = eat_get_version(d)
bb.debug(2, 'Trying for parse version info from: %s' % version)
if version != 'UNKNOWN':
if version.split()[4] == '(GNU':
if version.split()[4] == '(Arm':
# gcc version 11.3.1 20220712 (Arm GNU Toolchain 11.3.Rel1)
return version.split()[7].split(')')[0]
elif version.split()[4] == '(GNU':
# gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))
# gcc version 8.2.1 20180802 (GNU Toolchain for the A-profile Architecture 8.2-2018.11 (arm-rel-8.26))
return version.split()[10].split('-')[1]