Commit Graph

128 Commits

Author SHA1 Message Date
Ted Mielczarek
8c657c466f bug 1286331 - document how to generate an SDK tarball. r=dustin (DONTBUILD)
MozReview-Commit-ID: 3cbJiylS5lc

--HG--
extra : rebase_source : f11e418283b4afa1e0b47ac16d65a21fb07ec0da
2016-12-07 13:11:40 -10:00
Mike Hommey
e32d52e3cc Bug 1317504 - Don't try to set LD from old-configure. r=chmanchester
Now, it's completely unused.

--HG--
extra : rebase_source : 978296f2c12cfac4d3b2badf0390f29df1d16769
2016-11-24 15:47:10 +09: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
aleth
e1473c6704 Bug 1289847 - Followup to fix linker path for comm-* builds. r=mshal
--HG--
extra : rebase_source : 78bd30ae56b12bfda169d8b1cba82a74c7d4ec9b
2016-08-03 23:48:12 +02:00
Nathan Froyd
23038ea6e0 Bug 1291028 - add build script for custom Mac linker; r=mshal
DONTBUILD because NPOTB
2016-08-04 01:24:40 -04:00
Nathan Froyd
b9dd866253 Bug 1289847 - part 1 - use a newer ld for Mac builds; r=mshal
The ld that we use for Mac builds is old (Xcode circa OS X 10.7), and
also crashes in various ways when we try to use newer Rust versions
and/or pass options to make the linker work with newer Rust versions.
To mitigate this, let's build with a newer linker, compiled from:

https://github.com/tpoechtrager/cctools-port

We use this port, rather than the packages from opensource.apple.com,
because the packages from Apple have decidely non-intuitive build
systems, and require some hacking to get to build.  This port, in
contrast, is simply built with:

CFLAGS='-mcpu=generic -mtune=generic' ./configure --target=x86_64-apple-darwin11
env MACOSX_DEPLOYMENT_TARGET=10.7 make

and the resulting x86_64-apple-darwin11-ld is renamed as 'ld' and
packaged up for automation's purposes.

However, since this linker is newer, it also produces bits of Mach-O
that our older build tools don't understand.  Fortunately, we can pass
appropriate options to the linker to turn off generation of those Mach-O
bits.
2016-08-03 04:24:33 -04:00
Wes Kocher
fcd23d9afe Backed out 2 changesets (bug 1289847) for OSX static build bustage CLOSED TREE
Backed out changeset 74922f9ce5c6 (bug 1289847)
Backed out changeset f22763859aae (bug 1289847)
2016-08-01 14:56:53 -07:00
Nathan Froyd
bac3709dc1 Bug 1289847 - part 1 - use a newer ld for Mac builds; r=mshal
The ld that we use for Mac builds is old (Xcode circa OS X 10.7), and
also crashes in various ways when we try to use newer Rust versions
and/or pass options to make the linker work with newer Rust versions.
To mitigate this, let's build with a newer linker, compiled from:

https://github.com/tpoechtrager/cctools-port

We use this port, rather than the packages from opensource.apple.com,
because the packages from Apple have decidely non-intuitive build
systems, and require some hacking to get to build.  This port, in
contrast, is simply built with:

CFLAGS='-mcpu=generic -mtune=generic' ./configure --target=x86_64-apple-darwin11
env MACOSX_DEPLOYMENT_TARGET=10.7 make

and the resulting x86_64-apple-darwin11-ld is renamed as 'ld' and
packaged up for automation's purposes.

However, since this linker is newer, it also produces bits of Mach-O
that our older build tools don't understand.  Fortunately, we can pass
appropriate options to the linker to turn off generation of those Mach-O
bits.
2016-08-01 22:49:02 -04:00
Mike Hommey
60581da671 Bug 1244446 - Remove OSX universal builds postflight. r=gps,r=ted
At this point, the only remaining part of the postflight for OSX
universal builds dates back to bug 834228. Since then, many things have
changed, one of them being that automation build steps have dependencies
that can be expressed through make dependencies.

While this is not directly related to bug 1244446, fixing this bug gets
more complicated if postflight needs to happen before some of the
automation build steps.
2016-06-07 07:41:04 +09:00
Carsten "Tomcat" Book
530c175c0d Backed out changeset e89afb1745a1 (bug 1244446) for windows pgo bustage 2016-06-06 14:31:29 +02:00
Mike Hommey
434deffe84 Bug 1244446 - Remove OSX universal builds postflight. r=gps,r=ted
At this point, the only remaining part of the postflight for OSX
universal builds dates back to bug 834228. Since then, many things have
changed, one of them being that automation build steps have dependencies
that can be expressed through make dependencies.

While this is not directly related to bug 1244446, fixing this bug gets
more complicated if postflight needs to happen before some of the
automation build steps.
2016-06-06 14:18:33 +09:00
Mike Hommey
c12b02c70d Bug 1260647 - Unify cross-compilation setup, while moving some of it to moz.configure. r=ted
Gonk, Android, and the generic cross-compilation setup all were using a
different yet similar way to prefix the toolchain. The latter was even
wrong, since the target and target alias usually don't match actual
toolchain prefixes (which don't include the machine part of the target).
2016-04-01 09:43:26 +09:00
Mike Shal
b1d679b8ae Bug 700997 - enable l10n-check on mac; r=glandium 2016-02-02 09:04:40 -05:00
Nathan Froyd
bb9b87482f Bug 1244261 - part 2 - use common mozconfig.rust on OS X; r=mshal
Now that we have cross-compilation tooltool packages for OS X, we can
use the common mozconfig to enable Rust on all OS X builds, regardless
of host OS.
2016-02-01 10:20:57 -05:00
Ralph Giles
91fa64f387 Bug 1228703 - rustc 1.4.0 build for MacOS X with 32+64 bit support. r=mshal
Update tooltool manifest for macosx with a custom build of rustc 1.4.0
with --enable-rpath --disable-elf-tls and MACOSX_DEPLOYMENT_TARGET=10.7
on MacOS X 10.10.5, Xcode 7.1.1 (clang-700.1.76).

Built for x86_64-apple-darwin with the rustlib from a separate
i686-apple-darwin build copied into the tree to support 32-bit cross
for universal builds.

Since we've enabled rpath, we can drop the DYLD_LIBRARY_PATH setting
from mozconfig.rust. This method seems cleaner since the add/append
decision for DYLD_LIBRARY_PATH is verbose in shell.
2015-12-09 11:08:40 -05:00
Ted Mielczarek
a6ebe09f72 bug 1215748 - use llvm-dsymutil for mac builds. r=mshal
--HG--
extra : commitid : Ji7oK7aHsQz
extra : rebase_source : 2256afe311fa49b09b679e69b6e9723c891ae807
2015-10-21 12:22:18 -04:00
Ted Mielczarek
8d85b85053 bug 543111 - add support for alternate dsymutil paths to configure, add to cross-mozconfig. r=glandium
--HG--
extra : commitid : 3xaBaiTqvnI
extra : rebase_source : 64189985ee6955e59ffe74b1ca84418fdda887f8
2015-09-29 12:59:12 -04:00
Ted Mielczarek
b8305eb01b bug 543111 - enable Breakpad for cross-mac builds. r=glandium
--HG--
extra : commitid : FEcPyAxmzAp
extra : rebase_source : 2e03e158844557306bec272ceb7e468bd51f1489
2015-09-11 06:48:50 -04:00
Carsten "Tomcat" Book
d325d6fc78 Backed out 4 changesets (bug 543111) for mac bustage on a CLOSED TREE
Backed out changeset 81f6fdc25862 (bug 543111)
Backed out changeset d1a73eaa6113 (bug 543111)
Backed out changeset 08c7f9ed5970 (bug 543111)
Backed out changeset 3b323ed3b20a (bug 543111)

--HG--
rename : toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.cc => toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.mm
2015-10-01 14:32:11 +02:00
Ted Mielczarek
152500a97c bug 543111 - add support for alternate dsymutil paths to configure, add to cross-mozconfig. r=glandium
--HG--
extra : commitid : 3rwqhDnicWF
extra : rebase_source : f5abac85a20d810b13060a450e5e7bd0fef59e3e
2015-09-29 12:59:12 -04:00
Ted Mielczarek
09624368d4 bug 543111 - enable Breakpad for cross-mac builds. r=glandium
--HG--
extra : commitid : A7OS661lyaH
extra : rebase_source : 8c719fb14d0a7ee90bf85b516251fdbafcddb42a
2015-09-11 06:48:50 -04:00
Ehsan Akhgari
af2d200dcd Bug 1208787 - Enable static analysis checks by default on OSX cross builds; r=ted 2015-09-30 10:16:25 -04:00
Ehsan Akhgari
3dffc9c59e Bug 1204763 - Enable cross compiling the clang plugin for OS X on Linux; r=glandium 2015-09-28 22:14:53 -04:00
Ted Mielczarek
3132b7b611 bug 1203689 - Use tooltool gcc as host compiler for cross-mac builds. r=dustin
--HG--
extra : commitid : 2MFYONNTuoy
extra : rebase_source : c6454df99e6bda96bacc0611df130e76c1d7fa17
2015-09-10 15:21:31 -04:00
Ted Mielczarek
8ec6eceda0 bug 1197248 - Don't try to --enable-rust on cross-mac builds yet. r=gps
--HG--
extra : commitid : Ih7sMe6g288
extra : rebase_source : fe1c6600a382bab00364ea619d04b7de3065eea9
2015-08-21 11:35:13 -04:00
Ted Mielczarek
f6401483cd bug 935237 - add genisoimage+dmg binaries to tooltool manifest, use them in cross-mac mozconfig. r=gps
--HG--
extra : commitid : Dp87ss6OII7
extra : rebase_source : e56e03c8c95482fec1adf1f5cce6641a3a6a88df
2015-09-10 06:44:24 -04:00
Ted Mielczarek
41c99f72d3 bug 1201224 - stop unifying test package during mac universal builds. r=gps
--HG--
extra : commitid : HuB6LRpFWcT
extra : rebase_source : 54a36df1159fadd6287aefb531a29f42f7aacab6
2015-09-02 15:32:58 -04:00
Ted Mielczarek
8b879c27f0 bug 1182519 - Put mozconfigs for cross-mac builds in tree. r=mshal
--HG--
rename : build/macosx/mozconfig.common => build/macosx/local-mozconfig.common
extra : rebase_source : a84908c556a2d7d8c64d8228d4235297c84bb204
2015-07-14 07:02:22 -04:00
Ralph Giles
129bc3aeeb Bug 1183850 - Enable rust for macosx64 Nightly and Dev. r=mshal
Add a mozconfig fragment enabling rust on mac builds.

Include it in the official integration mozconfig files only.
Developer checkouts don't require rust.
2015-07-20 12:59:26 -07:00
Mike Hommey
84878777a1 Bug 1181040 - Include mozconfig.cache after mozconfig.common.override. r=mshal
Enable sccache on windows b2g builds at the same time to simplify things.
2015-07-11 06:26:20 +09:00
Ted Mielczarek
633f9ad0e7 bug 1085557 - Add Socorro symbol upload token file to mac and windows mozconfigs. r=coop
--HG--
extra : rebase_source : 6a647aac8b6be453a7c6fb624d02865abf413dc0
extra : source : 3c62d97274352feb330eaa8721c0c364e2dbfc8c
2015-02-27 08:58:57 -05:00
Ryan VanderMeulen
0f0c55ff2e Backed out changeset e3d23172f0fe (bug 1085557) for nightly symbol upload failures. a=me 2015-03-25 13:42:46 -04:00
Ted Mielczarek
f66ee346e8 bug 1085557 - Add Socorro symbol upload token file to mozconfigs. r=coop
--HG--
extra : rebase_source : a34863a40c87c3cc63ab0b34ebb8028261b4ec5d
extra : source : 3c62d97274352feb330eaa8721c0c364e2dbfc8c
2015-02-27 08:58:57 -05:00
Mike Shal
47434653c0 Bug 1137000 - Enable SDK building on nightlies; r=glandium 2015-03-17 15:29:07 -04:00
Mike Shal
48668314ac Bug 1141534 - fix mulet nightly mozconfigs; r=bhearsum
We don't want uploadsymbols or update-packaging for nightly mulet
builds, but these were being set by the underlying browser mozconfigs.
2015-03-10 16:20:02 -04:00
Georg Koppen
144cfd9761 Bug 1067893 - Detect OTOOL in configure. r=glandium 2014-11-25 05:12:00 -05:00
Ted Mielczarek
36d596b184 bug 1052454 - fix error messages from unify script. r=gps 2014-08-14 12:12:03 -04:00
Ralph Giles
830a4bc7d9 Bug 1045128 - Bump MacOS X SDK to 10.7 for release builds. r=ted
This simplifies the medie PlatformDecoderModule build, and makes
it easier to create a toolchain needed for release builds. We
expect binaries built against the 10.7 sdk to still run on 10.6.
2014-07-28 10:36:52 -07:00
Mike Shal
780a1c601a Bug 978211 - OSX automation configs; r=glandium 2014-07-03 22:05:45 -04:00
Ehsan Akhgari
9b39a7c476 Bug 861425 - Build the clang plugin on Mac; r=jcranmer 2014-05-31 09:13:32 -04:00
James Graham
54a81fe8c7 Bug 1011458 - Buy back a few characters for Windows paths by renaming tests staging directory. r=ted 2014-05-16 04:55:00 +02:00
Mike Hommey
36b928c7a3 Bug 1002606 - Enable sccache for mac try builds. r=mshal 2014-04-30 06:06:09 +09:00
Mike Hommey
80e79be833 Bug 462427 - Stop requiring CROSS_COMPILE being set. r=ted 2014-02-11 10:37:46 +09:00
Mike Hommey
ca1b5bf42a Bug 926906 - Kill core_abspath, core_realpath and core_winabspath. r=gps 2013-10-17 07:55:16 +09:00
Gervase Markham
5103d820f9 Bug 715549 - remove last vestiges of tri-licence. DONTBUILD. 2013-07-19 16:08:33 +01:00
Josh Matthews
41a6f98b20 Bug 597064 - Add timeout logic to xpcshell test runner. r=ted 2012-12-20 03:43:19 -05:00
Ryan VanderMeulen
aab85fbf26 Backed out changeset e40466e428dc (bug 853301) for breaking cross-compiles. 2013-05-08 08:27:00 -04:00
Norbert Lindenberg
66110995b2 Bug 853301 - Enable ECMAScript Internationalization API for desktop Firefox. r=gps, r=brendan, sr=asa 2013-05-06 16:45:25 -07:00
Mike Hommey
b7e1764ebe Bug 861453 - Restore empty substs after bug 857557, but put them in a separate file, unlisted as a dependency for everything. r=gps 2013-04-16 08:23:18 +02:00
Phil Ringnalda
d2d374b265 Back out 390be7c3dd3a (bug 853301) and 029a6cc8ca0a (bug 724533) for b2g desktop Windows build bustage and Windows xpcshell orange
CLOSED TREE
2013-04-13 13:31:01 -07:00