Bug 1264703 - Add configure as a tier to build metrics. r=gps

This adds a "tier" to build status that measures the time to run configure
and config.status.

MozReview-Commit-ID: GxAD5ucjlUI
This commit is contained in:
Chris Manchester 2016-04-15 09:17:40 -07:00
Родитель 73cdc0519a
Коммит c5d43daf24
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -367,12 +367,15 @@ ifdef FOUND_MOZCONFIG
endif
configure:: $(configure-preqs)
$(call BUILDSTATUS,TIERS configure)
$(call BUILDSTATUS,TIER_START configure)
@echo cd $(OBJDIR);
@echo $(CONFIGURE) $(CONFIGURE_ARGS)
@cd $(OBJDIR) && $(BUILD_PROJECT_ARG) $(CONFIGURE_ENV_ARGS) $(CONFIGURE) $(CONFIGURE_ARGS) \
|| ( echo '*** Fix above errors and then restart with\
"$(MAKE) -f client.mk build"' && exit 1 )
@touch $(OBJDIR)/Makefile
$(call BUILDSTATUS,TIER_FINISH configure)
ifneq (,$(MAKEFILE))
$(OBJDIR)/Makefile: $(OBJDIR)/config.status