Граф коммитов

543 Коммитов

Автор SHA1 Сообщение Дата
Gregory Szorc 214be74c6c Bug 1417264 - Write .mozconfig.json from Python; r=nalexander
In order to determine if we need to re-run configure, we write
a JSON file representing the evaluated mozconfig. If this JSON
file changes, configure (and config.status for that matter) is
out of data and it is re-executed.

This commit moves the generation of that JSON file to Python.

MozReview-Commit-ID: 636rpSY7gOm

--HG--
extra : rebase_source : ee1defd74decfd64ffb66a45b053dada58de04fb
2017-11-13 17:45:03 -08:00
Gregory Szorc f269a93370 Bug 1417264 - Write objdir .mozconfig from Python; r=nalexander
This is a pretty straightforward port of the logic. But we
even go a step further: we delete the file in the objdir if there is
no source mozconfig!

MozReview-Commit-ID: AHFFzy6mXRY

--HG--
extra : rebase_source : 1b9387bd72f5a8e9bf8274f5764b0db0176fdba2
extra : source : 0cab9a382d817e6fbab9daa37db0f23e7f73e71f
2017-11-13 17:31:14 -08:00
Gregory Szorc c4869e52d7 Bug 1417264 - Remove target for autoconf.mk; r=nalexander
This target isn't referenced elsewhere in client.mk. It appears to be
dead.

When this target became orphaned, I don't know. I suspect at some point
some included .mk file attempted to "include autoconf.mk." But I'm not
sure what file that would have been or when it would have changed.

FWIW, autoconf.mk is generated by config.status, courtesy of it being
listed in CONFIGURE_SUBST_FILES.

MozReview-Commit-ID: AcPrihAou11

--HG--
extra : rebase_source : 68b1b19428d0754884515c42250353bd75407784
2017-11-13 17:22:38 -08:00
Gregory Szorc e842a1e0ab Bug 1417264 - Write .mozconfig.mk file from Python; r=nalexander
The file is a filtered version of the make file that we previously
started generating for client.mk. Why there is special casing for
UPLOAD_EXTRA_FILES, I'm not sure. This smells fishy and is something
I'd like to take a look at once all code is ported out of client.mk.

The removal of the logic from client.mk meant that we could remove
a bunch of code from client.mk related to loading mozconfig files.
We can now simply include the auto-generated make file directly and
be done with it.

MozReview-Commit-ID: 4M5NElQA7iR

--HG--
extra : rebase_source : 87ed98fa62513007c6fdd2df00eb871a5a29a146
extra : source : 247617a64b7c438528f97d10c86e2f7b8cb72237
2017-11-13 16:22:42 -08:00
Gregory Szorc 8b6802b16f Bug 1417264 - Move printing of mozconfig lines to Python; r=nalexander
We write the file that client.mk is printing from Python. We can
also log it from there pretty easily. So do that.

MozReview-Commit-ID: 7eeugdOJR5b

--HG--
extra : rebase_source : 308826e948fa20684bbc40c806322f802689627e
2017-11-13 15:35:16 -08:00
Gregory Szorc fd8c53148d Bug 1416052 - Remove OBJDIR_TARGETS; r=nalexander
Now that we require mach to run client.mk and mach only invokes
client.mk for full builds (the "build" target) and configure
(the "configure" target), we should no longer have anyone using
client.mk as a proxy to make targets in the build backend.

So remove that feature.

MozReview-Commit-ID: BbaMdZHnRXy

--HG--
extra : rebase_source : 570e81a62e35cbe4ea27e011883a306f23f3024c
2017-11-09 23:31:36 -08:00
Gregory Szorc 10cdc19783 Bug 1416052 - Remove build_and_deploy target; r=nalexander
This was added before mach AFAICT. If people need this functionality,
we can add a mach command.

MozReview-Commit-ID: HL52nJE2SMQ

