Commit Graph

163 Commits

Author SHA1 Message Date
Mike Hommey
4fda2da4f7 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
f0d7bf3b0d Bug 1033958 - Avoid running configure on every build when mozconfig changes $PATH. r=gps 2014-07-04 08:07:24 +09:00
Mike Hommey
6f03a33e5f 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
b02a375963 Bug 1027890 - Remove all sorts of build system code dedicated to pymake. r=gps 2014-06-25 08:38:28 +09:00
Brian Smith
2ea2825f08 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
d9ec170da8 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
f59abd2745 Bug 1027890 - Remove all sorts of build system code dedicated to pymake. r=gps 2014-06-25 08:38:28 +09:00
Mike Shal
3c20629a8d Bug 978211 - add an automation/build target for post-build steps; r=glandium 2014-05-16 14:37:31 -04:00
Mike Hommey
4f92c0b465 Bug 1006956 - Disable sccache on non-try PGO builds. r=mshal 2014-05-15 07:14:37 +09:00
Gabriele Svelto
0be89c007b 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
73d979e930 Bug 991976 - Only fail creating .mozconfig.mk once. r=mshal 2014-04-04 14:57:36 +09:00
Mike Hommey
af0433c9f0 Bug 990848 - Ensure .mozconfig.mk is created after clobbering. r=mshal 2014-04-02 11:52:49 +09:00
Mike Hommey
925edbca14 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
aed2edde4f 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
bf60896454 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
Alexandros Chronopoulos
812cab8197 Bug 704316 - Remove reference to deleted mozilla-dos2unix. r=ted 2013-11-17 12:02:55 +02:00
Mike Hommey
89522e92e0 Bug 915537 - Fix mach build --jobs. r=gps 2013-11-16 13:40:03 +09:00
Mike Hommey
e14c138103 Bug 925605 - Allow to build with a special build of GNU make on windows. r=gps 2013-10-16 08:34:18 +09:00
Wes Kocher
e36f9ab572 Backed out changeset 5f0bfb16fa4a (bug 925605) 2013-10-15 16:57:00 -07:00
Mike Hommey
a83240dce1 Bug 925605 - Allow to build with a special build of GNU make on windows. r=gps 2013-10-16 08:34:18 +09:00
Mike Hommey
dd4cb679cf Bug 926900 - Remove msys-make specific mozconfig. r=gps 2013-10-16 08:31:18 +09:00
Gregory Szorc
d2658b6a1f Bug 794506 - Part 1: Move virtualenv code under mozbuild; r=ted
--HG--
rename : build/virtualenv/packages.txt => build/virtualenv_packages.txt
rename : build/virtualenv/populate_virtualenv.py => python/mozbuild/mozbuild/virtualenv.py
2013-09-20 15:46:23 -07:00
Mike Hommey
3cfeb24495 Bug 913246 - Fix configure with relative MOZCONFIG. r=gps 2013-09-06 11:24:43 +09:00
Mike Hommey
d4f7f10fed Fixup for bug 911634. r=gps 2013-09-05 09:18:49 +09:00
Mike Hommey
77175c0058 Bug 911936 - Kill make depend. r=gps 2013-09-05 09:01:45 +09:00
Mike Hommey
c05cf63484 Bug 911634 - Create a .mozconfig.mk in the objdir when starting a build, and include it from config.mk. r=gps 2013-09-05 09:01:44 +09:00
Mike Hommey
d8476755d5 Back out changeset 6fe5a446b775 (bug 903118) 2013-09-05 09:01:44 +09:00
Mike Shal
b2f26a0d64 Bug 903118 - set mozconfig environment variables for sub-makes; r=gps 2013-08-14 09:34:18 -04:00
Mike Hommey
83235b061d Bug 873640 - Fix and cleanup profiledbuild profile script invocation. r=ted 2013-05-21 08:28:49 +02:00
Gregory Szorc
8d30d5aabf Bug 828317 - Require pymake to build on Windows; r=ted 2013-03-06 12:05:24 -08:00
Ed Morley
da2e785663 Bug 863091 - Make auto clobbering opt-in rather than opt-out; r=glandium
To avoid surprises for devs building locally, auto clobbering is now opt-in, via
the use of |mk_add_options AUTOCLOBBER=1| in the mozconfig. Our automation uses
build/mozconfig.common which specifies this, so auto clobber will remain enabled
for our buildbot machines.
2013-04-25 13:41:17 +01:00
Gregory Szorc
224d5bb176 Bug 837323 - Automatically clobber when CLOBBER is updated; r=ted, glandium 2013-03-29 10:34:58 -07:00
Ryan VanderMeulen
f7ffa9c846 Backed out changesets 206bb159d62f, a6ab3e11f721, and a61aa08ab4ac (bug 837323) for frequent Windows fatal clobber errors on a CLOSED TREE. 2013-04-08 09:59:45 -04:00
Gregory Szorc
1587b16d98 Bug 837323 - Automatically clobber when CLOBBER is updated; r=ted 2013-03-29 10:34:58 -07:00
Gregory Szorc
01c06b3b88 Bug 784841 - Part 19: Remove allmakefiles.sh and friends; r=ted 2013-02-25 14:09:16 -08:00
Mike Hommey
ab10e4ced9 Bug 840094 - Change how nsZipArchive logging works. r=taras,r=gps
Now log in a single file given by the MOZ_JAR_LOG_FILE environment variable.
Log entries contain the URI of the Zip archive, followed by the path in the
archive.
* * *
Bug 840094 - Fixup for debug builds failure because of nsZipArchive::CloseArchive being called several times
2013-02-19 11:02:12 +01:00
Jeff Hammel
87e74836ed Bug 830996 - implement a way to DRY mozbase packages for m-c;r=gps
--HG--
extra : rebase_source : 47c989854e95e0df97f3af656bba83a91bbef33a
2013-01-25 21:51:08 -08:00
Benoit Girard
dd62dda854 Bug 717372 - The clobber information should live in the tree; r=khuey 2012-03-13 13:00:24 -04:00
Gregory Szorc
207781f9e7 Bug 815219 - Part 1: Automatically build using all available processor cores; r=ted 2012-11-27 14:01:17 -08:00
Ehsan Akhgari
0c0ae92a26 Backed out changeset 6b87b58ff491 (follow-up to bug 793953) because of make insanity
DONTBUILD this, like the ones before it
2012-09-26 15:47:11 -04:00
Ehsan Akhgari
52cb0fb2c5 Bug 793953 follow-up: use the ?= syntax to get rid of the explicit condition; irc-r=glandium
DONTBUILD this either!
2012-09-26 15:15:41 -04:00
Ehsan Akhgari
bf785029a8 Bug 793953 - Support autoconf2.13 installed through fink; r=khuey
DONTBUILD
2012-09-25 00:17:32 -04:00
Siddharth Agarwal
a92e1eae57 Bug 781431 - A few minor build system improvements. r=ted
1. mozconfig2client-mk still refers to $HOME/.mozconfig, even though we
removed it a while ago. Thanks to Neil for pointing it out.
2. MOZCONFIG_FIND and MOZCONFIG_MODULES are no longer used by client.mk.
3. Make CONFIG_GUESS a script that runs just once per client.mk invocation.

