Commit Graph

4904 Commits

Author SHA1 Message Date
Chris Manchester
92ca8066af Bug 1405811 - Move host compilation flags to mozbuild. r=mshal
MozReview-Commit-ID: 7I5IHM65eaU

--HG--
extra : rebase_source : b33bb2f0f6a9cb36961586ad475cf36f8bbcd091
2017-10-02 11:41:41 -07:00
Chris Manchester
bd83adf337 Bug 1411787 - Convert MOZBUILD_CFLAGS from passthru variables to computed flags. r=mshal
MozReview-Commit-ID: HOMf4vfFE1n

--HG--
extra : rebase_source : fad33710a5f374f070b4c972c303a6b2ece25758
2017-10-27 10:38:10 -07:00
André Bargull
04879cba6b Bug 1411957 - Part 2: Update tzdata in ICU data files to 2017c. r=Waldo
MozReview-Commit-ID: IHLvaaTEIPm
2017-10-26 23:10:51 +09:00
Sebastian Hengst
443416f881 Merge mozilla-central to autoland. r=merge a=merge 2017-10-26 00:39:55 +02:00
Chris Manchester
d43c1ef2dd Bug 1403346 - Implement clang-plugin cxxflags in moz.build. r=glandium
MozReview-Commit-ID: 9zSryJcTRGl
2017-10-25 15:12:10 -07:00
Chris Manchester
7e47dd1ebb Bug 1403346 - Define flags loading the clang plugin in configure rather than the make backend. r=glandium
MozReview-Commit-ID: EubsjJl1LBS
2017-10-25 15:12:10 -07:00
Chris Manchester
c86173526a Bug 1403346 - Replace all uses of ALLOW_COMPILER_WARNINGS with a template, remove ALLOW_COMPILER_WARNINGS. r=glandium
MozReview-Commit-ID: 1G2o4fy74cf
2017-10-25 15:12:09 -07:00
Chris Manchester
3bd4902247 Bug 1403346 - Move C{XX}FLAGS to mozbuild computed flags. r=glandium
This also introduces C{XX}_LDFLAGS variables which contain cflags that
are meant to be passed to the linker, and adds them to various linker
command lines in place of CFLAGS.

MozReview-Commit-ID: GyKlD9nMqrt
2017-10-25 15:12:09 -07:00
Chris Manchester
a1d26e4177 Bug 1403346 - Make a separate variable used to append pgo flags to compile command lines. r=glandium
This commit establishes a separate variable to add PROFILE_GEN and PROFILE_USE
CFLAGS to compile and link command lines. Currently the make backend
orchestrates the pgo build steps and is the only thing aware of whether
we're in the profile generate or profile use stage. The flags are separated
here to allow other flags to be moved to mozbuild, but this will not yet
sufficient to perform a PGO build independent of the make backend.

MozReview-Commit-ID: IX30l2MvvNc
2017-10-25 15:10:04 -07:00
Chris Manchester
10140558e1 Bug 1403346 - Move OS_COMPILE flags to computed flags. r=glandium
MozReview-Commit-ID: JUHoBuJYG1T
2017-10-25 15:10:04 -07:00
Chris Manchester
1e2fcc4b06 Bug 1403346 - Move RTL_FLAGS to computed flags. r=glandium
MozReview-Commit-ID: 9tOuNXjyJQD
2017-10-25 15:10:03 -07:00
Chris Manchester
33845169fa Bug 1403346 - Move DSO_CFLAGS and DSO_PIC_CFLAGS to computed flags. r=glandium
MozReview-Commit-ID: Goo0cP6UEEo
2017-10-25 15:10:03 -07:00
Gregory Szorc
6f60ff2761 Bug 1411081 - Derive Rust compiler flags in configure; r=glandium
Before this commit, RUSTFLAGS was derived in rules.mk by consulting
various variables set by configure. It isn't clear to me why things
are implemented this way. We don't appear to have moz.build level
overrides for Rust compiler flags. So there doesn't appear to be a
compelling reason why we can't derive these values in configure.

So, this commit ports the code for deriving default RUSTFLAGS from
rules.mk to toolchain.configure.

The port is pretty straightforward as far as the logic goes.

MozReview-Commit-ID: JhAE9Qlo8SK

--HG--
extra : rebase_source : 6186cb81cd37c516b3d645419b9461bf501d6ba2
2017-10-24 14:42:01 -07:00
Dragana Damjanovic dd.mozilla@gmail.com
026c72f278 Bug 1410147 - On MacOS HAS_CONNECTX should be set for Darwin version greater than and equal 15. r=bagder 2017-10-19 09:45:00 -04:00
Jan Beich
6b04a97785 Bug 1409680 - Extend --disable-debug-symbols to Rust code. r=glandium
This reduces disk I/O and memory usage during build that already lacks
debugging symbols from C++ code, allowing to use more jobs on 32bit hosts.

--disable-debug-symbols build on FreeBSD 10.3 i386 (8 cores) host:
Max RSS before:  libxul - 612 Mb, libgkrust - 1908 Mb
Max RSS after:   libxul - 444 Mb, libgkrust - 1471 Mb
Binary before:   libxul - 203 Mb, libgkrust -  732 Mb
Binary after:    libxul - 123 Mb, libgkrust -  301 Mb

MozReview-Commit-ID: 40UEYuKddZ2

--HG--
extra : rebase_source : 905c61c8f738027bb43d213c4a4e63db1b9c5008
2017-10-18 08:38:54 +00:00
Ted Mielczarek
a95bbdf3f6 bug 1299959 - use GENERATED_FILES for libffi's preprocessed assembly files. r=chmanchester
libffi has assembly files on Windows that need to be preprocessed. Previously
this was handled by using a wrapper shell script as the assembler. This
patch handles them in GENERATED_FILES with a Python script that performs
an equivalent transformation.

MozReview-Commit-ID: 3w0HNpUb8TA

--HG--
extra : rebase_source : 284a3825cdaf2957507d60276a772f88f8c96488
extra : source : 3f422cbd4f222bc0b19f0a9e76878787652b3788
2017-09-14 06:42:53 -04:00
Dustin J. Mitchell
0d5ca56ea5 Bug 1404401 - ignore presence of target_task_config.json in tests; r=ahal
I *think* the modifications to MockedOpen are correct, but I'm not sure..

MozReview-Commit-ID: 6vTZBtdQ1dz

--HG--
extra : rebase_source : 2d2008f87640747ef831d000bf13a4b1b7fcd338
2017-10-12 17:58:14 +00:00
Mike Hommey
59ba5a09e4 Bug 1381043 - Enable fuller debug info for rust code on OSX cross builds. r=froydnj
--HG--
extra : rebase_source : 145edf24d2ea1366fe8ee0430bb95a99b841dd83
2017-10-12 18:02:49 +09:00
Gian-Carlo Pascutto
433feb3f7e Bug 1387837 - Add library paths from /etc/ld.so.conf to broker read access policy. r=jld
MozReview-Commit-ID: S5vq6suTU4

--HG--
extra : rebase_source : b82f3ff902ca6e4929a8458aa952f409e30356b5
2017-10-06 12:35:35 +02:00
Zibi Braniecki
c14c88b4c3 Bug 1270140 - Add Intl.RelativeTimeFormat. r=Waldo
MozReview-Commit-ID: GqetnVVmXXL

--HG--
extra : rebase_source : 131c125e73e2132d6b1abb2489ecf8e96412b8a5
2017-10-06 07:00:08 -07:00
Phil Ringnalda
e4dbaefed7 Backed out changeset 024ce7dd2f65 (bug 1270140) for check_spidermonkey_style.py failures
MozReview-Commit-ID: KyttCEkmYSo
2017-10-09 21:06:15 -07:00
Zibi Braniecki
71799db666 Bug 1270140 - Add Intl.RelativeTimeFormat. r=Waldo
MozReview-Commit-ID: GqetnVVmXXL

--HG--
extra : rebase_source : a9f30e017fe630c36cb560accca067c5859a545c
2017-10-06 07:00:08 -07:00
Robert Helmer
f0cf406637 Bug 1348981 - provide a list of valid system add-ons for packaging r=glandium
MozReview-Commit-ID: K2jCHBBJBqw

--HG--
extra : rebase_source : 0a1414d3e778d36f053800212e7d633eaa91de6b
2017-09-13 22:49:43 -07:00
Sebastian Hengst
ea41018a71 Backed out changeset 59d279deac34 (bug 1348981) for frequently failing xpcshell's toolkit/mozapps/extensions/test/xpcshell/test_system_update_empty.js on OS X 10.10 debug. r=backout 2017-10-04 15:45:03 +02:00
Robert Helmer
8143368fa5 Bug 1348981 - provide a list of valid system add-ons for packaging r=glandium
MozReview-Commit-ID: K2jCHBBJBqw

