When running kraft build for the first time for a given application (such as app-micropython) (after running kraft configure), it takes some time (about 1-2 minutes). Everything else goes smooth. This has only recently happened.
Subsequent calls to kraft build are fine. However, if kraft clean -p is issued (cleaning the build/ folder), kraft build once again takes some time. I was able to replicate this on multiple systems.
Describe the bug
When running
kraft build
for the first time for a given application (such as app-micropython) (after runningkraft configure
), it takes some time (about 1-2 minutes). Everything else goes smooth. This has only recently happened.Subsequent calls to
kraft build
are fine. However, ifkraft clean -p
is issued (cleaning thebuild/
folder),kraft build
once again takes some time. I was able to replicate this on multiple systems.I don't recall this being the case before. Maybe it's because of the recent update to the build system.
To Reproduce
Build any [Unikraft application]() using kraft: setup environment, use
kraft configure
thenkraft build
. I used app-micropython to test this.Expected behavior
kraft build
should run faster.Desktop (please complete the following information):