--HG--
extra : rebase_source : cdf67a997731e7f1f94e16aa36c3f806c09779e8
2017-11-09 23:15:03 -08:00
Gregory Szorc 2f56664d5a Bug 1416052 - Check clobber state from Python; r=nalexander
The clobber logic is already written in Python. Now that we
always use mach in front of client.mk, we can check the clobber
state before we execute client.mk.

Since we always check the clobber state, we can remove the
CLOBBER files from various dependencies in client.mk. The
clobberer code should ensure everything is in a good state.

The refactor of the clobber Python code required some changes to
its testing. We drop some support for verifying output strings.
But testing this correctly would require a bit of effort. I don't
think it is worth it.

MozReview-Commit-ID: 69CoImCgtNm

--HG--
extra : rebase_source : c925bb49fd54fe6a5abaa4ac9dc0833e139c6a57
2017-11-09 23:13:59 -08:00
Gregory Szorc ad52bc487e Bug 1416052 - Remove reference to undefined BUILD_PROJECT_ARG; r=nalexander
I'm pretty sure this was related to the now removed feature for
building multiple projects.

MozReview-Commit-ID: 4AG7lsk6BLS

--HG--
extra : rebase_source : b677a141161255ffeea57358d4f497fc05c8fb1c
2017-11-09 22:42:54 -08:00
Gregory Szorc 4c710821d7 Bug 1416052 - Remove mkdir of objdir from client.mk; r=nalexander
Now that mach is being used to invoke client.mk, we can perform
objdir directory creation there.

Removing the use of mkdir_deps meant that we could remove some
included make files which AFAICT were only used to provide
$(mkdir_deps).

MozReview-Commit-ID: 4ZRToz8xqZy

--HG--
extra : rebase_source : 8d0d2430b33863e1dec8cee84e72178307d1c6e0
extra : source : d223afd90123eba035714288d5da9394b2dbb8d8
2017-11-09 22:41:17 -08:00
Gregory Szorc 1bddd821c8 Bug 1416052 - Remove comment filtering; r=nalexander
The auto-generated make file that we include (and the `mach environment`
output that we included before that) should not contain comment lines.
I think it is safe to remove the code that filters them out.

It is possible a multi-line value in mozconfigs could contain lines
looking like comments and this may cause problems. I'm inclined to
believe that this scenario doesn't exist. If someone complains and
we need to bring back support, we could certainly do that.

MozReview-Commit-ID: 8kKw91HH4ms

--HG--
extra : rebase_source : 3fab8af7f713c91632f3d5172664832af10b555f
2017-11-09 22:26:26 -08:00
Gregory Szorc e4998a9e14 Bug 1416052 - Move export of FOUND_MOZCONFIG to Python; r=nalexander
This should have the same net result.

TBH, I'm not 100% convinced we need this export. It is only needed
to send variables to sub-makes. And the only make file reading
FOUND_MOZCONFIG is client.mk. Since the code that evals the
auto-generated make file is always executed in client.mk, we
shouldn't need this export.

All this code is going away soon anyway. So I'm inclined to cargo
cult this just in case.

MozReview-Commit-ID: DqF1BU702A

--HG--
extra : rebase_source : 31859c0d4bb6ceb06367bf0ca554d79d57d2d0c3
2017-11-09 22:23:14 -08:00
Gregory Szorc 5da7c49fc4 Bug 1416052 - Generate a make file to include in client.mk; r=nalexander
Currently, client.mk calls `mach environment` to obtain a make file
to be evaluated in the context of client.mk. The reason it is
implemented this way is because client.mk could be an entrypoint to
the build system.

With recent changes that require the use of mach to use client.mk,
we are now guaranteed to have Python code running before client.mk
is invoked. This means we don't need to invoke `mach` from client.mk.

This commit ports the code for generating a client.mk suitable make
file from `mach environment` to the build dispatcher. We now write out
a new .mozconfig-client-mk file in the objdir. client.mk is changed
to cat this file and to include it as a native make file.

The OBJDIR environment variable is also set so client.mk knows where
to read the auto-generated file from.

This commit should be backwards compatible.

Hopefully it is obvious, but this new make file is only temporary.
As soon as the remaining mozconfig logic is moved out of client.mk,
we should be able to simplify down to a single "include" in client.mk.

MozReview-Commit-ID: BEfWo76Z1qA

--HG--
extra : rebase_source : 752df93f816b95bda108a3c787d7f4941b136bbb
2017-11-09 22:27:16 -08:00
Gregory Szorc 7a18a1aaf7 Bug 1416052 - Move config.guess logic to Python; r=nalexander
Instead of evaluating config.guess in client.mk, we evaluate it
in Python. The Python code also looks for CONFIG_GUESS in the
mozconfig. This still happens in client.mk courtesy of evaling
the mozconfig's relevant parts.

MozReview-Commit-ID: 87NmQiB2ccX

--HG--
extra : rebase_source : 368bc7bf1375a3943ce62fbb77458c40091a7092
2017-11-09 16:17:35 -08:00
Gregory Szorc bf68f14cc2 Bug 1416052 - Remove make validation from client.mk; r=nalexander
MozbuildObject._run_make() also invokes baseconfig.mk as part of
validating the make binary that will be executed.

Since mach calls this Python code and mach is now required to
invoke client.mk, the validation in client.mk is redundant and can
be removed.

