-
Notifications
You must be signed in to change notification settings - Fork 3k
Correct check for the ARM toolchain binary in the PATH. #10044
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The compiler used for the ARM toolchain changes depending on the target. This changes the front end scripts to do the proper toolchain look up before checking the system PATH for the compiler executable. The tools were always checking for the ARMC5 compiler, now it should check for the right version.
@bridadan, thank you for your changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine.
@ChiefBureaucraticOfficer - Can we make this change go in for 5.12.rc3? Currently this is marked for 5.12.1. Tagging @ARMmbed/mbed-os-maintainers @0xc0170 @cmonr @screamerbg |
What we currently print:
What will be printed after this change:
This is consistent with our other toolchains if the path to the compiler executable is not properly configured (or found in the system PATH). |
CI started |
@bridadan It's confusing that when armcc is not found, I get help from make.py. with different command options than mbed complie. |
@screamerbg I think that's out of scope for this PR. Do we have an issue for that in this issue tracker? |
@screamerbg I agree with you, I've created an issue here to track it: #10090 The fix should be pretty small, just need to double check how it affects the other front-end scripts ( |
Test run: FAILEDSummary: 1 of 13 test jobs failed Failed test jobs:
|
Going to restart the exporter job again. We might be having license issues with ARMc6. |
@SenRamakri Thanks for the info! |
Description
Fixes #10039
The compiler used for the ARM toolchain changes depending on the target.
This changes the front end scripts to do the proper toolchain look up
before checking the system PATH for the compiler executable. The tools
were always checking for the ARMC5 compiler, now it should check for the
right version.
FYI @SenRamakri
Pull request type
Reviewers
Release Notes