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

514 Коммитов

Автор SHA1 Сообщение Дата
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
Mike Hommey eb64e3f2f7 Followup for bug 1264129 - Give the executable bit to configure. r=me
Also touch old-configure.in and js/src/old-configure.in to force
configure and js/src/configure to be updated.
2016-04-13 10:43:06 +09:00
Mike Hommey f6afb516c8 Bug 1264129 - Use sed to update configure from configure.in, instead of autoconf. r=gps
The configure.in is a small wrapper around python configure, that is
still a m4 script so that people running autoconf manually can still
do so without breaking their stuff (and we have jobs that do that
on automation as well).

But considering how simple the m4 is, to avoid having the autoconf
checking code twice (once in client.mk and once in
build/moz.configure/old.configure), we can just process it with sed
instead of autoconf.
2016-04-13 10:07:52 +09:00
Gregory Szorc ecfbed3062 Bug 1253057 - Record PGO phases as build tiers; r=ted
This will enable each PGO phase to show up in mach's resource reporting,
making it easier to compare PGO runtime across machines. This does
confuse the rendering of `mach resource-usage` a bit since it doesn't
know how to handle overlapping tiers. But the raw data is captured as
expected. I don't think `mach resource-usage` is that heavily used right
now, so I don't care about a minor regression for PGO builds.

MozReview-Commit-ID: HalvEwITmif

--HG--
extra : rebase_source : 5c27c6bda814cd61c0da792d9336980dc4f530a9
2016-03-03 09:47:44 -08:00
Mike Hommey 7df9087b2b Bug 1250294 - Make configure a Python script that invokes the old configure.sh. r=ted
--HG--
rename : js/src/configure.in => js/src/old-configure.in
rename : configure.in => old-configure.in
2016-02-25 07:22:33 +09:00
Mike Hommey fd36539df9 Bug 1246881 - Generate a header defining MOZ_BUILDID. r=mshal 2016-02-12 07:15:55 +09:00
Mike Hommey b81437ebb1 Fixup for bug 1188766 for valgrind bustage on a CLOSED TREE. r=me 2015-08-11 07:45:36 +09:00
Mike Hommey cb7ad8ebc8 Bug 1188766 - Avoid exporting UPLOAD_EXTRA_FILES from mozconfig. r=mshal
The way UPLOAD_EXTRA_FILES is currently exported makes the files added
to the list added in each directory that is being traversed recursively
because of the += in .mozconfig.mk, combined with "export".

The easy way out is to remove the export altogether, but being unsure of
the side effects of putting all non exported mk_add_options variables
in .mozconfig.mk, limit this to UPLOAD_EXTRA_FILES.
2015-08-11 07:22:31 +09:00
Sylvestre Ledru 2cfaca06a1 Bug 1176533 - Rename the variable MOZ_APP_VERSION_ABOUT for something more general r=glandium
--HG--
rename : browser/config/version_about.txt => browser/config/version_display.txt
2015-07-11 19:37:54 -06:00
Sylvestre Ledru 129cd51990 Bug 1175148 - Retrigger the build when version_about.txt is touched r=glandium
--HG--
extra : rebase_source : 84c11a2d557ea5b7a4f186212d53330f1dffd486
2015-06-17 12:46:28 +02:00
Arnaud Sourioux 793d15a613 Bug 1077622 - Fixes cp missing operand message if no .mozconfig found r=glandium
--HG--
extra : rebase_source : a0abb840acf92079696b2f69219ff30e3bdfa90c
2015-03-02 10:09:00 +01:00
Mike Hommey 1ca74b7577 Bug 1082323 - Reject pymake in client.mk. r=mshal 2014-10-14 14:19:02 +09:00
Mike Hommey a708c2466e Backed out changeset b30422149e3e (bug 1082323) because this version is terribly broken. 2014-10-15 14:55:36 +09:00
Mike Hommey d3873016bb Bug 1082323 - Reject pymake in client.mk. r=mshal 2014-10-15 14:49:09 +09:00
Mike Hommey 8648e9ccc2 Bug 1071438 - Make client.mk detect python like configure and mach do. r=mshal 2014-09-24 07:57:10 +09:00
Mike Hommey eedb419830 Bug 1042432 - Change how UPLOAD_EXTRA_FILES is passed down from mozconfig.cache to the build system. r=mshal 2014-08-14 07:15:35 +09:00
Mike Hommey ab753cf81e Bug 1033958 - Avoid running configure on every build when mozconfig changes $PATH. r=gps 2014-07-04 08:07:24 +09:00
Mike Hommey bc0709dc9e Bug 762358 - Re-run configure when mozconfig changed in a significant way. r=gps
This adds a format option to mach environment and uses it in client.mk to
create a .mozconfig.json in the objdir, containing all the relevant data
from mozconfig. If the mozconfig doesn't change in a way that alters that
data, we still skip configure.

