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

5886 Коммитов

Автор SHA1 Сообщение Дата
Nathan Froyd ed250a190d Bug 1321334 - bump clang-cl build version to r286542; r=dmajor
This revision fixes a clang devirtualization bug and also includes
support for -fbuiltin-module-map, which is useful in making ffmpeg
compile correctly.
2016-11-30 12:06:20 -05:00
Nathan Froyd 00c9adec24 Bug 1293253 - part 3 - add configure support for determining a --target value for Rust host code; r=chmanchester
We'll need this for compiling host binaries.  We could just call `rustc`
without any --target value whatsoever, but since we use --target for
target code, we might as well be consistent and explicit, and use
--target for host code as well.
2016-11-28 11:20:39 -05:00
Nathan Froyd 2ebbd09068 Bug 1320752 - remove mozilla/Function.h; r=gerald
We have std::function available now, which is likely to be somewhat more
efficient.
2016-11-28 11:03:53 -05:00
Julian Seward 9c349f1195 Bug 1248365 - Make Valgrind Mochitests run greener on Taskcluster. r=n.nethercote.
--HG--
extra : rebase_source : d1c3a1fb594e73cb5978e81636a9b3ed3dd341aa
2016-11-28 15:46:43 +01:00
Henri Sivonen b66ce7516a Bug 1274196 - Turn on SSE2 autovectorization and SSE2-based floating-point math for 32-bit Linux. r=glandium.
MozReview-Commit-ID: K8CMfRxcLBH
2016-10-05 18:59:12 +03:00
Carsten "Tomcat" Book 61849e269d merge mozilla-inbound to mozilla-central a=merge 2016-11-24 16:41:59 +01:00
Makoto Kato f593baff8c Bug 1318189 - mach configure cannot detect MFC library path on VS2017. r=glandium
VS2017's directory structure for mfc is the following.

 Directory of C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\vc\Tools\msvc\14.10.24629\atlmfc\lib

2016/11/21  13:57    <DIR>          .
2016/11/21  13:57    <DIR>          ..
2016/11/21  13:57    <DIR>          arm
2016/11/21  14:00    <DIR>          x64
2016/11/21  13:59    <DIR>          x86

So this structure is changed, we cannot detect mfc when using VS2017.


MozReview-Commit-ID: 2ft4stYPZbe

--HG--
extra : rebase_source : c985022eb5b99f32398f1f5c1d2e274c2a4677e7
extra : amend_source : 8b94aba289397dc84d0d360991666ed5a5a8ac07
2016-11-21 10:55:50 +09:00
Wes Kocher b851c06cc9 Merge m-c to inbound, a=merge 2016-11-23 16:18:24 -08:00
Ehsan Akhgari 718b18d849 Bug 1319903 - Part 3: Revert to using Expr::IgnoreImplicit, pushed on a CLOSED TREE 2016-11-23 18:14:33 -05:00
Ehsan Akhgari 88121ac8dd Bug 1319903 - Part 2: Rename IgnoreImplicit to IgnoreTrivials 2016-11-23 18:00:01 -05:00
Ehsan Akhgari bc354ecd55 Bug 1319903 - Part 1: Ignore ParenExpr's when ignoring trivial expressions; r=mystor 2016-11-23 18:00:00 -05:00
Mike Hommey 84aa5c4927 Bug 1319959 - Set _topsrcdir, _objdir, MOZ_BUILD_ROOT and DIST from python configure. r=gps
In some cases, on OSX, python's `os.path.realpath` and shell's `pwd -P`
don't agree on the case of paths on case-insensitive filesystems.

So make everyone agree by using the value from python configure.

--HG--
extra : rebase_source : 4d26bf30f3f125c4f75d42f79d8a80a4a0bf11ec
2016-11-24 09:47:15 +09:00
Ehsan Akhgari c7a9a38938 Bug 1319330 - Ignore system headers for the implicit constructor check; r=mystor 2016-11-23 13:25:25 -05:00
Phil Ringnalda 88d37d8841 Merge m-c to m-i
MozReview-Commit-ID: FbJhcY28dXi
2016-11-22 21:32:23 -08:00
Ted Mielczarek 1c52e9500b bug 1269355 - Enable sccache for taskcluster linux32/64 builds. r=dustin,gps
MozReview-Commit-ID: LGqpNDb7uHN

--HG--
extra : rebase_source : dfd3d0c7208178d7a44cd49a84cd1ead194e8095
2016-11-10 13:02:54 -05:00
Gregory Szorc bad7b2a1c4 Bug 1319484 - Add "stylo" to mozinfo; r=mshal
This will allow tests, etc to conditionally run depending on Stylo's
presence.

MozReview-Commit-ID: 3WHxNawP1qC

--HG--
extra : rebase_source : d4d983d37d3bfac1f9d465a3023b5bd5df52cd56
extra : source : 6baa88f7b1f4183ea57b9f8928556975042cad29
2016-11-22 10:25:52 -08:00
Carsten "Tomcat" Book 8b27dda5d1 merge mozilla-inbound to mozilla-central a=merge 2016-11-22 15:53:05 +01:00
Ehsan Akhgari 3170868d61 Bug 1318881 - Remove some unused variables from automation.py.in; r=gps 2016-11-21 18:56:15 -05:00
Ehsan Akhgari 6b394f0382 Bug 1318879 - Remove the app related code from mozprofile; r=ahal 2016-11-21 18:56:08 -05:00
Wes Kocher efeab1563a Backed out changeset 0cafbf944d89 (bug 1318879) for robocop failures a=backout 2016-11-21 13:01:21 -08:00
Ehsan Akhgari 012349bc0f Bug 1318879 - Remove the app related code from mozprofile; r=ahal 2016-11-21 14:59:05 -05:00
Andrew Halberstadt 6adcf5b456 Bug 1317970 - Use manifestparser manifests for python unit tests, r=chmanchester
This deprecates PYTHON_UNIT_TESTS and replaces it with PYTHON_UNITTEST_MANIFESTS.
In the build system, this means python unittests will be treated the same as all
other test suites that use manifestparser. New manifests called 'python.ini' have
been created for all test directories containing python unittests.

MozReview-Commit-ID: IBHG7Thif2D

--HG--
extra : rebase_source : 11a92a2bc544d067946bbd774975140147458caa
2016-11-16 09:59:22 -05:00
Carsten "Tomcat" Book ad928dbca5 Merge mozilla-central to autoland 2016-11-23 16:45:11 +01:00
Mike Hommey 1f0c9eb55d Bug 1319345 - Change how application.ini and application.ini.h are generated. r=mshal
The current way they are generated makes it so that it's not trivial for
the backends to figure that one depends on the other. While we should
eventually make things such that using FINAL_TARGET_PP_FILES works for
that, it's currently simpler to just use GENERATED_FILES.

--HG--
rename : build/application.ini => build/application.ini.in
extra : rebase_source : cad3460b65d99bdae3e6f1d9dd611e0a602ebfed
2016-11-02 17:16:56 +09:00
Ted Mielczarek fa343243d0 bug 1286934 - Switch to using sccache2. r=gps
This patch does a few things:
1) Change all the in-tree tooltool manifests to contain sccache2 instead of the existing Python sccache
2) Change mozconfig.cache to point at sccache.
3) Lightly tweak the --with-cccache configure option to support sccache, and detect whether we're using ccache or sccache and set an option appropriately.
4) Add a MOZ_SCCACHE_VERBOSE_STATS option, and add a target in the top-level Makefile to make sccache spit out its stats at the end of the build. This is useful to see the cache hits/errors until we get something better.
5) Add MOZ_USING_SCCACHE to the build telemetry. Not that I think it will be immediately useful, but for future use.

MozReview-Commit-ID: 9lrdLwNj5Bm

--HG--
extra : rebase_source : d323457df10d0ee0ac5811940e518d9422a7e070
2016-08-25 18:39:57 -04:00
Ted Mielczarek a449823a50 bug 1295937 - build NSS using gyp files. r=glandium
MozReview-Commit-ID: Gm1PLWSJwbD