--HG--
extra : rebase_source : ec75ebcc5cea004f64abafb8a219e828234237de
2012-08-15 22:06:43 +05:30
Siddharth Agarwal
316d62f76e Bug 780222 - Address review comment. 2012-08-07 02:46:02 +05:30
Siddharth Agarwal
39c43d0d6c Bug 780222 - Remove redundant check-sync-dirs call in js/src/Makefile.in. r=ted
--HG--
extra : rebase_source : 05faaef0dfb039ff5405fb756bcbd3267f476a3f
2012-08-07 02:38:38 +05:30
Siddharth Agarwal
72385ee806 Bug 779922 - Export Windows-style paths in the in-tree mozconfig.vs2010 when building under Pymake. r=ted
--HG--
extra : rebase_source : bb3dff7e94b53efe79801a2b3bfc6cd78ef47ac3
2012-08-07 02:37:11 +05:30
Siddharth Agarwal
41ac5ef842 Bug 780421 - Use $(PYTHON) to run config.status. r=glandium 2012-08-05 12:42:57 +02:00
Mike Hommey
98cf7cdf43 Bug 774032 part 6 - Replace autoconf handling of config files and headers with our own. r=ted 2012-08-04 08:47:28 +02:00
Gregory Szorc
1f49b8a98d Bug 774106 - Don't use Makefile.in to populate virtualenv; r=glandium 2012-07-23 00:19:30 -07:00
Mike Hommey
629207471b Bug 772841 - Use make package instead of make stage-package before profile run, but avoid package signing. r=ted,r=catlee 2012-07-13 00:02:12 +02:00