force enable DO_CUMULATE 46/260046/3
authorHyunggi Lee <hyunggi.lee@samsung.com>
Fri, 18 Jun 2021 02:39:16 +0000 (11:39 +0900)
committerHyunggi Lee <hyunggi.lee@samsung.com>
Wed, 7 Jul 2021 03:13:03 +0000 (12:13 +0900)
commit663e14a9147d216fe1a6f6e2b0efd4a86043299c
tree7be6941bcf5448912808d15fce5d27aec9c545a8
parent1cf9b6b4612246afd28d5e92065c1e6af0604456
force enable DO_CUMULATE

We can't use cumulative install because we don't use %suse_version macro.
However, our build system is based on openSUSE Build service and we use
always newer suse version than 1220. Thus, we can always enable cumulative
install instead of defining the suse_version.

ref: https://review.tizen.org/gerrit/c/platform/upstream/build/+/25635/

Test result

* pre condition
gbs build -A armv7l
download dependency to cache

* set DO_CUMULATE=
* 1st
sudo rm -rf /home/hglee/GBS-ROOT/t65std/local/BUILD-ROOTS/scratch.armv7l.*
gbs build -A armv7l
[  137s] [537/537] installing ecore-imf-evas-devel-1.25.1-201.5
[  138s] removing nis flags from /home/hglee/GBS-ROOT/t65std/local/BUILD-ROOTS/scratch.armv7l.0/etc/nsswitch.conf..

* 2nd
sudo rm -rf /home/hglee/GBS-ROOT/t65std/local/BUILD-ROOTS/scratch.armv7l.*
gbs build -A armv7l
[  137s] [537/537] installing ecore-imf-evas-devel-1.25.1-201.5
[  138s] removing nis flags from /home/hglee/GBS-ROOT/t65std/local/BUILD-ROOTS/scratch.armv7l.0/etc/nsswitch.conf..

* set DO_CUMULATE=true
* 1st
sudo rm -rf /home/hglee/GBS-ROOT/t65std/local/BUILD-ROOTS/scratch.armv7l.*
gbs build -A armv7l
[   99s] Running alarm-server %posttrans script
[   99s] removing nis flags from /home/hglee/GBS-ROOT/t65std/local/BUILD-ROOTS/scratch.armv7l.0/etc/nsswitch.conf...

* 2nd
sudo rm -rf /home/hglee/GBS-ROOT/t65std/local/BUILD-ROOTS/scratch.armv7l.*
gbs build -A armv7l
[   99s] Running alarm-server %posttrans script
[  100s] removing nis flags from /home/hglee/GBS-ROOT/t65std/local/BUILD-ROOTS/scratch.armv7l.0/etc/nsswitch.conf...

* 138s -> 100s (ratio 72%)

Change-Id: I904e73ea7eaa23b7e52a5011a558f103128d6eee
Signed-off-by: Hyunggi Lee <hyunggi.lee@samsung.com>
build-pkg-rpm