diff options
author | Junghyun Kim <jh0822.kim@samsung.com> | 2016-08-30 19:09:21 +0900 |
---|---|---|
committer | Junghyun Kim <jh0822.kim@samsung.com> | 2016-08-30 03:12:36 -0700 |
commit | 69af6d0e1ba6b17f188213fb0d9f367b54f4753f (patch) | |
tree | b0dc9eb58f6c5c7c27f7895fd111679dca09723c | |
parent | 0c30cba6cfa94bacd70fb8b94225cd5063df29d8 (diff) | |
download | kickstarter-submit/tizen_3.0_common/20161104.104000.tar.gz kickstarter-submit/tizen_3.0_common/20161104.104000.tar.bz2 kickstarter-submit/tizen_3.0_common/20161104.104000.zip |
Do not print timestamp in python-Cheeta by setting an argument.tizen_4.0.m1_releasesubmit/tizen_unified/20170308.100413submit/tizen_4.0/20170828.100006submit/tizen_4.0/20170811.094300submit/tizen_3.0_wearable/20161015.000003submit/tizen_3.0_tv/20161015.000002submit/tizen_3.0_mobile/20161015.000003submit/tizen_3.0_ivi/20161010.000003submit/tizen_3.0_common/20161104.104000submit/tizen_3.0.m2/20170104.093752submit/tizen/20160921.004331submit/tizen/20160913.071022accepted/tizen/wearable/20160921.232905accepted/tizen/unified/20170309.035902accepted/tizen/tv/20160921.232920accepted/tizen/mobile/20160921.232912accepted/tizen/ivi/20160921.232926accepted/tizen/common/20160913.170436accepted/tizen/4.0/unified/20170828.222950accepted/tizen/4.0/unified/20170816.013948accepted/tizen/3.0/wearable/20161015.083244accepted/tizen/3.0/tv/20161016.004709accepted/tizen/3.0/mobile/20161015.033522accepted/tizen/3.0/ivi/20161011.044345accepted/tizen/3.0/common/20161114.110907accepted/tizen/3.0.m2/wearable/20170104.143831accepted/tizen/3.0.m2/tv/20170104.143435accepted/tizen/3.0.m2/mobile/20170104.142939tizen_3.0_tvtizen_3.0.m2accepted/tizen_wearableaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_iviaccepted/tizen_commonaccepted/tizen_3.0.m2_wearableaccepted/tizen_3.0.m2_tvaccepted/tizen_3.0.m2_mobile
- PROBLEM
We use OBS to build packages in Tizen.
There is a mechanism not to rebuild if the result binary is the same.
For example, there is a dependency graph: A->B->C.
If A is modified, B would be built.
If the result RPM of B is not changed, OBS does not trigger a build of C.
To effectively use this mechanism, each packages make sure that
the result binary should be the same if the input source is the same.
This package uses python-Cheeta package.
This python-Cheeta package prints code generation time like below:
[ 49s] -__CHEETAH_genTime__ = 1471828672.098387
[ 49s] -__CHEETAH_genTimestamp__ = 'Mon Aug 22 01:17:52 2016'
[ 49s] +__CHEETAH_genTime__ = 1471844774.503833
[ 49s] +__CHEETAH_genTimestamp__ = 'Mon Aug 22 05:46:14 2016
This timelog is not printed if we insert settings parameter:
$(CHEETAH) compile --settings='useStackFrames=False,addTimestampsToCompilerOutput=False' $<
Change-Id: Ie81694a9244974b41d2cfa4d9d8bf91641648515
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
-rw-r--r-- | kickstart/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kickstart/Makefile b/kickstart/Makefile index ce2f89e..ed2c6f7 100644 --- a/kickstart/Makefile +++ b/kickstart/Makefile @@ -8,7 +8,7 @@ TEMPLATE_MODS=$(patsubst %.tmpl,%.py,$(TEMPLATES)) all: $(TEMPLATE_MODS) %.py: %.tmpl - $(CHEETAH) compile --settings='useStackFrames=False' $< + $(CHEETAH) compile --settings='useStackFrames=False,addTimestampsToCompilerOutput=False' $< cp $@ __init__.py clean: |