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

224 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey 5742849bde Bug 1773743 - Change the minimum required macos SDK to 13.0. r=firefox-build-system-reviewers,spohl,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D167773
2023-02-01 10:14:12 +00:00
Mike Hommey f4f96dcdf8 Bug 1773741 - Switch builds to the macOS 13 SDK. r=firefox-build-system-reviewers,spohl,andi
Keep a couple jobs on the 11.3 SDK until bug 1773743.

Differential Revision: https://phabricator.services.mozilla.com/D166748
2023-01-19 01:40:37 +00:00
Heitor Neiva b71d7b535b Bug 1801381 - Disable run_configure for mac repackaging r=glandium
Switches from `buildconfig.substs` to `bootstrap_toolchain` for the repackage job
Refactors mozpack/dmg to not depend on the environment; Moves path resolution of tools up to `mozbuild.action.{make_dmg|unpack_dmg}`
Update syntax to python 3.7+

Differential Revision: https://phabricator.services.mozilla.com/D163129
2022-12-06 21:11:43 +00:00
Norisz Fay 1235811770 Backed out changeset 632f9747a11e (bug 1801381) for causing build bustages on OSX. CLOSED TREE 2022-12-01 12:01:04 +02:00
Heitor Neiva c502d9c55b Bug 1801381 - Disable run_configure for mac repackaging r=glandium
Switches from `buildconfig.substs` to `bootstrap_toolchain` for the repackage job
Refactors mozpack/dmg to not depend on the environment; Moves path resolution of tools up to `mozbuild.action.{make_dmg|unpack_dmg}`
Update syntax to python 3.7+

Differential Revision: https://phabricator.services.mozilla.com/D163129
2022-12-01 01:29:27 +00:00
Mike Hommey c72fd7b701 Bug 1788837 - Default to lld for mac builds. r=firefox-build-system-reviewers,andi,ahochheiden
This had been attempted in bug 1747532 but failed for some reason and we
limited it to local builds with clang >= 13. Now enable by default on any
build with clang >= 15.

Differential Revision: https://phabricator.services.mozilla.com/D156267
2022-11-09 23:54:07 +00:00
Mike Hommey bee90b0f95 Bug 1784202 - Update builders to clang 15. r=firefox-build-system-reviewers,andi
We keep clang 14 for webrender-wrench for now, because of bug 1789346.

Differential Revision: https://phabricator.services.mozilla.com/D155532
2022-11-01 23:46:33 +00:00
Sandor Molnar 55c9f970f6 Backed out changeset 59151d6a9b0b (bug 1784202) for causing crashes @strlen + 0x30 2022-10-26 14:59:24 +03:00
Mike Hommey cfce5ea6fe Bug 1784202 - Update builders to clang 15. r=firefox-build-system-reviewers,andi
We keep clang 14 for webrender-wrench for now, because of bug 1789346.

Differential Revision: https://phabricator.services.mozilla.com/D155532
2022-10-25 07:28:24 +00:00
Marian-Vasile Laza dca276a235 Backed out changeset 1efa06d7902a (bug 1784202) for causing mochitest failures. CLOSED TREE 2022-09-22 04:44:50 +03:00
Mike Hommey 70cdc9a963 Bug 1784202 - Update builders to clang 15. r=firefox-build-system-reviewers,andi
We keep clang 14 for webrender-wrench for now, because of bug 1789346.

Differential Revision: https://phabricator.services.mozilla.com/D155532
2022-09-21 20:11:34 +00:00
Mike Hommey ef98b71931 Bug 1788854 - Require MacOSX 11.3 SDK. r=firefox-build-system-reviewers,andi
Because the relevant SDK is not installed on the mac workers, we pull it
via fetches and adjust the plain build mozconfig as well as mozconfigs
for rusttest, grouping most things in build/macosx/mozconfig.common.

And because the SDK itself now has all the relevant headers, we don't
need the old check for system C++ headers (which also happens to have
outdated instructions)

Differential Revision: https://phabricator.services.mozilla.com/D156280
2022-09-04 21:07:02 +00:00
Mike Hommey 49b4329f1c Bug 1788854 - Upgrade MacOS SDK to 11.3. r=firefox-build-system-reviewers,andi
We keep the older 11.0 and 10.11 SDKs for openh264.

Ideally, we'd rename the SDK directory not to contain its version, but
ld64 actually relies on the directory name to figure out the platform
version when it's not given to it, which it's not. We can make clang do
that, but it's rather involved (because it also requires setting up the
host linker properly, which we don't do), so we just go the easy route
and keep the SDK version in its directory.

Differential Revision: https://phabricator.services.mozilla.com/D156279
2022-09-04 21:07:01 +00:00
Mike Hommey b34edd1cad Bug 1696504 - Bump macOS builds to SDK 11.0. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D131588
2022-05-26 14:31:05 +00:00
Cristian Tuns 3796612e48 Backed out changeset 10a2fbadf5d3 (bug 1696504) for causing reftest failures on hiragino-kaku-1.html CLOSED TREE 2022-05-25 22:19:24 -04:00
Mike Hommey c54b3311fb Bug 1696504 - Bump macOS builds to SDK 11.0. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D131588
2022-05-25 18:28:19 +00:00
Mike Hommey b798bb1980 Bug 1770251 - Centralize PGO mozconfig bits. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D146852
2022-05-20 08:31:46 +00:00
Sandor Molnar e3932a5144 Backed out changeset 572b175efb09 (bug 1696504) for causing regressions. a=backout 2021-12-01 19:48:29 +02:00
Mike Hommey 21c8cb7ed7 Bug 1696504 - Bump macOS builds to SDK 11.0. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D131588
2021-11-24 22:47:43 +00:00
Marian-Vasile Laza 376fd53683 Backed out changeset a899281204c7 (bug 1696504) for causing GTest failures. 2021-11-23 11:51:05 +02:00
Mike Hommey 9caeaefc7d Bug 1696504 - Bump macOS builds to SDK 11.0. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D131588
2021-11-23 02:29:31 +00:00
Mike Hommey b2dd8f3c30 Bug 1729611 - Remove the separate llvm-dsymutil toolchain. r=firefox-build-system-reviewers,mhentges
It made sense when we did have problems with the one shipped with clang
and needed an explicitly newer version, but that hasn't been true in a
while. On the contrary, we're now using a version older than clang for
no reason other than having forgotten to update it.

Differential Revision: https://phabricator.services.mozilla.com/D124886
2021-09-09 00:11:47 +00:00
Mike Hommey 3dee917b9d Bug 1729611 - Remove llvm-dsymutil wrapper. r=firefox-build-system-reviewers,mhentges
As mentioned in the previous commit, it hasn't been useful for at least
2 years.

Differential Revision: https://phabricator.services.mozilla.com/D124885
2021-09-09 00:11:47 +00:00
Mike Hommey e779c5d35f Bug 1729611 - Fix llvm-dsymutil wrapper after the move to MOZ_FETCHES_DIR for downloaded toolchains. r=firefox-build-system-reviewers,mhentges
The change happened 2 years ago in bug 1571562, which means the script
hasn't hit a llvm-dsymutil crash since then (we would have noticed that
it doesn't produce reproducers if we had recurring llvm-dsymutil crashes).
So before removing the script, fix it, so that if we do need to dig it
up from history, we don't pull a broken version.

Differential Revision: https://phabricator.services.mozilla.com/D124884
2021-09-09 00:11:46 +00:00
Mike Hommey 738d83b404 Bug 1726114 - Remove build/macosx/local-mozconfig.common. r=firefox-build-system-reviewers,mhentges
Local builds don't use it, and currently the only builds that happen on
macs on automation are not using the clang toolchain, so they're not
going through the first condition, and the remainder of the mozconfig
is essentially no-ops (plus, the only builds on macs on automation that
do use mozconfigs at all are rusttests, for which those settings wouldn't
matter anyways).

Meaning in practice, the mozconfig is not doing anything useful.

Differential Revision: https://phabricator.services.mozilla.com/D122823
2021-08-17 20:41:05 +00:00
Mike Hommey 27dfa198c6 Bug 1685764 - Switch all tasks using the cross-releng tooltool manifest to the corresponding toolchain task. r=firefox-build-system-reviewers,dmajor
In the case of toolchain tasks, the tooltool download script already
extracted the SDK in $MOZ_FETCHES_DIR, so no adjustment was required.
Only a Firefox mozconfig needs adaptation.

Differential Revision: https://phabricator.services.mozilla.com/D104646
2021-02-11 22:06:20 +00:00
Mike Hommey 5552bc3c4a Bug 1686646 - In mozconfigs, don't set paths to tools configure can now find on its own. r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D101721
2021-01-15 04:33:09 +00:00
Mike Hommey 3a558130b5 Bug 1480005 - Remove check for RANLIB. r=firefox-build-system-reviewers,nalexander
It hasn't been used since bug 569597 and bug 1295937.

Differential Revision: https://phabricator.services.mozilla.com/D101680
2021-01-14 03:40:45 +00:00
Mike Hommey 12679da6a0 Bug 1680152 - Bump macos SDK to 10.12. r=spohl,firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D98421
2020-12-02 21:50:28 +00:00
Mike Hommey 18704e0274 Bug 1678291 - Default to use private frameworks from the SDK. r=firefox-build-system-reviewers,mhentges
And don't set it via mozconfig. The default to /System/Library/PrivateFrameworks
may also not have matched the used SDK previously, so the new default is
better.

Differential Revision: https://phabricator.services.mozilla.com/D97564
2020-11-19 20:25:20 +00:00
Mike Hommey f68de9784d Bug 1678291 - Don't set BINDGEN_CFLAGS in mac mozconfig. r=firefox-build-system-reviewers,mhentges
This hasn't been necessary since bug 1526857.

Differential Revision: https://phabricator.services.mozilla.com/D97563
2020-11-19 15:40:55 +00:00
Mike Hommey af02c91f37 Bug 1665754 - Setup an Apple silicon macos build. r=firefox-build-system-reviewers,dmajor
Baby steps. This adds an unsigned non-universal Apple silicon-only macos
build.

Differential Revision: https://phabricator.services.mozilla.com/D96339
2020-11-10 08:46:22 +00:00
Mike Hommey 3a86574eae Bug 1669642 - Rename LLVMCONFIG to LLVM_CONFIG and derive it like we do for LLVM_OBJDUMP. r=firefox-build-system-reviewers,andi,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D92737
2020-10-07 22:36:49 +00:00
Nathan Froyd 0d1891b9cf Bug 1654845 - use new dump_syms for Mac builds; r=dmajor
Faster (although not by much) and more maintainable is good.

Depends on D84728

Differential Revision: https://phabricator.services.mozilla.com/D84729
2020-07-23 17:01:21 +00:00
Mike Shal 4fabfd049b Bug 1607193 - Remove MOZ_AUTOMATION_L10N_CHECK; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D66715

--HG--
extra : moz-landing-system : lando
2020-03-13 18:34:05 +00:00
Mike Hommey 72fd664abd Bug 1621529 - Use MOZ_FETCHES_DIR for pgo file paths. r=froydnj
This is both for future proofing (fetches could move any time although
they likely won't), and to fix the path on the future Windows PGO
cross builds, where the fetches path is not under $WORKSPACE.

Differential Revision: https://phabricator.services.mozilla.com/D66358

--HG--
extra : moz-landing-system : lando
2020-03-11 10:36:11 +00:00
Chris Manchester 6b7cde2020 Bug 1604578 - Fix pgo enable variable name in macOS mozconfig. r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D57596

--HG--
extra : moz-landing-system : lando
2019-12-18 17:53:36 +00:00
Chris Manchester 0929dac033 Bug 1528374 - Add macOS pgo builds to the taskgraph. r=firefox-build-system-reviewers,mshal,tomprince
Differential Revision: https://phabricator.services.mozilla.com/D20409

--HG--
extra : moz-landing-system : lando
2019-12-16 23:25:07 +00:00
Oana Pop Rus b49aefd3c9 Backed out 3 changesets (bug 1528374) for build bustages failures during artifact upload: file-missing-on-worker: Could not read directory /Users/task_1576213467/artifacts on a CLOSED TREE
Backed out changeset 3c2a1cf616b4 (bug 1528374)
Backed out changeset 967d0072cd2f (bug 1528374)
Backed out changeset 0d0186ecd70e (bug 1528374)
2019-12-16 23:50:45 +02:00
Chris Manchester 23e9c6d856 Bug 1528374 - Add macOS pgo builds to the taskgraph. r=firefox-build-system-reviewers,mshal,tomprince
Differential Revision: https://phabricator.services.mozilla.com/D20409

--HG--
extra : moz-landing-system : lando
2019-12-13 05:43:44 +00:00
Noemi Erli 24e02f049b Backed out 3 changesets (bug 1528374) per tomprice's request for breaking macOS signing jobs CLOSED TREE
Backed out changeset 5a6fa3b5123b (bug 1528374)
Backed out changeset 32f3b1b3fe3b (bug 1528374)
Backed out changeset a412a319534c (bug 1528374)
2019-12-13 06:48:05 +02:00
Chris Manchester 3138b4cffd Bug 1528374 - Add macOS pgo builds to the taskgraph. r=firefox-build-system-reviewers,mshal,tomprince
Differential Revision: https://phabricator.services.mozilla.com/D20409

--HG--
extra : moz-landing-system : lando
2019-12-12 19:31:17 +00:00
Mike Hommey c173540215 Bug 1573435 - Use toolchain fetches for all remaining toolchain uses. r=nalexander
The remaining uses all need adjustements to in-tree mozconfigs, so they
all need to be done at once.

However, to make things slightly more intelligible, we do this in two
steps. This is step 1: we modify the use_toolchain transform to take care of
the transformation, while keeping the task definitions intact, so that
we only deal with mozconfig and build script adjustements here.

Differential Revision: https://phabricator.services.mozilla.com/D41890
2019-08-15 11:21:52 +09:00
Mike Hommey 79919f31ad Bug 1357317 - Add an rpath to cctools such that it doesn't require LD_LIBRARY_PATH at run-time. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D38140

--HG--
extra : moz-landing-system : lando
2019-07-16 20:54:42 +00:00
Csoregi Natalia 3ee5aa5125 Backed out changeset 43e086ced66f (bug 1562953) for toolchains bustage. CLOSED TREE 2019-07-09 08:54:59 +03:00
Nathan Froyd c762dc8e76 Bug 1562953 - update cctools-port; r=mshal
We need a fix from `cctools-port` master for cross-language LTO builds
to work properly on the Mac.  Rather than cherry-picking yet another
commit, which would have to deal with a updated `ld64` upstream, we've
opted to go ahead and update directly to upstream.

This choice brings about some significant build changes, as TAPI support
has moved to a different library that is not easily buildable directly.

Differential Revision: https://phabricator.services.mozilla.com/D36636

--HG--
extra : moz-landing-system : lando
2019-07-09 04:59:37 +00:00
Nathan Froyd 37d0db29a9 Bug 1551690 - be more specific about the LLVM target on OS X; r=nalexander
Our current OS X builds use `--target=x86_64-darwin11` (which
corresponds to OS X 10.7).  This target is problematic for two reasons:

* We're actually targeting for OS X 10.9 (`MACOSX_DEPLOYMENT_TARGET`);
* It's slightly different from the default Rust target.

Let's address these problems in reverse order: differences from the Rust
target are bad, because the `--target` we provide to `clang` and the
Rust target find their way into LLVM bitcode files and the linker will
refuse to link together bitcode files that have incompatible targets.

Why are the two incompatible?  The current `--target` doesn't have a
"vendor" in triple-speak, whereas the Rust one has "apple" as the
vendor (`x86_64-apple-darwin`) We therefore need to change the
`--target` we pass to `clang` to have a vendor of "apple".

This need is behind the {init,toolchain}.configure changes,
but it has ramifications elsewhere, because `clang` looks for
`--target`-prefixed build tools.  So we have to change the `--target`
for cctools to get the right tool prefixes and we have to change the
`--target` for building clang ourselves so that *those* builds can find
the newly renamed cctools.

Once we've done, that's really enough; we don't *need to address the
first problem: While the `--target` might be `x86_64-apple-darwin11`,
both `clang` and `rustc` will dynamically choose the target triple that
eventually lands in LLVM bitcode files based on
`MACOSX_DEPLOYMENT_TARGET`, which we set in all builds.  But the current
target is slightly misleading, and the cctools don't need to be prefixed
with a particular Darwin version, since they work for all Darwin
targets.  Let's just drop the "11" from the `--target` and eliminate a
little bit of confusion.

Differential Revision: https://phabricator.services.mozilla.com/D31128

--HG--
extra : moz-landing-system : lando
2019-05-21 17:53:44 +00:00
Andreea Pavel 58566309c2 Backed out changeset ae7096d1add7 (bug 1551690) for toolchain bustages on a CLOSED TREE 2019-05-21 17:05:24 +03:00
Nathan Froyd d49bc5f0ef Bug 1551690 - be more specific about the LLVM target on OS X; r=nalexander
Our current OS X builds use `--target=x86_64-darwin11` (which
corresponds to OS X 10.7).  This target is problematic for two reasons:

* We're actually targeting for OS X 10.9 (`MACOSX_DEPLOYMENT_TARGET`);
* It's slightly different from the default Rust target.

Let's address these problems in reverse order: differences from the Rust
target are bad, because the `--target` we provide to `clang` and the
Rust target find their way into LLVM bitcode files and the linker will
refuse to link together bitcode files that have incompatible targets.

Why are the two incompatible?  The current `--target` doesn't have a
"vendor" in triple-speak, whereas the Rust one has "apple" as the
vendor (`x86_64-apple-darwin`) We therefore need to change the
`--target` we pass to `clang` to have a vendor of "apple".

This need is behind the {init,toolchain}.configure changes,
but it has ramifications elsewhere, because `clang` looks for
`--target`-prefixed build tools.  So we have to change the `--target`
for cctools to get the right tool prefixes and we have to change the
`--target` for building clang ourselves so that *those* builds can find
the newly renamed cctools.

Once we've done, that's really enough; we don't *need to address the
first problem: While the `--target` might be `x86_64-apple-darwin11`,
both `clang` and `rustc` will dynamically choose the target triple that
eventually lands in LLVM bitcode files based on
`MACOSX_DEPLOYMENT_TARGET`, which we set in all builds.  But the current
target is slightly misleading, and the cctools don't need to be prefixed
with a particular Darwin version, since they work for all Darwin
targets.  Let's just drop the "11" from the `--target` and eliminate a
little bit of confusion.

Differential Revision: https://phabricator.services.mozilla.com/D31128

--HG--
extra : moz-landing-system : lando
2019-05-21 13:48:23 +00:00
Coroiu Cristina c4361da40f Backed out changeset 2e560a9e4bcf (bug 1551690) for build bustages 2019-05-21 03:51:56 +03:00