--HG--
extra : rebase_source : 0a1414d3e778d36f053800212e7d633eaa91de6b
2017-09-13 22:49:43 -07:00
Sebastian Hengst
773adb3c2f Backed out changeset b8b9f1dbeda3 (bug 1348981) for failing xpcshell toolkit/components/telemetry/tests/unit/test_TelemetryEnvironment.js. r=backout 2017-10-04 01:01:14 +02:00
Robert Helmer
3392a20460 Bug 1348981 - provide a list of valid system add-ons for packaging r=glandium
MozReview-Commit-ID: K2jCHBBJBqw

--HG--
extra : rebase_source : 0a1414d3e778d36f053800212e7d633eaa91de6b
2017-09-13 22:49:43 -07:00
Mark Banner
a3393e0d94 Bug 1403928 - Remove unused config/string-format.js, and mark config as a no-js-files directory in .eslintignore. r=glandium
config/string-format.js was made obsolete in the removals in bug 1227388.

MozReview-Commit-ID: 1nQwlKhoC0e

--HG--
extra : rebase_source : 6b06e4d7ca2e8fc66fc2d93ade54c813d975acec
2017-09-28 14:55:03 +01:00
Nathan Froyd
f0fcd23367 Bug 1373878 - part 2 - build system support for Rust tests; r=rillian 2017-10-02 09:21:22 -04:00
Sebastian Hengst
4ad3e6f78d Backed out changeset 1ae1bd9b2b5c (bug 256180) for crashtest failures on Windows 7 debug, e.g. in layout/base/crashtests/507119.html, and on suspicion of causing crashtest failures on Android. r=backout 2017-09-28 11:31:47 +02:00
Henri Sivonen
4518c3597b Bug 256180 build config part - Increase the max size for the runtime stack on Windows. r=glandium
MozReview-Commit-ID: JhWucajuuFz

--HG--
extra : rebase_source : 48a80faae8e378695529bf6acae6526393d83d7b
2017-09-14 11:39:43 +03:00
Phil Ringnalda
216b709c48 Backed out 4 changesets (bug 1348981) for Linux debug timeouts in test_system_update.js
Backed out changeset b1fe39ea6d5c (bug 1348981)
Backed out changeset 47866f942752 (bug 1348981)
Backed out changeset 5e93d8760487 (bug 1348981)
Backed out changeset 58431e2c37d7 (bug 1348981)

MozReview-Commit-ID: 2WjZKztxyVs
2017-09-23 06:20:56 -07:00
Robert Helmer
a9838c2aff Bug 1348981 - provide a list of valid system add-ons for packaging r=glandium
MozReview-Commit-ID: K2jCHBBJBqw

--HG--
extra : rebase_source : 446409d7eaa5aaa7cc3b8d566539ab67152f67bc
2017-09-13 22:49:43 -07:00
Wes Kocher
43fdbce8a0 Backed out 4 changesets (bug 1348981) for addon related xpcshell failures a=backout
Backed out changeset af30bdde5572 (bug 1348981)
Backed out changeset dc6f6f59da82 (bug 1348981)
Backed out changeset b5149335d9ed (bug 1348981)
Backed out changeset a943c88d0dd5 (bug 1348981)

MozReview-Commit-ID: GIWRb1mY7wJ
2017-09-22 15:27:49 -07:00
Robert Helmer
498b682f1b Bug 1348981 - provide a list of valid system add-ons for packaging r=glandium
MozReview-Commit-ID: K2jCHBBJBqw

--HG--
extra : rebase_source : 446409d7eaa5aaa7cc3b8d566539ab67152f67bc
2017-09-13 22:49:43 -07:00
Mike Hommey
0c37db303e Bug 1052573 - Generically whitelist memalign calls from anything under memory/. r=njn
--HG--
extra : rebase_source : bcfa34744c1f7385b89b5ea63b2215921bc4e3df
2017-09-22 08:57:23 +09:00
ffxbld
ddbf9d22ec Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
MozReview-Commit-ID: Equ8FrTJpTj
2017-09-21 16:42:31 +02:00
Chris Manchester
89a09e8d67 Bug 1398897 - Move os includes to computed flags. r=glandium
MozReview-Commit-ID: Ef1wu5fQo7M

--HG--
extra : rebase_source : b5f15b2da47e724790ffee0512b5477059ae1c3a
2017-09-20 12:43:24 -07:00
Chris Manchester
c6f31b26d8 Bug 1398897 - Move includes to computed flags. r=glandium
MozReview-Commit-ID: Ec0wZfoV63B

--HG--
extra : rebase_source : c004185b9a9938343efb93920f646afd30b4b01e
2017-09-20 12:43:23 -07:00
Chris Manchester
6de6ad13ab Bug 1398897 - Move defines to computed compile flags. r=glandium
MozReview-Commit-ID: CgQv79dYj7Y

--HG--
extra : rebase_source : 2e95f04d586ccb31bbd68e76b550fe1afcac32ec
2017-05-01 18:13:48 -07:00
Sylvestre Ledru
02eaf351ca Bug 1400283 - check_macroassembler_style.py: flake8 consistency r=nbp
MozReview-Commit-ID: 3J98Ni80BdW

--HG--
extra : rebase_source : 7a9b509c9b709efb5bb7a75c21a5bb826b652396
2017-09-15 18:14:41 +02:00
Gregory Szorc
3b3a704584 Backed out changesets 98e46ead3522 and 52e6fce3e6f6 (bug 1399870) for Windows test failures; a=backout
--HG--
extra : histedit_source : 380fa58fada541be8dabf03b88aed89b8ba0d073%2C854308f608c4dec795868abd41d7d651952e0df7
2017-09-15 15:52:03 -07:00
Ted Mielczarek
8439a24741 bug 1399870 - Make DEFFILE a Path instead of a string. r=gps
DEFFILE is currently just used as a passthrough variable. All but one of
the current uses of it use `SRCDIR + '/file.def'` to get a srcdir-relative
path anyway, and the other one wants an objdir-relative path, so using
Path makes everything clearer.

This makes it more straightforward to translate the paths for the WSL
build.

MozReview-Commit-ID: IRokABaZW2c

--HG--
extra : rebase_source : ae74c984bb2aab70211dc5974a8b052651e025dd
2017-09-14 06:24:43 -04:00
Sylvestre Ledru
8cca713196 Bug 1395580 - check_macroassembler_style.py - Also manage the coding style {} for function declarations r=nbp
MozReview-Commit-ID: KQMJNk6tAEU

--HG--
extra : rebase_source : c3baaa373d1257849b1365d3da33995ed8ea1fec
2017-09-15 17:20:18 +02:00
Jean-Yves Avenard
0f1d9323c6 Bug 1341504 - Don't disable incremental linking when optimizations are turned off. r=glandium
Incremental linking is automatically disabled when -OPT:REF or -OPT:ICF are used.
Seeing that we're disabling optimizations anyway, may as well not use those linker flags as they considerably slow down linking.

MozReview-Commit-ID: 9OXG19uxeI9

--HG--
extra : rebase_source : 4703bc4bb62af3f054ca621be7c1c51fe56cb2f3
2017-09-02 03:03:08 +02:00
Chris Manchester
fab07bc443 Bug 1386876 - Replace all uses of NO_VISIBILITY_FLAGS with a template and remove NO_VISIBILITY_FLAGS. r=glandium
MozReview-Commit-ID: 194U1WMCAM0

--HG--
extra : rebase_source : 365b68b0a1772d238ae9b84966e53dcd1197fd85
2017-05-01 18:12:35 -07:00
Chris Manchester
26d4e4810c Bug 1386876 - Move visibility flag handling to computed compile flags with templates. r=glandium
MozReview-Commit-ID: 9hwiCQv8WKU

--HG--
extra : rebase_source : cc7593fd06949a432dd056194ff19c1ac0daf4e4
2017-09-11 11:36:31 -07:00
Chris Manchester
c0a229d4c3 Bug 1386876 - Replace all uses of DISABLE_STL_WRAPPING with a template, remove DISABLE_STL_WRAPPING. r=glandium
MozReview-Commit-ID: FMEtb5PY7iP

--HG--
extra : rebase_source : 3cdee7528846462c758e623d6bcd2e6e17dbabff
2017-09-11 11:33:26 -07:00
Chris Manchester
e059037e2b Bug 1386876 - Add classes to handle compile flags computed by moz.build with templates, convert 'DISABLE_STL_WRAPPING' to use them. r=glandium
MozReview-Commit-ID: 3PYOtX4E8OC

--HG--
extra : rebase_source : 162999582bc2ef078680ce6feae628d5b1f4e857
2017-04-28 16:35:19 -07:00
Ralph Giles
4fa6c9dd7a Bug 1396158 - Remove pocketsphinx references from the build system. r=chmanchester
These were used by b2g and are no longer needed.

MozReview-Commit-ID: DQontDwwlJ5
2017-09-06 08:37:00 -07:00