autoconf.mk includes baseconfig.mk. So even once we eliminate
client.mk, the make backend itself will still validate make.
We should probably move this validation to moz.configure (if it
isn't already there). But that can be done another time.

MozReview-Commit-ID: DPCBdz253S6

--HG--
extra : rebase_source : 8588738c517bd636039555299095981c71722600
2017-11-13 14:38:40 -08:00
Gregory Szorc 6440692f13 Bug 1416052 - Pass TOPSRCDIR into client.mk; r=nalexander
MozReview-Commit-ID: B5TfneZRan7

--HG--
extra : rebase_source : 60f70e7ea656d58658fc5b609a36ada0b3fbbc02
2017-11-09 15:50:32 -08:00
Gregory Szorc 849633c17f Bug 1416034 - Refuse to run client.mk unless using mach; r=ted
We will soon begin the process of moving logic from client.mk
into mach. Once we start this process, it won't be possible to
invoke client.mk in isolation.

This commit introduces a check in client.mk that will error unless
client.mk is executed from mach. This should help more easily
identify users of client.mk during the transition period - before
client.mk is removed and callers start getting missing file errors.

Obviously the check can be bypassed easily. If someone does this,
upcoming changes will quickly break that workflow. So this isn't a
big deal.

MozReview-Commit-ID: JB7hXlvTKWe

--HG--
extra : rebase_source : 97774adcf9253ec8f6a3a2a4576dfb9c66a52d7c
2017-11-09 15:03:57 -08:00
Gregory Szorc 12117b97f4 Bug 1416020 - Remove echo-variable-% target from client.mk; r=nalexander
AFAICT this is unused.

There are some mozharness consumers that evaluate an echo-variable-*
target. However, I believe they are hitting the target from debugmake.mk
and not going through client.mk.

MozReview-Commit-ID: 9XjykFMRpsT

--HG--
extra : rebase_source : edc9be971ddb0384408652fd04f550d7d8e51aa6
2017-11-09 14:26:55 -08:00
Gregory Szorc dd1abecfec Bug 1416020 - Remove unused variables from client.mk; r=nalexander
The last use of PERL was removed recently.

The last use of comma was removed by c8276e89a513 in 2008.

The last use of SH was... never AFAICT. The variable was
defined but unused in the initial import of client.mk from CVS
in 1998.

MozReview-Commit-ID: LFqcVRf36wf

--HG--
extra : rebase_source : 5a32c1969870c29065c80a94ba3f20ba3873569f
2017-11-09 14:19:41 -08:00
Gregory Szorc c7987e69a4 Bug 1415971 - Remove MOZ_PREFLIGHT_ALL and MOZ_POSTFLIGHT_ALL; r=nalexander
After removing sccache.mk, there are no more references to these
variables. Let's nuke them.

MozReview-Commit-ID: LH1oHm59SnU

--HG--
extra : rebase_source : 5138ddd703350caa5f54fe8941a2e0dcb9dc2c17
2017-11-09 13:56:48 -08:00
Gregory Szorc 67d153aef0 Bug 1415971 - Inline sccache.mk into client.mk; r=nalexander
sccache.mk is the only thing that uses MOZ_PREFLIGHT_ALL and
MOZ_POSTFLIGHT_ALL. We're trying to kill client.mk and these
variables are next on the chopping block.

This commit essentially moves the logic of sccache.mk inline into
client.mk. Initially, I wanted to move the management of the
sccache daemon to Python as part of what `mach build` invokes.
However, the sccache daemon needs access to the make jobserver.
Since we don't have an active make process in `mach`, this is
obviously problematic. The sccache daemon is also used by
configure, which is launched from client.mk. So the best we
can do right now is move the sccache daemon logic into client.mk.

As part of the port, we pass the path to the sccache binary via
an environment variable. This feels slightly better than hardcoding
the path that automation uses.

MozReview-Commit-ID: zcOYR4I1OG

--HG--
extra : rebase_source : 305a237dc9f5bd96e4aa83d491ac2498fe3c3ba0
2017-11-09 14:59:06 -08:00
Gregory Szorc b954c1f10b Bug 1415335 - Remove clobber target; r=nalexander
It was just an alias for "clean," which is proxied to the root
Makefile. `mach clobber` should be used instead.

MozReview-Commit-ID: A8tHaNb7H1z

--HG--
extra : rebase_source : 455206b5a609e5a598c9b6453869d115538c5d19
extra : source : e71fba9d0818cde1f83782b4a18f253f84b1a70e
2017-10-30 17:27:06 -07:00
Gregory Szorc 989efa7a51 Bug 1415335 - Move Windows line endings detection to configure; r=nalexander
This doesn't need to be in client.mk.

Also, we inline the info to help people correct the failure, as this
results in a better user experience.

MozReview-Commit-ID: KURL3RIGzKf

--HG--
extra : rebase_source : dc79d3f6aa4e91a12cab0e26d5fc0a3e15afa833
extra : source : 2eceb30625acd8cfadda0baa6326a7e9fd07dece
2017-11-07 17:16:39 -08:00
Gregory Szorc 6ff5d5762b Bug 1415335 - Move spaces in path check to configure; r=nalexander
Checks like this are what configure is for.

In addition to moving the check, we also validate topobjdir as well.

MozReview-Commit-ID: 9sVNQJsAnjO

--HG--
extra : rebase_source : 688961fffca5922c7186c0d39182de7220f7dbe3
extra : source : d9a4ea9bc34a1e0c710469fc0a556ed624ea387b
2017-10-30 16:35:04 -07:00
Gregory Szorc 033eb6d9e0 Bug 1415335 - Remove build_all and clobber_all targets; r=nalexander
I suspect these were related to MOZ_BUILD_PROJECTS, which has been
removed.

MozReview-Commit-ID: DvwwTrczQWv

--HG--
extra : rebase_source : e4bb52e966bc78eb2843c499436c523c43a8a7f3
extra : source : 5b5b2a1c0af35d36cedeed50c94efb9d84a8a251
2017-10-30 15:50:29 -07:00
Gregory Szorc 9e26b9fde3 Bug 1412932 - Switch to PGO build in Makefile.in; r=ted
Previously, client.mk made the decision of whether to perform a PGO
build. This required passing around MOZ_PGO and invoking a separate
make target if this variable was set.

In this commit, we move this logic to Makefile.in. We employ a special
mechanism in rules.mk to override the default make target so
`make` evaluates "profiledbuild" if MOZ_PGO is set. This also
required using an explicit target for $(MAKE) invocations inside
the "profiledbuild" rule to avoid infinite recursion.

MozReview-Commit-ID: 8sHiVspMisM

--HG--
extra : rebase_source : 76c8a0c592015802f2b9ad52fe2001012a4611f6
extra : source : 24e28b37fbc0ad55ee449699e09c62042af41b55
2017-11-07 16:38:39 -08:00
Gregory Szorc b95c15093f Bug 1412932 - Remove realbuild target from client.mk; r=ted
Before, the default "build" target either invoked "realbuild" or
"profiledbuild" depending on whether MOZ_PGO was set. Now that
PGO is handled by Makefile.in, we only have "realbuild" and there
is no need to have a recursive invocation of client.mk. So we
merge "realbuild" into "build."

MozReview-Commit-ID: IIX8iAXlsD1

--HG--
extra : rebase_source : b9eb0753b8b214d56f9bee44350899c2dae46969
extra : source : 7d58979b22f8539bd8931e580745999f4ab17887
2017-11-07 15:08:26 -08:00
Gregory Szorc 67864be6bd Bug 1412932 - Move PGO logic from client.mk into root Makefile.in; r=ted
client.mk is going away. This commit moves the PGO build target out of
it.

We move the code to Makefile.in. This likely isn't its final
home, as we'll want to eliminate Makefile.in at some point. However,
it is easier to move things to the root Makefile.in than other
alternatives. Keep in mind that the logic needs access to primitives
like BUILDSTATUS and variables from mk_add_options, which the
Makefile.in mechanism has easy access to.

MozReview-Commit-ID: 4C43lBhZz4l

--HG--
extra : rebase_source : 0ff1e95dcf8cb0082b019713db0cb7f47f0bccb8
extra : source : 0d2083b8edc43fc13c77f71199e0fcaddb32fcfb
2017-11-07 15:08:11 -08:00
Gregory Szorc 44d013856d Bug 1412932 - Don't go through client.mk for maybe_clobber_profiledbuild; r=ted
This target is simply proxied. We don't need to go through client.mk to
evaluate it.

MozReview-Commit-ID: 3LF7e8LN8p0

--HG--
extra : rebase_source : 597591cce0ac75b541d67ae7a4f706222f8bcbeb
extra : source : 6942a82a95ff0d8d0c0ee660497cc15fe874e6eb
2017-11-07 15:07:52 -08:00
Gregory Szorc af215ea33e Backed out changeset c6c4fb4b0fef (bug 1412460); a=bustage
I'm able to produce a build failure with this changeset on one of
my machines. I guess the checks weren't as redundant as I thought...

CLOSED TREE

--HG--
extra : amend_source : 564add1404e09ca023c3347f3ce20be407dffa82
2017-11-01 15:55:35 -07:00
Gregory Szorc be9770f18d Bug 1412460 - Remove targets related to VCS operations; r=mshal
These targets no longer exist in client.mk. I'm not sure when they
were removed. But this is obviously dead code.

A target in rules.mk pointing back to this target in client.mk has
also been removed.

MozReview-Commit-ID: 5v1MOOTP3qq

--HG--
extra : rebase_source : b90f0788b074330b45005223f41c804589d13163
2017-11-01 15:05:50 -07:00
Gregory Szorc d8c6fd5a86 Bug 1412460 - Remove everything target; r=mshal
Our march towards nuking client.mk continues.

MozReview-Commit-ID: FdlPOjStBeR

--HG--
extra : rebase_source : e7dfcbdf7323cfcc9c479d7c30e49e257116ab43
2017-10-27 17:22:06 -07:00
Gregory Szorc 8994099266 Bug 1412460 - Simplify config.guess invocation; r=mshal
The config.guess file is checked into source control. I'm not sure
under what conditions we wouldn't fail to find this file. So the
$(wildcard) shouldn't be necessary.

MozReview-Commit-ID: KCctPFW3Eab

--HG--
extra : rebase_source : 2b9f674bdffc95ac4e1999f9a5d8b7ffa13e8d74
2017-10-27 16:05:03 -07:00
Gregory Szorc 2114c2bc81 Bug 1412460 - Remove unused CONFIG_CACHE variable; r=mshal
This likely became unused with the port to moz.configure.

MozReview-Commit-ID: FoIDg6Q2K4J

--HG--
extra : rebase_source : 1dd55aebaeae9d9e7d4704d13c86c4a545a72165
2017-10-27 13:56:55 -07:00
Gregory Szorc 088e51c413 Bug 1412460 - Remove redundant configure dependency checking in client.mk; r=mshal
moz.configure invokes autoconf to generate old-configure. As part of this
it checks mtimes of dependencies. The logic in client.mk is old and
redundant. So remove it.

MozReview-Commit-ID: FG2lWiIjKqV

--HG--
extra : rebase_source : 779a7ffb076ce15a76fe2e675695943d43c5c454
2017-10-27 13:51:05 -07:00
Gregory Szorc 2dd5f0445f Bug 1412460 - Update client.mk comments to match reality; r=mshal
We don't want to encourage people to use client.mk.

MozReview-Commit-ID: 53uLrINdHJE

--HG--
extra : rebase_source : ad96b67e867d7574f54475599a0c744df7eaa5e0
2017-10-27 13:10:12 -07:00
Gregory Szorc 7d078ee731 Bug 1412431 - Remove support for MOZ_BUILD_PROJECTS; r=nalexander
This was mainly used to support Universal MacOS builds, which were
removed several months ago.

In theory, someone could be using this feature to build multiple
applications with one build system invocation. But given that client.mk
is no longer the preferred interface to the build system and multiple
applications can be built by running `mach build` with different
mozconfigs, I don't think support for this feature is worth keeping.

This commit removes support for MOZ_BUILD_PROJECTS and related
functionality from client.mk. Support for recognizing
MOZ_CURRENT_PROJECT in configure and mozconfig evaluation has also
been removed. This includes support for the ac_add_app_options
mozconfig function.

Good riddance.

MozReview-Commit-ID: 7xI2jYxDFFr

--HG--
extra : rebase_source : 91068f3b8ae32fbcda4defb5d4bb086a04387598
2017-10-27 15:20:34 -07:00
Gregory Szorc e49a038fb6 Bug 1412431 - Remove support for MOZ_PREFLIGHT and MOZ_POSTFLIGHT; r=nalexander
These variables are unused in the repo. The %_ALL variation is used for
sccache, however.

The last use of these variables was removed when support for MacOS
universal builds was removed.

Someone somewhere may be relying on this functionality. But I don't
think it is worth continuing to support in client.mk. If someone
really needs it, we can reintroduce support for the feature elsewhere,
like in mach or via mozconfig support somehow.

MozReview-Commit-ID: 4KznCmK3JTN

--HG--
extra : rebase_source : 656008f9b4264768a2127fcffdb2ab28ff92991f
2017-10-27 14:55:31 -07:00
Gregory Szorc 87b09eb674 Bug 1412431 - Remove MOZ_UNIFY_BDATE; r=nalexander
There are no references to this variable outside client.mk. AFAICT
it is unused.

The only reasonable justification for retaining this support IMO was
Universal MacOS builds. And those are no longer supported.

MozReview-Commit-ID: 9MnC18Bd1ge

--HG--
extra : rebase_source : 16c96dfceffb89434489b79f3f4ca2c48506840f
2017-10-27 14:49:25 -07:00
Chris Manchester ab96a4dea9 Bug 1386739 - Only pass --output-sync=line to make in automation. r=gps
MozReview-Commit-ID: BN8nJv1wAr0

--HG--
extra : rebase_source : ab5ead968ec890fd4ad728f1282bbcb57742dfb8
2017-08-15 12:30:28 -07:00
Chris Manchester 35584ea463 Bug 1382511 - Add --output-sync=line to MOZ_MAKE_FLAGS where available. r=glandium
MozReview-Commit-ID: 27FK7x0NcHR

--HG--
extra : rebase_source : 5fbe0443c84e33f12ce917165762591a0cb1f213
2017-07-25 17:23:25 -07:00
Chris Manchester eb8660f21f Bug 1317778 - Emit a depfile with python configure dependencies so Make will know when to re-run configure. r=glandium
MozReview-Commit-ID: AuTHadY7KqO
2016-12-02 10:05:57 -08:00
Mike Hommey 8275fe55fb Bug 1296530 - Bustage followup part deux; r=gps
--HG--
extra : amend_source : 0e5eb63160d1fba3b185f0c829a32448f409a4ee
2016-10-17 15:57:46 -07:00
Mike Hommey 0a56fe18d4 Bug 1295751 - Make it possible to copy configure.in to configure. r=gps
MozReview-Commit-ID: 4Sjr7mWcMIN

--HG--
extra : rebase_source : 4c46a4853eaba6216751d71d3c507a431fd24d7e
2016-08-16 19:35:00 -07:00
Mike Hommey 811693f3aa Bug 1292069 - Remove the cleansrcdir target. r=gps
It has not been useful since we removed the possibility to build in the
source directory.

--HG--
extra : rebase_source : 479100785c8253ea3e255ebbda4b3538e8ed33ff
2016-08-04 17:34:05 +09:00
Mike Hommey 721ada9f07 Bug 1278415 - Ensure MOZ_CURRENT_PROJECT is set when running make directly in objdir. r=gps
The topobjdir-finding logic in mozbuild relies on MOZ_CURRENT_PROJECT
being set, and it's currently only set when going through client.mk.

On automation, during universal builds, make check is invoked directly
in one of the objdirs, so MOZ_CURRENT_PROJECT is not set. We've had
other similar problems in the past. Ensuring MOZ_CURRENT_PROJECT is set
in the objdir itself should reduce the risk of other such issues in the
future.
2016-06-16 11:43:30 +09:00
Mike Hommey a9067e9211 Bug 1244446 - Run automation build steps before postflight_all. r=gps,r=ted
Killing the sccache background daemon is part of postflight_all, but in
the current setup, postflight_all happens at the end of a "normal" build,
but we run automation build steps after that.

What happens then is that more compilations happen (gtests), which start
sccache again, but there's nothing to kill sccache again once this is
all done.

Now that the OSX universal builds postflight is gone, it is not
necessary for postflight_all to happen before the automation build steps.
So ensure postflight_all scripts happen last.

The downside of this change is that this now prevents sccache.log from
being uploaded, but we should probably send processed data to the graph
server instead.
2016-06-07 07:41:22 +09:00
Carsten "Tomcat" Book c51c48ac35 Backed out changeset 1d2c46c8c7c7 (bug 1244446) 2016-06-06 14:28:44 +02:00
Mike Hommey 8fdf97ddfe Bug 1244446 - Run automation build steps before postflight_all. r=gps,r=ted
Killing the sccache background daemon is part of postflight_all, but in
the current setup, postflight_all happens at the end of a "normal" build,
but we run automation build steps after that.

What happens then is that more compilations happen (gtests), which start
sccache again, but there's nothing to kill sccache again once this is
all done.

Now that the OSX universal builds postflight is gone, it is not
necessary for postflight_all to happen before the automation build steps.
So ensure postflight_all scripts happen last.

The downside of this change is that this now prevents sccache.log from
being uploaded, but we should probably send processed data to the graph
server instead.
2016-06-06 14:18:39 +09:00
Chris Manchester c5d43daf24 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
2016-04-15 09:17:40 -07:00