nuttx-apps
nuttx-apps copied to clipboard
Trigger clean and distclean for all directory which contain Makefile
Summary
Found by https://github.com/apache/incubator-nuttx/pull/6586
Impact
make distclean and make clean
Testing
Pass CI
This was the old behavior, before filtering based on .depend
and .kconfig
. Do you want to bring it back? This will increase the execution time of multiple phases in build and configuration.
This was the old behavior, before filtering based on
.depend
and.kconfig
. Do you want to bring it back? This will increase the execution time of multiple phases in build and configuration.
Here is my thought:
- Compare with the compile and link, the time to execute clean/distclean is very small
- We need ensure the result is right before applying the optimization
We need ensure the result is right before applying the optimization
Yes, sure, but I wanted to make sure that there is no other way except scanning all directories. When we had the nightly Jenkins build, that was building multiple configurations one after the other, this had a somewhat significant impact. We don't use Jenkins anymore, and if this way is not properly working in all build modes, then yes we need to revert it.
Compare with https://github.com/apache/incubator-nuttx-apps/pull/1214, the performance lose of this PR is huge