Cache as we go instead of in the end 19/8519/2
authorStefan K. Berg <stefan.k.berg@ericsson.com>
Sat, 23 Jan 2016 19:56:48 +0000 (20:56 +0100)
committerStefan Berg <sfb@consultron.com>
Fri, 29 Jan 2016 13:25:47 +0000 (14:25 +0100)
commit36895dd570e1c602ea3171fa4c8bb77b19bc91d4
treed18e310cec7849e03069c9de99d26f64447587fc
parent19f52239658b8e8b905acf4e8613db51f8d03e02
Cache as we go instead of in the end

In order to speed up the build process when building with the cache
enabled, cache immediately following the build of a sub artifact
instead of at the end.

Should the build fail, we don't need to rebuild those parts that
already were successful in the last build.

Change-Id: I23b59f7ba4a04272aea855cf451793158fe12241
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
(cherry picked from commit d2c5a1dde91d10b4f3f9f5ac0b1570527247e03c)
build/Makefile
build/cache.sh
build/f_isoroot/f_bgpvpn-pluginbuild/Makefile
build/f_isoroot/f_odlpluginbuild/Makefile
build/f_isoroot/f_onosfwpluginbuild/Makefile
build/f_isoroot/f_ovs-nsh-dpdk-pluginbuild/Makefile
build/f_isoroot/f_ovsnfv-dpdk-pluginbuild/Makefile
build/f_isoroot/f_qemupluginbuild/Makefile
build/f_isoroot/f_repobuild/Makefile
build/f_isoroot/f_vsperfpluginbuild/Makefile