--HG--
rename : config/external/nss/moz.build => security/moz.build
rename : config/external/nss/nss.symbols => security/nss.symbols
extra : rebase_source : bedd3b2f315f8504e1d0cb1ee94720e380466e5b
2016-11-09 12:37:09 -05:00
Ted Mielczarek 26ebd20ebf bug 1295937 - Improvements to gyp_reader to handle NSS gyp files. r=glandium
This patch contains a number of changes to the gyp_reader code:
* Add three new flags to GYP_DIRS:
** no_chromium, to skip forcing the includes/etc needed for chromium gyp files
** no_unified, to force building all sources without unification
** action_overrides, to pass scripts used when mapping gyp actions to moz.build GENERATED_FILES
* Handle the flags mentioned above in read_from_gyp
* Handle actions in gyp targets by mapping them to GENERATED_FILES, using scripts specified in the action_overrides flag. We don't try to handle the generic action case, we require special-casing for each action.
* Handle a subset of copies in gyp targets by mapping them to EXPORTS, just enough to handle the use of them for NSS exports.
* Handle shared_library and executable gyp targets
* Handle gyp target dependencies/libraries as USE_LIBS/OS_LIBS
* Handle generated source files
* Handle .def files in sources by mapping them to SYMBOLS_FILE
* Special-case some include_dirs:
** Map `<(PRODUCT_DIR)/dist/` to $DIST/include (to handle include paths for NSS exports)
** Map include_dirs starting with topobjdir to objdir-relative paths, to handle passing the NSPR include path to NSS
* split /build/gyp.mozbuild into two parts, with gyp_base.mozbuild containing generic bits, and gyp.mozbuild containing chromium-specific bits


MozReview-Commit-ID: FbDmlqDjRp4

--HG--
extra : rebase_source : d3fb470c589f92d8c956b9ecd550fb8df79ff5bc
2016-11-15 12:37:09 -05:00
Mike Shal ad4478f15e Bug 1183613 - Cross compile universal OSX builds in Taskcluster; r=froydnj,ted
MozReview-Commit-ID: HNTqiVF9gov

--HG--
extra : rebase_source : 3e02cd433e45f4bb5759f093aaccade2d49745c3
2016-10-21 13:54:10 -04:00
Wes Kocher f9e9d69899 Merge inbound to m-c a=merge CLOSED TREE 2016-11-16 17:07:26 -08:00
Carsten "Tomcat" Book e7ca75286b Merge mozilla-central to inbound 2016-11-16 14:53:15 +01:00
Ting-Yu Chou 4b4ca8bc3b Bug 1316537 part 3 - Fix tar package path conversion for local build. r=Ehsan
MozReview-Commit-ID: 6btpeTxouB

--HG--
extra : rebase_source : efe870a8e0e3ff261dcb9cffaf66707585fb9465
2016-11-15 12:22:44 +08:00
Ting-Yu Chou 0e9c286577 Bug 1316537 part 2 - Update 64-bit clang build configuration for the changes in bug 1306650. r=Ehsan
MozReview-Commit-ID: 79QRz4FUFRe

--HG--
extra : rebase_source : eeecb26bcae896929ee6af91a6b8bba2f4225944
2016-11-15 09:11:46 +08:00
Mike Hommey 9b452a533f Bug 1317359 - Propagate MOZ_ADJUST_SDK_KEY to old-configure. r=chmanchester
--HG--
extra : rebase_source : 207defc410cd9fe01689b136c79e84046b7d3ae9
2016-11-15 07:43:39 +09:00
Mike Hommey 5fd2ce5f30 Bug 1317359 - Move add_old_configure_* functions to util.configure. r=chmanchester
--HG--
extra : rebase_source : 240fd42920ed4a17592c368ab764672cac01ca31
2016-11-15 14:35:22 +09:00
Gregory Szorc 4732e7cb34 Bug 1171610 - Automatically enable color in compiler output; r=glandium
GCC and Clang will colorize compiler output automatically if stdout is a
TTY. Unfortunately, when the build backend is invoked via `mach`,
stdout is not a TTY.

6e9a4c0b9cd8 (bug 1315785) changed mach so it exports an environment
variable indicating whether mach's original stdout is a TTY. This was
later used to add color flags to `cargo` invocations.

Building on that work, this patch adds color flags to compiler
invocations if the compiler supports color and a mach TTY is
detected. The result is that compiler output from `mach build`
will be colorized automatically if Clang or a modern version of
GCC is used.

The only issue I see with this is that Clang doesn't "unset" its color
sequences when printing a newline. As a result, mach's time line
prefixing can sometimes inherit "bold" or other stylings. AFAICT this is
only a minor cosmetic concern. GCC does not exhibit this issue.

