To help in environments where remote internet access is not possible or to speed up "properclean" rebuilds, cache the origin library tarball/zip on disk. This issue tracks initially pulling and saving the origin code libraries as well as looking them up before invoking a prepare or build step.
To use the cache, ultimately, the make invocation command should be prefixed with LIB${LIBNAME}_URL.
Hi Im a student at the University of Texas at Austin, and for a project we were assigned I would like to work on this issue. I was wondering if this issue could be assigned to me?
To help in environments where remote internet access is not possible or to speed up "properclean" rebuilds, cache the origin library tarball/zip on disk. This issue tracks initially pulling and saving the origin code libraries as well as looking them up before invoking a
prepare
orbuild
step.To use the cache, ultimately, the
make
invocation command should be prefixed withLIB${LIBNAME}_URL
.https://github.com/unikraft/kraftkit/blob/staging/unikraft/app/application.go#L316-L319
We have to figure out how we set the appropriate name idiomatically in Go and how to gather the cache path, ultimately this feeds into
make.WithVar
:(Method names
lib.URL()
andlib.OriginCachePath()
are illustrative)Cache can be saved to a new path to be added in
config.KraftKit.Paths.Cache
.GitHub-Depends: https://github.com/unikraft/kraftkit/issues/464