Skip to content

Commit

Permalink
Bug 1264703 - Add configure as a tier to build metrics. r=gps
Browse files Browse the repository at this point in the history
This adds a "tier" to build status that measures the time to run configure
and config.status.

MozReview-Commit-ID: GxAD5ucjlUI
  • Loading branch information
chmanchester committed Apr 15, 2016
1 parent 73cdc05 commit c5d43da
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c5d43da

Please sign in to comment.