At the same time, use mach environment in place of mozconfig2configure and
mozconfig2client-mk, which makes us now have only one mozconfig reader.

Also, in the mozconfig reader, keep track of environment variables (as
opposed to shell variables), so that changes such as a variable that was
exported not being exported anymore is spotted. At the opposite, in order
for irrelevant environment variable changes not to incur in re-running
configure, only a set of environment variables are stored when they are
unmodified. Otherwise, changes such as using a different terminal window,
or even rebooting, would trigger reconfigures.

Finally, make mach environment emit both MOZ_OBJDIR and OBJDIR for
client.mk, and cleanup some objdir-related things in client.mk..
At the same time, make the mozconfig reader take MOZ_OBJDIR from the
environment if it is defined there and not in the mozconfig.
2014-07-03 07:15:31 +09:00
Mike Hommey b161fa67a5 Bug 1027890 - Remove all sorts of build system code dedicated to pymake. r=gps 2014-06-25 08:38:28 +09:00
Brian Smith ac290368ad Bug 883339: Enable "mach gtest" on Windows, but leave GTest disabled for "make check", r=glandium
--HG--
extra : rebase_source : e62eac1e5e70293d3c9df5406c996097abccbd3a
2014-06-08 19:00:58 -07:00
Wes Kocher b683b68251 Backed out 2 changesets (bug 1027890) for B2G Windows Build bustage on a CLOSED TREE
Backed out changeset bcd694f0e95d (bug 1027890)
Backed out changeset 49cadfcde709 (bug 1027890)
2014-06-24 18:33:46 -07:00
Mike Hommey 195a1f903a Bug 1027890 - Remove all sorts of build system code dedicated to pymake. r=gps 2014-06-25 08:38:28 +09:00
Mike Shal 0bfb7d3b01 Bug 978211 - add an automation/build target for post-build steps; r=glandium 2014-05-16 14:37:31 -04:00
Mike Hommey 554588845b Bug 1006956 - Disable sccache on non-try PGO builds. r=mshal 2014-05-15 07:14:37 +09:00
Gabriele Svelto f3dc543fc2 Bug 888698 - Make client.mk pass the top-level -j parameter to the recursive invocations. r=glandium 2014-04-25 19:19:24 +02:00
Mike Hommey 4ab29954d0 Bug 991976 - Only fail creating .mozconfig.mk once. r=mshal 2014-04-04 14:57:36 +09:00
Mike Hommey 686f6935cf Bug 990848 - Ensure .mozconfig.mk is created after clobbering. r=mshal 2014-04-02 11:52:49 +09:00
Mike Hommey 71a7b66679 Bug 950298 - Make the js build system use top-level as its root objdir. r=gps 2014-01-14 07:38:40 +09:00
Cykesiopka 57737a4401 Bug 835150 - Remove fast-package make target and references to MOZ_FAST_PACKAGE. r=mshal 2013-12-12 17:36:59 -05:00
Mike Hommey 881a7c1554 Bug 943728 - Replace double quotes with single quotes in Makefiles (or remove them when it makes sense). r=mshal 2013-12-03 06:34:21 +09:00