-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[tools] build_everything.py should fail immediately for unsupported target #2323
Comments
ARM Internal Ref: IOTMORF-92 |
@zgoda What are you proposing, that a script should fail ,not even trying to compile sources? The build system does not have currently a clue if rtos is supported for a platform or not, that one is in the rtos sources encoded (will be moved to configuration system most probably, the we can check if its supported or not). |
@zgoda Thanks for bringing up this issue. I should give a little background on this script and how it relates to the other build scripts in the tools. Before this script, there was Since then the workflow has changed a bit, and the CI now uses mbed CLI extensively. But I'd like to revisit this so you can run the full build locally that the CI does as well. There are some complications due to the way Jenkins needs the commands to be organized, but nothing that's a show stopper. Now getting back to @0xc0170's comment, the script should probably follow the same flow that the Really, both scripts should be revisited, and I think |
I don't feel in a position to suggest anything related to mbed os 5 yet, i'm completely new here. It just feels strange to have a tool that fails in the middle of process even if the outcome is known upfront. Shouldn't it fail immediately indicating the operation is not supported for given operands? I think so. |
I think you're right @zgoda, the main issue right now is these scripts don't make it clear what part of the code they are building, so it is not sure if the platform is "supported" or "unsupported". We need to rethink how these scripts fit into the workflow so it is clear what platforms are supported in which configuration. |
@bridadan Is this able to be closed? |
@sg- I think it's probably safe to close this issue. I alluded to this above, but the |
For not mbed-os capable platforms build process should not be attempted. Now it fails in the middle trying to compile RTOS support:
Found when testing PR #2285
The text was updated successfully, but these errors were encountered: