Commit Graph

545 Commits

Author SHA1 Message Date
Ehsan Akhgari
f7c5e6ff63 Bug 1182727 - Part 18: Fix building clang on OSX 10.8 and older
This is documented on http://libcxx.llvm.org/.
2015-10-09 21:15:23 -04:00
Ehsan Akhgari
eb858c4b20 Bug 1182727 - Part 16: Fix a bug in build_tar_package 2015-10-08 11:30:41 -04:00
Ehsan Akhgari
fbf588270f Bug 1182727 - Part 14: Remove the old files that are not needed any more; r=rail 2015-10-02 11:09:21 -04:00
Ehsan Akhgari
68537f63c4 Bug 1182727 - Part 12: Allow dumping out what the command is doing; r=rail 2015-10-02 11:09:17 -04:00
Ehsan Akhgari
22abaac72a Bug 1182727 - Part 11: Add a config file for Clang on CentOS6; r=rail 2015-10-02 11:09:15 -04:00
Ehsan Akhgari
d22cec1684 Bug 1182727 - Part 10: Make gcc_dir configurable; r=rail 2015-10-02 11:09:13 -04:00
Ehsan Akhgari
4d9a219994 Bug 1182727 - Part 9: Make python_path configurable; r=rail 2015-10-02 11:09:11 -04:00
Ehsan Akhgari
b279107ee2 Bug 1182727 - Part 8: Add some documentation and the new config files; r=rail 2015-10-02 11:09:09 -04:00
Ehsan Akhgari
02c518c779 Bug 1182727 - Part 7: Make build_libcxx configurable; r=rail 2015-10-02 11:09:07 -04:00
Ehsan Akhgari
c15428ca1e Bug 1182727 - Part 6: Add a --clean argument for cleaning the build directory; r=rail 2015-10-02 11:09:05 -04:00
Ehsan Akhgari
cde42b9251 Bug 1182727 - Part 5: Add support for configurable build type and assertions; r=rail 2015-10-02 11:09:03 -04:00
Ehsan Akhgari
515ecc0a7c Bug 1182727 - Part 4: Add support for configurable three stage builds; r=rail
This adds a stages config option, which can be used to select 1, 2, and
3 stage builds.  It also marks the default trunk configuration to do 3
stage builds, and defaults to that.
2015-10-02 11:09:01 -04:00
Ehsan Akhgari
6b651d53a2 Bug 1182727 - Part 3: Allow updating from svn if the source directory already exists; r=rail
This will completely remove the need to blow away any of the work
previously done.
2015-10-02 11:08:59 -04:00
Ehsan Akhgari
0ffa419db3 Bug 1182727 - Part 2: Run cmake through ninja to enable resumable builds; r=rail
Since CMake generated build systems can run cmake if necessary, this
will make it possible to pick up changes from the source directory if
any and resume as much of the build as possible.

This builds the foundation for removing the need to blow away any of the
work done by the previous runs of the script.
2015-10-02 11:08:57 -04:00
Ehsan Akhgari
06ba896f34 Bug 1182727 - Part 1: Switch to using cmake and ninja in order to build clang; r=rail 2015-10-02 11:08:55 -04:00
Mike Hommey
d72ba2a81c Bug 1209391 - Remove build/unix/uniq.py. r=mshal 2015-09-30 11:51:46 +09:00
Ehsan Akhgari
206f530585 Bug 1205242 - Part 1: Update the clang used for static analysis to 3.7 on all platforms; r=ted 2015-09-28 22:40:48 -04:00
Ehsan Akhgari
7e6947b21f Bug 1203393 follow-up: Address one review comment
DONTBUILD
2015-09-22 08:44:25 -04:00
Ehsan Akhgari
9b79c5cccc Bug 1203393 - Part 2: Package clang as an xz archive; r=glandium 2015-09-22 08:30:19 -04:00
Ehsan Akhgari
59a5270f5c Bug 1203393 - Part 1: Create a stand-alone clang for Linux; r=glandium
We build gcc after clang, and extract libgcc libraries and libstdc++
headers from gcc and place them in the clang installation directory in a
way that clang favors before it searches the system for libraries and
includes.
2015-09-22 08:30:07 -04:00
Ehsan Akhgari
74da17220c Bug 1203388 - Add support for building clang targeted for CentOS6 build machines; r=rail 2015-09-11 00:16:03 -04:00
Ms2ger
ce50a0bf86 Bug 1194603 - Remove INTERNAL_TOOLS; r=mshal
Its only purpose is to disable PGO. Where that was not already explicitly done,
or irrelevant (because the directory only contains python), I disabled it in
moz.build.
2015-09-10 13:49:19 +02:00
Ted Mielczarek
6be16c3688 bug 1198226 - Move HOST_{C,CXX}FLAGS to moz.build HOST_{CFLAGS,CXXFLAGS,DEFINES}. r=mshal
As part of this move, HOST_NSPR_MDCPUCFG needed to be changed to get the quoting right.

--HG--
extra : commitid : J26MhSiPq9g
extra : rebase_source : 81c5b98371042803741ddace8d01b0097757dff3
2015-09-08 11:35:43 -04:00
Mike Hommey
e5a429008e Bug 1191212 - Force a value for PKG_CONFIG when building on automation. r=mshal
When switching between Gtk+3 and Gtk+2, config.cache will contain a PKG_CONFIG
that may not be suitable for the build:
- after a Gtk+2 build, config.cache will point to the system pkg-config, which
  doesn't like the pkg-config files in the Gtk+3 tooltool package.
- after a Gtk+3 build, config.cache will point to the Gtk+3 tooltool package's
  pkg-config, which is likely not there in a Gtk+2 build.

Setting PKG_CONFIG avoids all config.cache considerations altogether, so set it
appropriately for both cases.
2015-08-07 06:44:59 +09:00
Mike Hommey
aecd8d231d Bug 1188780 - Include debug symbols in gtk3 tooltool package. r=mshal
(relanding of http://hg.mozilla.org/mozilla-central/rev/a9d3df6e14e0)

--HG--
extra : commitid : GDNpuogmPyb
extra : amend_source : 91e46c707c6f244f7951dc44d9313d00dd0f2b1e
2015-08-04 17:26:11 -04:00
Ryan VanderMeulen
6937c1a640 Backed out changeset a9d3df6e14e0 (bug 1188780) for causing bug 1190860. a=bustage 2015-08-04 15:21:57 -04:00
Mike Hommey
1ad743e164 Bug 1188780 - Include debug symbols in gtk3 tooltool package. r=mshal
At the same time, include a setup script to replace parts of mozconfig.gtk.
2015-08-04 07:05:23 +09:00
Mike Hommey
ec6e5606d9 Bug 1187664 - Create a fontconfig cache so that Firefox doesn't have to do it itself when run on build automation. r=mshal 2015-08-04 07:05:22 +09:00
Mike Hommey
c2ba6b7aa9 Bug 1186748 - Switch hazard and root analysis builds to Gtk+3. r=mshal 2015-08-04 07:05:21 +09:00
Carsten "Tomcat" Book
ecaa52f350 Backed out changeset d093c57c6835 (bug 1186748) for causing Bug 1190180 2015-08-03 14:36:14 +02:00
Carsten "Tomcat" Book
cd121161d6 Backed out changeset 207c45dd3c2e (bug 1187664) 2015-08-03 14:35:14 +02:00
Carsten "Tomcat" Book
9b61dabe97 Backed out changeset 2238409de271 (bug 1188780) 2015-08-03 14:35:03 +02:00
Mike Hommey
fca3b07577 Bug 1188780 - Include debug symbols in gtk3 tooltool package. r=mshal
At the same time, include a setup script to replace parts of mozconfig.gtk.
2015-07-31 16:42:07 +09:00
Mike Hommey
3201a9bde4 Bug 1187664 - Create a fontconfig cache so that Firefox doesn't have to do it itself when run on build automation. r=mshal 2015-07-31 16:41:10 +09:00
Mike Hommey
ff7a038039 Bug 1186748 - Switch B2G desktop, hazard and root analysis builds to Gtk+3. r=mshal 2015-07-31 16:39:10 +09:00
Ryan VanderMeulen
5a1391207c Backed out changesets be94d55627f4 and dfc1cb1c26d9 (bug 1187664) because they depend on bug 1186748.
--HG--
extra : histedit_source : 4457df03c37cbe457f3bd099836e519d79fd3461%2Ccab92f6adf81533aef4d5c1748451cfdb44fa08c
2015-07-30 12:07:38 -04:00
Ryan VanderMeulen
efd357143c Backed out changeset ada6cd4da281 (bug 1186748) for introducing various intermittent ASAN mochitest failures. 2015-07-30 11:52:49 -04:00
Mike Hommey
3b5bf2f68a Bug 1187664 - Create a fontconfig cache so that Firefox doesn't have to do it itself when run on build automation. r=mshal 2015-07-30 08:49:29 +09:00
Mike Hommey
5bb3772feb Bug 1186748 - Switch B2G desktop, ASan, hazard and root analysis builds to Gtk+3. r=mshal 2015-07-30 08:49:29 +09:00
Mike Hommey
dfdf59058d Bug 1186748 - Move gtk-related things in a separate mozconfig. r=mshal
Some mozconfigs don't include mozconfig.linux*, and don't get gtk-related
definitions, so move them in a separate mozconfig. To avoid having two
files, one for 32-bit builds and one for 64-bit builds, rely on the
includer to set PKG_CONFIG_LIBDIR appropriately.

At the same time, move all the --enable-default-toolkit=cairo-gtk2 in that
new file in the case the gtk3 package wasn't pulled from tooltool.
2015-07-28 08:19:15 +09:00
Mike Hommey
e26476c1ed Bug 1187245 - Set things up to use Gtk+3 from the tooltool package during PGO builds. r=gps
The mk_add_options exports are meant to end up in $topobjdir/.mozconfig.mk,
which is included every time make runs.
2015-07-28 08:19:13 +09:00
Mike Hommey
56bbd9ec72 Bug 1186003 - Switch automated builds to Gtk+3. r=mshal
The build-gtk3.sh script contains the script used to generate the tooltool
packages.
2015-07-22 07:37:01 +09:00
Chris Manchester
48aa5a0ffb Bug 1181342 - tooltool manifests and build-clang config for clang 3.6 r=rail
--HG--
extra : commitid : KjFzDLPHW0g
2015-07-10 10:30:37 -07:00
Chris Manchester
073236ea96 Bug 1181255 - Mozconfigs for tsan builds. r=glandium
--HG--
extra : commitid : LIOTQcZydyU
2015-07-14 18:45:54 -07:00
Ehsan Akhgari
7c35af2768 Bug 1123386 - Part 1: Update the clang build script for the most recent clang; r=rail 2015-07-13 22:42:12 -04:00
Rail Aliiev
10bac27e88 Bug 1182170 - Kill tooltool.py from the tree. r=dustin DONTBUILD 2015-07-09 14:00:02 -04:00
Birunthan Mohanathas
388f8c1ef2 Backed out changeset 58a2788fad8e (bug 1175359) 2015-06-26 12:49:12 -07:00
Ralph Giles
d341eb3773 Bug 1175359 - Enable rust in linux64 builds. r=ted
Write a mozconfig fragment which makes the rust toolchain
provided by tooltool available for linux builds.

Use linux64 mozconfigs to enable rust for official builds of
that target. These aren't used outside of automation builds,
so including rust there will verify code on check-in without
requiring developers to install rust.
2015-06-26 12:27:19 -07:00
Mike Hommey
aac8b5bca7 Bug 1175323 - Bump stdc++compat minimum supported libstdc++ version to 4.3. r=nfroyd 2015-06-18 17:10:39 +09:00
Mike Hommey
806e0220a2 Bug 991983 - Use objdir-relative SOURCES instead of GENERATED_SOURCES. r=gps 2015-05-28 07:34:16 +09:00