MozReview-Commit-ID: 5Icu6aXGZBL

--HG--
extra : rebase_source : 5b2bf5a287fdf8075b3d7dde36b91f3c65b60728
2016-11-09 14:01:24 -08:00
Carsten "Tomcat" Book 8cfa5253e8 merge mozilla-inbound to mozilla-central a=merge 2016-11-15 12:26:41 +01:00
Phil Ringnalda 21a7a3eb46 Backed out changeset 6d6366a2842e (bug 1317359) for test_checks_configure.py bustage
CLOSED TREE
2016-11-14 21:36:44 -08:00
Mike Hommey e8b62f1ea5 Bug 1317359 - Propagate MOZ_ADJUST_SDK_KEY to old-configure. r=chmanchester
--HG--
extra : rebase_source : ad7b1089d99b9c3477ef882a5664341fe648b41f
2016-11-15 07:43:39 +09:00
Wes Kocher c71ee484aa Backed out changeset c403ebdab6b8 (bug 1317359) for build bustage a=backout CLOSED TREE
--HG--
extra : amend_source : 578c7a50c7d04c6578448d780ee06076069ee783
2016-11-14 16:48:00 -08:00
Mike Hommey 36d47d7464 Bug 1317359 - Propagate MOZ_ADJUST_SDK_KEY to old-configure. r=chmanchester
--HG--
extra : rebase_source : fb3ba7a9f158a6d0e95b748b82f1b193903a75f0
2016-11-15 07:43:39 +09:00
Mike Hommey 6fa3828b4e Bug 1316844 - Remove unused dependencies. r=chmanchester
--HG--
extra : rebase_source : f9c4f39b198fbb83aa02b2eee65863695e7b75ca
2016-11-11 12:52:37 +09:00
Ting-Yu Chou f069d5cee1 Bug 1200740 - Import blacklist for ASan on Windows to avoid instrumenting selected sandbox functions and files. r=glandium
MozReview-Commit-ID: DJJuD0dyyKz

--HG--
extra : rebase_source : 803a3136f1ff163fe3237a0ac157bffa1eef0873
2016-11-10 09:18:55 +08:00
Ralph Giles dd612ebe20 Bug 1317478 - Use cargo from the rustc package. r=froydnj
The stable cargo now has all the features we need; pulling
a separate cargo nightly package is unnecessary.

MozReview-Commit-ID: FqWvSK0swsQ

--HG--
extra : rebase_source : 3659f8fa6d4a9a70c0731650aeced899519617f9
2016-11-14 13:58:46 -08:00
Carsten "Tomcat" Book 106d39cf20 Merge mozilla-central to mozilla-inbound 2016-11-15 12:33:34 +01:00
Jonathan Kew 922cccfc52 Bug 1316540 - Update version requirement for --with-system-icu to 58.1 for Unicode 9 support. r=waldo 2016-11-15 09:22:43 +00:00
David Major a70b85d44a Bug 1317471: Add the sandbox's interceptors_64.cc to Windows ASan blacklist. r=froydnj DONTBUILD
For the same reason as bug 1200740#c0: this code runs before ASan initializes shadow memory.

MozReview-Commit-ID: 9fIB6tyfSEl
2016-11-14 16:43:51 -06:00
Wes Kocher f6f88173df Backed out changeset 2b174353e76a (bug 1316957) at glandium's request a=backout 2016-11-11 18:58:24 -08:00
Mike Hommey fb3661afd7 Bug 1316957 - Include windows.configure conditionally instead of using @depends_win. r=chmanchester
--HG--
extra : rebase_source : ae9d0b364d11e351735d731c33757fb6f30f1bfa
2016-11-12 06:05:07 +09:00
Ralph Giles 8b80e11ff1 Bug 1316477 - Mention adding `extern crate` references. r=froydnj
MozReview-Commit-ID: G1DxiQ410W1

--HG--
extra : rebase_source : a6432048f5b8134e0715ed9ff42cbb9be6b60b0a
2016-11-09 18:30:03 -08:00
Julian Seward 22f11f7224 Bug 1309851 - Fix "Intermittent valgrind-test | Valgrind timed out (reached 1800 second limit)". r=n.nethercote@gmail.com. 2016-11-10 11:25:19 +01:00