Commit Graph

5826 Commits

Author SHA1 Message Date
Phil Ringnalda
45c34d7e95 Merge m-c to autoland 2016-11-02 20:03:20 -07:00
Phil Ringnalda
393b414467 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 48WAQwKUCpw
2016-11-02 19:28:38 -07:00
Ralph Giles
efaa5037bb Bug 1266792 - Target armv7 android. r=kinetik,snorp
We actually target armv7, so we need this distinct triple
with the rust toolchain, while it's implicit with the
android ndk.

MozReview-Commit-ID: LUwdpOaWB6M

--HG--
extra : rebase_source : 820de90d0844e1519f9e02a583c8cc3abf1dfdc0
2016-10-27 12:19:59 -07:00
Mike Hommey
900e53b021 Bug 1293675 - Error out when GetShortPathName returns a long path name. r=gps
--HG--
extra : rebase_source : fa95f8a1356009c44b33701b76d878e75fba7324
2016-11-01 08:06:40 +09:00
Mike Hommey
6a5969b4b1 Bug 1311462 - Dump symbols from */dist/bin instead of dist/universal for Mac universal builds. r=ted
--HG--
extra : rebase_source : 43f8a83a616f7bb825e5e2d2cddf67e868b287ad
2016-11-01 14:05:27 +09:00
Mike Hommey
be15eb6990 Bug 1313306 - Remove --help dependencies from @dependable and delayed_getattr. r=chmanchester
This sadly requires to replace a few @dependendable to pass the lint
check.

--HG--
extra : rebase_source : e0fd1c6f104076ea9f2c3474aadb7bebdf9a7fd8
2016-10-27 15:00:51 +09:00
Mike Hommey
b89b671cc8 Bug 1313306 - Don't expose os.path.{exists,isdir,isfile} to python configure without an @imports. r=chmanchester
We want functions without an @imports to not have any side effects, and
to not use external resources. So remove the few functions we expose from
os.path without @imports('os') that do.

--HG--
extra : rebase_source : a9485ec269d4de5785d66d7772eda4fae5a84b4a
2016-10-26 11:49:58 +09:00
Phil Ringnalda
4880541dd8 Backed out changeset 6c105cd2bf71 (bug 1293675) for Windows failures in test_checks_configure.py 2016-10-31 18:46:00 -07:00
Mike Hommey
bd70f6640e Bug 1293675 - Error out when GetShortPathName returns a long path name. r=gps
--HG--
extra : rebase_source : b871d4527cdba54ec1764fe99cef1261bf09d868
2016-11-01 08:06:40 +09:00
David Major
81eeceed59 Bug 1313394 - Update build system to support 64-bit ASan DLLs. r=ted 2016-10-28 16:52:36 -05:00
Ted Mielczarek
9d1a87f0db bug 1313448 - Add documentation for adding Rust code to the build system. r=froydnj
MozReview-Commit-ID: IpblCfAKwrL

--HG--
extra : rebase_source : cc9ccadc77da20c4043a26bec297d9764a807015
2016-10-27 15:25:40 -04:00
Randell Jesup
35232de3ba Bug 1311397: fix DataChannel logging for mochitests/etc r=erahm 2016-10-28 03:25:10 -04:00
Geoff Brown
094fe98143 Bug 1309436 - Add test name to java-exception failure messages; r=ted 2016-10-26 11:31:41 -06:00
Nathan Froyd
d4c390f1b6 Bug 1306650 - part 14 - correct tar package substitution for new taskcluster scheme; r=ehsan
Taskcluster builds live in a different place than our buildbot builds did.
2016-10-26 16:18:23 -04:00
Nathan Froyd
18f9b40c4a Bug 1306650 - part 13 - update clang-cl revision to something that builds OK with ASan and MSVC2015u3; r=ehsan
Newer clang-cl is more better.
2016-10-26 16:18:23 -04:00
Nathan Froyd
c807e45845 Bug 1306650 - part 12 - explicitly select MSVC version for clang-cl to emulate in stage 2+; r=ehsan
clang-cl would normally derive its MSVC emulation bits from the
installed MSVC version, but we don't have an installed MSVC in this
scenario, so we have to use command-line options instead.  We use
similar options for Gecko builds.
2016-10-26 16:18:23 -04:00
Nathan Froyd
a892fb7aa8 Bug 1306650 - part 11 - use a relative path for the build directory on windows; r=ehsan
In a taskcluster world, we cannot used fixed directories, since we don't
know the absolute path of the directory we're building in ahead of time.
(We could pass it in to the build script, or discover it in the script
itself, but that wouldn't really solve the next problem.)  This change
does make the builds not reproducible, but as we're using clang-cl
purely for secondary purposes on Windows, rather than for shipping
Firefox binaries (as we would on Mac, say), I don't feel bad about
punting the reproducibility issue down the road a bit.
2016-10-26 16:18:23 -04:00
Nathan Froyd
fbd004815c Bug 1306650 - part 10 - slashify paths for cmake; r=ehsan
Due to CMake oddities, we need to escape whatever paths we pass in here.
2016-10-26 16:18:23 -04:00
Nathan Froyd
4fac2b0c3c Bug 1306650 - part 9 - add CMAKE_ASM_COMPILER to cmake invocation; r=ehsan
CMake is unhappy if we don't provide this piece of information.
2016-10-26 16:18:23 -04:00
Nathan Froyd
e50de2e11f Bug 1306650 - part 8 - run svn {co,up} with the -q flag; r=ehsan
This change makes the build somewhat less noisy and somewhat faster, by
virtue of not having to print out all the status messages.
2016-10-26 16:18:23 -04:00
Nathan Froyd
27dc2c9c56 Bug 1306650 - part 5 - modify clang-cl toolchain config to look for just cl.exe; r=ehsan
We cannot depend on a fixed location for cl.exe in a taskcluster world.
We therefore need to make our build-clang.py script accomodate relative
path names for cc/cxx and assume those are binaries that should be
looked up on PATH.

We also need to modify the Linux build script so that the virtualenv is
used to look up the new 'which' package.
2016-10-26 16:18:24 -04:00
Phil Ringnalda
435a27119b Merge m-c to m-i
MozReview-Commit-ID: 8nqgw9Q3gSY
2016-10-25 22:07:07 -07:00
Chris Manchester
f63cec632c Bug 1305145 - Move --enable-tree-freetype to Python configure. r=glandium
This commit also removes the option, as it's only known to work
on Android, where it is the default.

MozReview-Commit-ID: JqdC5Q5dwQH
2016-10-14 11:06:31 -07:00
Chris Manchester
95f73bebb9 Bug 1305145 - Make libs and flags set by pkg_check_modules available to the caller. r=glandium
MozReview-Commit-ID: 7uZheAOXKwE
2016-10-14 11:06:30 -07:00
Chris Manchester
b09b78a7c5 Bug 1298740 - Populate Python environment with variables from mozconfig. r=glandium
MozReview-Commit-ID: KDCoxxh37Um
2016-10-14 11:06:30 -07:00
Mike Hommey
8ddc508e1d Bug 1263876 - Improve python configure handling of toolchain prefix. r=chmanchester
The toolchain checks are now such that we can stop special casing x86-64
<-> x86 cross compiling. OTOH, depending on the target, the toolchain
prefix can be of the form `cpu-os` or `cpu-machine-os`. We were only
using the former, and we change this to allow to try both.
Finally, the toolchain prefix being a gcc thing, it applies on all
target platforms where we try to use gcc.

However, the status quo is kept for the value of TOOLCHAIN_PREFIX
exposed to old-configure and the build system, until the various tools
paths (such as ar, readelf, etc.) are handled in python configure.

--HG--
extra : rebase_source : 1fe2e0708e317f061a03e2b4f058bbd08b5525f1
2016-10-21 07:50:40 +09:00
Mike Hommey
513e313d64 Bug 1311761 - Fixup after bug 1311069. r=chmanchester
--HG--
extra : rebase_source : 3ec168fd8d6cd67583718d3c2c7849e053428f08
2016-10-21 06:15:38 +09:00
Ryan VanderMeulen
b32395334d Bug 1311584 - Remove some LSAN suppressions that are no longer needed. r=mccr8 2016-10-19 22:47:01 -04:00
Carsten "Tomcat" Book
b9686db6da Merge mozilla-central to mozilla-inbound 2016-10-18 10:44:04 +02:00
Gregory Szorc
75974453f1 Bug 1307482 - Upload files concurrently; r=ted
Use concurrent.futures to provide a thread pool so we upload
files concurrently. This should make uploading complete faster.

If timestamps in mozharness logs can be trusted, uploading on Linux
currently takes ~45s. Hopefully this shaves 10+s from the build.

MozReview-Commit-ID: KTww31XWN7o

--HG--
extra : rebase_source : 1a487cd1a0772e996eacaefcd9d0b37dc96fbffa
2016-10-04 09:22:22 -07:00
Gregory Szorc
2abd0effdb Bug 1307482 - Log uploading when it actually happens; r=ted
In preparation of using a thread pool to call DoSCPFile().

MozReview-Commit-ID: Ab2gk8UTQWK

--HG--
extra : rebase_source : b1c97953f5b0be91bb16eac19ca6862e715ce7d4
2016-10-04 08:46:46 -07:00
Gregory Szorc
505c98b5da Bug 1307482 - Avoid excessive scp calls to make directories; r=ted
Most files go to the same directory. This should cut down on the number
of scp sessions we establish as part of directory creation.

MozReview-Commit-ID: LpKwgUZhLEO

--HG--
extra : rebase_source : f7ed0490a0fd8d0f01066090af16d751864039df
2016-10-04 08:34:30 -07:00
Gregory Szorc
59971aa32e Bug 1307482 - Refactor remote path logic into function; r=ted
We'll call this multiple times in a subsequent commit. I hate DRY
violations.

MozReview-Commit-ID: Khai4EZkPCS

--HG--
extra : rebase_source : f58ac817c4956e22821ef36ae89b3e889ca4b005
2016-10-04 08:29:50 -07:00
Mike Hommey
e5ba3fd67a Bug 1296530 - Replace include_when with include, and remove include_when. r=chmanchester
--HG--
extra : rebase_source : e2efd38b3875dde3dae996405838e9ca20475c32
2016-10-13 17:15:24 +09:00
Mike Hommey
caeb1547de Bug 1296530 - Move more things in the new DependsFunction and add a repr() for it. r=chmanchester
--HG--
extra : rebase_source : 739ff145c9f50438d9b7997ab12a7270d4c1b4e5
2016-10-13 13:28:06 +09:00
Mike Hommey
359529b830 Bug 1296530 - Store DependsFunction information for the sandbox as class instances instead of tuples. r=chmanchester
--HG--
extra : rebase_source : 5b05df452074180669bc9cc16501acfe7be7be50
2016-10-13 13:04:18 +09:00
Mike Hommey
16f5c51446 Bug 1296530 - Rename DependsFunction to SandboxDependsFunction. r=chmanchester
--HG--
extra : rebase_source : 60d2ef6f9d8eda36a9f9e3fb82c017958eab18a3
2016-10-13 12:45:24 +09:00
Tooru Fujisawa
6a21d20cc6 Bug 1290337 - Part 22.1: Do not check deleted function parameter. r=ehsan 2016-10-18 16:45:58 +09:00
Tooru Fujisawa
19d7f7bb03 Bug 1290337 - Part 22: Add moz_non_param annotation. r=ehsan,jwalden 2016-09-11 18:23:11 +09:00
Carsten "Tomcat" Book
b474cb6353 merge mozilla-inbound to mozilla-central a=merge 2016-10-14 11:59:12 +02:00
Makoto Kato
48d2b365a6 Bug 1253809 - Add Android/aarch64 build config. r=glandium
MozReview-Commit-ID: 2WN6GOWb572

--HG--
extra : rebase_source : 956280be205109d1d28f8e33a3348811caa7d215
2016-10-07 19:46:57 +09:00
Wes Kocher
2e5a3a4c67 Backed out changeset e984459f2b0f (bug 1298740) for windows build failures a=backout 2016-10-14 13:08:42 -07:00
Wes Kocher
b6f29fa6ab Backed out 5 changesets (bug 1305145) for windows build failures a=backout
Backed out changeset 0f39b7305d41 (bug 1305145)
Backed out changeset ab38e43fdcb6 (bug 1305145)
Backed out changeset aece1b8a8673 (bug 1305145)
Backed out changeset 85082a111806 (bug 1305145)
Backed out changeset 33e563d2d834 (bug 1305145)
2016-10-14 13:07:58 -07:00
Chris Manchester
b5f53ace1c Bug 1305145 - Move --enable-tree-freetype to Python configure. r=glandium
This commit also removes the option, as it's only known to work
on Android, where it is the default.

MozReview-Commit-ID: JqdC5Q5dwQH
2016-10-14 11:06:31 -07:00
Chris Manchester
c1230eee34 Bug 1305145 - Make libs and flags set by pkg_check_modules available to the caller. r=glandium
MozReview-Commit-ID: 7uZheAOXKwE
2016-10-14 11:06:30 -07:00
Chris Manchester
bddc19b42b Bug 1298740 - Populate Python environment with variables from mozconfig. r=glandium
MozReview-Commit-ID: KDCoxxh37Um
2016-10-14 11:06:30 -07:00
Gabriele Svelto
14c508ef9b Bug 1280477 - Import jsoncpp into the source tree and integrate it into the build r=ted 2016-10-13 11:19:05 +02:00
Sebastian Hengst
cdcc9e20da Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop
MozReview-Commit-ID: 1lCt0xTMV5O
2016-10-08 11:14:49 +02:00
Andi-Bogdan Postelnicu
e0d7fa5720 Bug 1307702 - clang-plugin - static analysis to reject ussage of MOZ_REQUIRED_BASE_METHOD on non-virtual base methods. r=mystor
MozReview-Commit-ID: 9G79Wm5fbHc
2016-10-06 14:02:20 +03:00
Andi-Bogdan Postelnicu
d447f00057 Bug 1230311 - clang-plugin - static analysis to enforce that if a method is overridden also base method is called. r=mystor
MozReview-Commit-ID: 1JYzYZZOh3W
2016-10-06 13:49:00 +03:00