-
Notifications
You must be signed in to change notification settings - Fork 905
Fix workflows for new mbedtls #635
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
base: develop
Are you sure you want to change the base?
Conversation
Anything that builds picotool now has to pass "recursive" flag to the "git submodule init" command
This shouldn't be needed once raspberrypi/picotool#226 is merged |
I was wondering if we should go the other way and make more use of the mbedtls cmake files, although I haven't investigated if this is possible. |
One benefit of moving to the SDK style is it reduces the number of files picotool compiles, as it doesn't need the x509 or TLS files so can skip those lists, whereas I'm not sure if there's a way to do that when using the mbedtls cmake files? But the disadvantage is obviously maintenance, as we need to update the source lists if the sources change |
Yes - that's a good reason! |
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.
Probably good to merge this anyway
I'm slightly wary of doing that (and yes I'm aware that you've already done that in some of the recent pico-sdk PRs, e.g. raspberrypi/pico-sdk#2416 ) because I'm worried about a situation like we previously had with tinyUSB cropping up again (where a 3rd-party repo had a lot of unnecessary submodules that we didn't need, which made the recursive git clone really slow). It's obviously not directly relevant to pico-sdk / pico-examples, but for an example of a repo with a LOT of submodules, see e.g. https://github.com/micropython/micropython/tree/master/lib IMHO it's better to explicitly only |
yes, recursive init is bad anywhere users might copy, which workflows aren't, but there they can be bad because it takes extra time - better to explicitly checkout |
Anything that builds picotool now has to pass "recursive" flag to the "git submodule init" command