Skip to content

Parse and use custom targets in exporters #4725

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

Merged
merged 2 commits into from
Jul 13, 2017

Conversation

theotherjimmy
Copy link
Contributor

Resolves #4709

Also changes the API of the exporters to be more flexible WRT changes in
TARGET_MAP. The old API would pre-compute a supported list at import time.
This new API includes a class method for computing support for one target
or all targets. This might improve performace for single exports, as only
the current combination of support is checked instead of the whole matrix.

@theotherjimmy
Copy link
Contributor Author

theotherjimmy commented Jul 7, 2017

output

@theotherjimmy
Copy link
Contributor Author

theotherjimmy commented Jul 7, 2017

The actual mbed export command takes ~550ms with this patch. I tested what mbed export runs, so what this PR actually affects. mbed CLI in general adds ~350 ms of latency on my machine.

@theotherjimmy theotherjimmy requested a review from sarahmarshy July 7, 2017 20:09
@theotherjimmy
Copy link
Contributor Author

@screamerbg FYI

@theotherjimmy
Copy link
Contributor Author

@amq does this resolve #4709 for you?

@amq
Copy link
Contributor

amq commented Jul 8, 2017

@theotherjimmy yes 👍

@0xc0170
Copy link
Contributor

0xc0170 commented Jul 10, 2017

@theotherjimmy Who should review this change?

@theotherjimmy
Copy link
Contributor Author

Good question, @0xc0170. I don't know. Maybe @sarahmarshy?

@theotherjimmy
Copy link
Contributor Author

/morph export-build

@mbed-bot
Copy link

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph export-build

Output

mbed Build Number: 83

All exports and builds passed!

@theotherjimmy
Copy link
Contributor Author

@adbridge LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants