Commit Graph

12 Commits

Author SHA1 Message Date
Chris Manchester
fa67d2cfe6 Bug 1269517 - Fix various environment variables that may contain posix-style paths when invoking the js subconfigure. r=glandium
MozReview-Commit-ID: IuxdjO2P9aQ
2016-07-26 15:27:19 -07:00
Mike Hommey
4803596ddf Bug 1257468 - Add --enable-project=js when calling configure for js/src from subconfigure.py. r=gps
subconfigure.py shortcuts js/src/configure to avoid a msys transition
breaking the environment. But js/src/configure passes an extra
--enable-project=js that subconfigure.py currently doesn't pass.

And because in some cases, MOZ_BUILD_APP is set in the environment
(notably, in OSX universal builds, through client.mk), we need to
unset it before calling the subconfigure.
2016-03-22 11:09:32 +09:00
Mike Hommey
b03a3ad4da Bug 1250294 - Make configure a Python script that invokes the old configure.sh. r=ted 2016-02-25 07:22:33 +09:00
Mike Hommey
ae3753605c Bug 1094624 - Resist to more multiprocessing problems in build/subconfigure.py. r=gps,a=kwierso 2014-11-07 10:16:42 +09:00
Mike Hommey
d26f362f8f Bug 1091505 - Run subconfigures in parallel. r=gps
On automation, this brings Windows configure time on a clobber from 5:30 to 3:10.

Sadly, because make needs to run under intl/icu/host before configuring
intl/icu/target, intl/icu/host needs to be configured independently. Fortunately,
that's not configured for normal windows builds anyways.

Also, having multiple subconfigures sharing the same cache file is dangerously
racy. Fortunately, not a lot do. In fact, only js/src and $_subconfigure_subdir
do, so force the latter (only used for ldap sdk on comm-central) not to
configure in parallel.
2014-11-04 13:50:18 +09:00
Mike Hommey
1ac669f776 Fixup bug 1043268 because of b2g build failures after the landing of bug 1047791. r=me 2014-08-04 10:30:21 +09:00
Mike Hommey
78aeaed51c Bug 1043268 - Skip subconfigures when it makes sense. r=mshal 2014-08-02 08:02:52 +09:00
Mike Hommey
7e09ea3370 Bug 1046533 - Completely wrap subconfigures. r=mshal
While bug 903369 added some kind of wrapping, msys mangling on Windows made
it hard to make the python wrapper invoke subconfigures itself. This change
overcomes this, allowing to run subconfigures entirely independently of
the main configure if necessary, or to do more fancy checks without having
to resort to m4 and shell.
2014-08-02 08:02:30 +09:00
Mike Hommey
a5c3975d4d Bug 1036645 part 3 - Fix the subconfigure wrapper heuristics to decide when to kill config.cache. r=gps 2014-07-11 19:06:14 +09:00
Mike Hommey
0945e279f8 Bug 962758 - Avoid build failures when js/src/configure.in changes in a way that doesn't change config.status. r=gps 2014-01-24 07:57:54 +09:00
Mike Hommey
b526b36a07 Bug 906403 - Avoid subconfigure fail in incremental builds when some variable like CFLAGS change. r=gps 2013-08-20 15:26:23 +09:00
Mike Hommey
2f7d9d3a61 Bug 903369 - Wrap subconfigure invocation and restore config.status produced file timestamps if they haven't changed. r=gps 2013-08-20 15:23:28 +09:00