Bug 1094566 - Do not overwrite buildid on the compilation phase of PGO builds. r=mshal
☠☠ backed out by c7e3ead01a36 ☠ ☠
authorMike Hommey <mh+mozilla@glandium.org>
Fri, 07 Nov 2014 10:16:42 +0900
changeset 214434 92503c3d379bd7e8d6b80bae57fe0177af68bacf
parent 214433 5cfd7d00e994e7b5968b30be07dc5bdb2ad87e58
child 214435 99aa737baeb9f6ece4593eff23d7ed363d6a3b47
push id51491
push usermh@glandium.org
push dateFri, 07 Nov 2014 01:34:30 +0000
treeherdermozilla-inbound@e3fac34f5ecb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmshal
bugs1094566
milestone36.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1094566 - Do not overwrite buildid on the compilation phase of PGO builds. r=mshal
config/Makefile.in
--- a/config/Makefile.in
+++ b/config/Makefile.in
@@ -43,25 +43,27 @@ HEADERS_TARGET := export
 INSTALL_TARGETS += HEADERS
 endif
 
 include $(topsrcdir)/config/rules.mk
 
 HOST_CFLAGS += -DUNICODE -D_UNICODE
 
 ifndef JS_STANDALONE
+ifndef MOZ_PROFILE_USE
 # Generate a new buildid every time we "export" in config... that's only
 # supposed to be once per-build!
 export::
 ifdef MOZ_BUILD_DATE
 	printf '%s' $(MOZ_BUILD_DATE) > buildid
 else
 	$(PYTHON) $(topsrcdir)/toolkit/xre/make-platformini.py --print-buildid > buildid
 endif
 endif
+endif
 
 ifdef WRAP_SYSTEM_INCLUDES
 export-preqs = \
   $(call mkdir_deps,system_wrappers) \
   $(NULL)
 
 export:: $(export-preqs)
 	$(PYTHON) -m mozbuild.action.preprocessor $(DEFINES) $(ACDEFINES) \