From: Junghyun Kim Date: Tue, 30 Aug 2016 10:09:21 +0000 (+0900) Subject: Do not print timestamp in python-Cheeta by setting an argument. X-Git-Tag: accepted/tizen/3.0.m2/mobile/20170104.142939^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F70%2F86070%2F2;p=platform%2Fupstream%2Fkickstarter.git Do not print timestamp in python-Cheeta by setting an argument. - 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 --- 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: