Commit Graph

354 Commits

Author SHA1 Message Date
serge-sans-paille
d8a80fdff3 Bug 1915191 - Provide a minimal linter for configure help r=glandium,geckoview-reviewers,owlish
Currently makes sure all help message begins with an uppercase letter
and does *not* end with a dot.

Differential Revision: https://phabricator.services.mozilla.com/D220283
2024-11-07 10:43:43 +00:00
Paul Adenot
db9008d099 Bug 1717448 - Vendor {fmt} in third_party. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D216921
2024-10-21 12:54:52 +00:00
Tamas Szentpeteri
6e1a798714 Backed out 13 changesets (bug 1717448) for causing gtest failures on iofwrite.c
Backed out changeset 4254666ea8a7 (bug 1717448)
Backed out changeset 41c8a260d55b (bug 1717448)
Backed out changeset 670256c85479 (bug 1717448)
Backed out changeset 37ab78b00a4f (bug 1717448)
Backed out changeset 5e5b42a7cde1 (bug 1717448)
Backed out changeset 8295836348fb (bug 1717448)
Backed out changeset aebf794911ca (bug 1717448)
Backed out changeset 4381f24f8495 (bug 1717448)
Backed out changeset f0ca736c051b (bug 1717448)
Backed out changeset 993a64fd729a (bug 1717448)
Backed out changeset 2e17fb168eaf (bug 1717448)
Backed out changeset 47ed151719a4 (bug 1717448)
Backed out changeset adef9b3b6231 (bug 1717448)
2024-10-18 20:03:47 +03:00
Paul Adenot
74a4bce7f0 Bug 1717448 - Vendor {fmt} in third_party. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D216921
2024-10-18 11:34:49 +00:00
Mike Hommey
9f3d6d14c7 Bug 1910796 - Integrate libz-rs-sys as a replacement for zlib. r=supply-chain-reviewers,firefox-build-system-reviewers,nika,sergesanspaille
Disabled by default for now.

Differential Revision: https://phabricator.services.mozilla.com/D218165
2024-09-02 22:49:59 +00:00
serge-sans-paille
c80979206d Bug 1914121 - Remove unused add_old_configure_assignment r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D219819
2024-08-29 07:42:33 +00:00
Iulian Moraru
f0f411713a Backed out changeset 2bbc01486e2f (bug 1910796) for causing multiple failures. CLOSED TREE 2024-08-28 04:52:09 +03:00
Mike Hommey
cdbe802fc3 Bug 1910796 - Integrate libz-rs-sys as a replacement for zlib. r=supply-chain-reviewers,firefox-build-system-reviewers,nika,sergesanspaille
Nightly-only for now.

Differential Revision: https://phabricator.services.mozilla.com/D218165
2024-08-28 00:36:50 +00:00
Cosmin Sabou
72d92c9b70 Backed out changeset fb02d762cca9 (bug 1910796) for causing mass assertion failures on Compression. CLOSED TREE 2024-08-15 15:32:52 +03:00
Mike Hommey
521c4ccf1d Bug 1910796 - Integrate libz-rs-sys as a replacement for zlib. r=supply-chain-reviewers,firefox-build-system-reviewers,nika,sergesanspaille
Nightly-only for now.

Differential Revision: https://phabricator.services.mozilla.com/D218165
2024-08-15 12:00:33 +00:00
Iulian Moraru
663e005613 Backed out 3 changesets (bug 1910796) for causing build bustages and mass test failures. CLOSED TREE
Backed out changeset bbcbbe6b247d (bug 1910796)
Backed out changeset adde3a9ee0f7 (bug 1910796)
Backed out changeset 2aac134f145f (bug 1910796)
2024-08-13 19:29:38 +03:00
Mike Hommey
ce3936e0fb Bug 1910796 - Integrate libz-rs-sys as a replacement for zlib. r=supply-chain-reviewers,firefox-build-system-reviewers,nika,sergesanspaille
Nightly-only for now.

Differential Revision: https://phabricator.services.mozilla.com/D218165
2024-08-13 15:03:42 +00:00
serge-sans-paille
499a5548e9 Bug 1882553 - Move clang plugin flag computation to python.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D203015
2024-08-01 15:12:50 +00:00
serge-sans-paille
0ee36a531c Bug 1906804 - Move CFLAGS and CXXFLAGS from old-configure to moz.configure r=glandium
As a side effect, defaults to empty list for those flags when not set.

Differential Revision: https://phabricator.services.mozilla.com/D216096
2024-08-01 15:12:49 +00:00
Iulian Moraru
79f37e7fcd Backed out 2 changesets (bug 1906804, bug 1882553) for causing artifact build bustages. CLOSED TREE
Backed out changeset 47260bf5693c (bug 1882553)
Backed out changeset 16b093f86271 (bug 1906804)
2024-07-24 10:07:42 +03:00
serge-sans-paille
b20b4b4303 Bug 1882553 - Move clang plugin flag computation to python.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D203015
2024-07-24 05:35:34 +00:00
Mike Hommey
e3fddf4ab2 Bug 1908833 - Remove ZLIB_IN_MOZGLUE. r=firefox-build-system-reviewers,ahochheiden
It's not used on Android anymore, which was the last remaining thing
that would set it.

Differential Revision: https://phabricator.services.mozilla.com/D217349
2024-07-23 22:05:38 +00:00
Mike Hommey
f6262fc12f Bug 1908833 - Don't set ZLIB_IN_MOZGLUE when MOZ_LINKER is enabled. r=firefox-build-system-reviewers,ahochheiden
The linker hasn't been using zlib since bug 1875218.

Differential Revision: https://phabricator.services.mozilla.com/D217347
2024-07-23 22:05:37 +00:00
Cristina Horotan
c3b1e4aaa2 Backed out 2 changesets (bug 1906804, bug 1882553) for causing build bustages
Backed out changeset 1c8040b6090f (bug 1882553)
Backed out changeset f9fc828b8987 (bug 1906804)
2024-07-23 09:49:15 +03:00
serge-sans-paille
b647e2ff29 Bug 1882553 - Move clang plugin flag computation to python.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D203015
2024-07-23 05:47:55 +00:00
Mike Hommey
13bc0da9d6 Bug 1908832 - Remove js_shared from python configure. r=firefox-build-system-reviewers,ahochheiden
It was added in bug 1747501, but it was actually a typo. It should have
been `shared_js`, because that's what exists in `js/moz.configure`.

Considering things have been working fine for more than 2 years and a
half without it set as initially intended, it's not worth fixing. Let's
just remove it.

Differential Revision: https://phabricator.services.mozilla.com/D217059
2024-07-22 23:55:32 +00:00
serge-sans-paille
d97a16f5eb Bug 1905105 - Move LDFLAGS from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D215125
2024-07-17 23:59:53 +00:00
serge-sans-paille
47dffea6d9 Bug 1906599 - Move MOZ_OPTIMIZE_LDFLAGS from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D215936
2024-07-16 22:14:35 +00:00
serge-sans-paille
f950ed5891 Bug 1905596 - Move BIN_SUFFIX and HOST_BIN_SUFFIX from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D215377
2024-07-03 19:50:08 +00:00
serge-sans-paille
9beda1e1e1 Bug 1903040 - Move Child Process Name for IPC checks from old-configure to moz.configure r=glandium
Also limit some variables related to OSX to that specific scope.

Differential Revision: https://phabricator.services.mozilla.com/D213959
2024-06-24 07:36:55 +00:00
Makoto Kato
f0b3bd83ac Bug 1899444 - Part 2. Move --disable-icu4x to JS standalone. r=spidermonkey-reviewers,platform-i18n-reviewers,firefox-build-system-reviewers,glandium,anba
After landing bug 1824671, Gecko always requires ICU4X. So I would like to
move `--disable-icu4x` options to JS standalone.

Differential Revision: https://phabricator.services.mozilla.com/D214066
2024-06-20 03:05:16 +00:00
serge-sans-paille
d089b7429f Bug 1900369 - Move substitution that don't require checks from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D212619
2024-06-10 14:07:13 +00:00
serge-sans-paille
c1e56449ff Bug 1896116 - Move icf check code to moz.configure r=glandium
While we're at it, also make it possible to activate icf in
developer mode, while not changing the default.

Also remove mentions to LD_PRINT_ICF_SECTIONS as it was never
referenced.

Differential Revision: https://phabricator.services.mozilla.com/D210037
2024-06-10 13:09:50 +00:00
ahochheiden
9a271c3566 Bug 1776255 - Add the appropriate 'when' to all 'option' that end up calling 'pkg_check_modules' later r=firefox-build-system-reviewers,glandium
We don't check for pkg-config on some platforms (Windows, OSX, Android).
On those platforms, calling 'pkg_check_modules' will not work. Adding
the same 'when' used for the 'pkg_config' check to all the options that
end up calling 'pkg_check_modules' effectively disables them, and prevents
'pkg_check_modules' from being called.

Differential Revision: https://phabricator.services.mozilla.com/D150649
2024-05-23 23:55:38 +00:00
Iulian Moraru
b341993f71 Backed out changeset 78c755371e44 (bug 1776255) for causing artifact build bustages related to Necko WiFi scanning. CLOSED TREE 2024-05-23 04:50:13 +03:00
Mike Hommey
38a03e2836 Bug 1870059 - Add a moz.build hook. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D211105
2024-05-23 01:13:55 +00:00
ahochheiden
15589ca635 Bug 1776255 - Add the appropriate 'when' to all 'option' that end up calling 'pkg_check_modules' later r=firefox-build-system-reviewers,glandium
We don't check for pkg-config on some platforms (Windows, OSX, Android).
On those platforms, calling 'pkg_check_modules' will not work. Adding
the same 'when' used for the 'pkg_config' check to all the options that
end up calling 'pkg_check_modules' effectively disables them, and prevents
'pkg_check_modules' from being called.

Differential Revision: https://phabricator.services.mozilla.com/D150649
2024-05-22 23:38:25 +00:00
serge-sans-paille
ac2f2c943a Bug 1880424 - Move clock_monotonic check to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D201942
2024-02-28 11:11:17 +00:00
serge-sans-paille
f3cfc8bfd7 Bug 1880420 - Move __thread detection to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D201937
2024-02-28 11:11:17 +00:00
serge-sans-paille
1142b832db Bug 1880103 - Move dead_strip linker check to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D201724
2024-02-28 11:11:16 +00:00
serge-sans-paille
e16dd36de0 Bug 1853564 - Look for install_name_tool in addition to install-name-tool and llvm-install-name-tool r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D194086
2024-01-24 06:54:58 +00:00
Logan Rosen
f024d94b2b Bug 1786490 - reformat the tree using black 23.3.0 r=sylvestre,webdriver-reviewers,taskgraph-reviewers,whimboo,jmaher,ahal,perftest-reviewers,geckoview-reviewers,afinder,m_kato
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D186092
2023-09-06 16:14:30 +00:00
Makoto Kato
7969feb1b9 Bug 1719535 - Part 7. Build ICU4X as default. r=firefox-build-system-reviewers,platform-i18n-reviewers,glandium,dminor
Depends on D167674

Differential Revision: https://phabricator.services.mozilla.com/D167676
2023-08-07 06:23:58 +00:00
Sandor Molnar
13c7e4a350 Backed out 14 changesets (bug 1719535) for causing mochitest failures in accessible/tests/browser/mac/browser_text_basics.js CLOSED TREE
Backed out changeset 338c2c8d91af (bug 1719535)
Backed out changeset 3fdb2e999aba (bug 1719535)
Backed out changeset 63b9d2064827 (bug 1719535)
Backed out changeset 09c216cdbbc8 (bug 1719535)
Backed out changeset 29977dc00fb3 (bug 1719535)
Backed out changeset d3f8850a343b (bug 1719535)
Backed out changeset 90f1f621031f (bug 1719535)
Backed out changeset 52ca9bdc5bd4 (bug 1719535)
Backed out changeset 94536f0d5a1f (bug 1719535)
Backed out changeset d615264f9f5f (bug 1719535)
Backed out changeset f16f9e583378 (bug 1719535)
Backed out changeset e1abdee07587 (bug 1719535)
Backed out changeset 45f9ad406428 (bug 1719535)
Backed out changeset caa2b8a731dc (bug 1719535)
2023-08-02 14:55:26 +03:00
Makoto Kato
39476d4afb Bug 1719535 - Part 7. Build ICU4X as default. r=firefox-build-system-reviewers,platform-i18n-reviewers,glandium,dminor
Depends on D167674

Differential Revision: https://phabricator.services.mozilla.com/D167676
2023-08-02 10:32:56 +00:00
Mike Hommey
0375de6fda Bug 1839743 - Move some things around for them to be available in toolkit/moz.configure. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D181686
2023-06-27 08:56:17 +00:00
Mike Hommey
783d448fa2 Bug 1837122 - Fix typo introduced in bug 1834446. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D180174
2023-06-07 22:09:25 +00:00
Mike Hommey
023322c911 Bug 1834964 - Use the same logic for {llvm-,$toolchain-prefix-,}strip as for many other tools. r=firefox-build-system-reviewers,sergesanspaille
Whatever was making things fail with llvm-strip back when using
llvm-strip was made a possibility, doesn't seem to happen anymore, even
with the clang version we were using back then (clang 13).

Differential Revision: https://phabricator.services.mozilla.com/D179040
2023-05-29 20:30:40 +00:00
Mike Hommey
63148715c6 Bug 1834446 - Move otool detection to python configure. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D178750
2023-05-24 21:27:03 +00:00
Mike Hommey
6bd39b79a5 Bug 1834446 - Move install-name-tool detection to python configure. r=firefox-build-system-reviewers,andi
At the same time, fix the sole use of the tool to actually use what's
found by configure, and only enable that configure check when building
Spidermonkey standalone.

And while we're here, add llvm-install-name-tool to the list.

Differential Revision: https://phabricator.services.mozilla.com/D178749
2023-05-24 21:27:03 +00:00
Mike Hommey
f1618ae8eb Bug 1834446 - Find dsymutil in the clang directory automatically. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D178747
2023-05-24 21:27:03 +00:00
Mike Hommey
37aee400e8 Bug 1832209 - Remove a bunch of unused add_old_configure_assignment. r=firefox-build-system-reviewers,ahochheiden
- Last use of CROSS_COMPILE was removed in bug 1460620,
- Last use of EARLY_BETA_OR_EARLIER was removed in bug 1603834,
- Last use of RELEASE_OR_BETA was removed in bug 1670948,
- Last use of MOZILLA_VERSION was removed in bug 1745838,
- Last use of GNU_AS was removed in bug 1635764,
- Last use of AR was removed in bug 1638193,
- Last use of PKG_CONFIG was removed in bug 1747775,
- Last use of MOZ_DMD was removed in bug 1747970,
- Last use of NSPR_CFLAGS and NSS_CFLAGS were removed in bug 1722652,
- Last use of MOZ_PROFILING was removed in bug 1640578,
- Last use of USE_FC_FREETYPE was removed in bug 1747325,
- Last use of MOZ_FMP4 was removed in bug 1382930,
- Last use of MOZ_WEBSPEECH was removed in bug 1295480,
- MOZ_ASAN_REPORTER doesn't seem to have ever been used,
- Last use of MOZ_THUMB2 and ANDROID_CPU_ARCH were removed in bug 1814802,
- Last use of ARM_ARCH was removed in bug 1747753,

Differential Revision: https://phabricator.services.mozilla.com/D177581
2023-05-10 22:13:13 +00:00
Mike Hommey
aafce08fe1 Bug 1832205 - Only check perl when we need it. r=firefox-build-system-reviewers,sergesanspaille
... which turns out to be limited to configurations that build libopus,
libtheora and libvpx for ARM with GNU as. Nothing else in the tree
remains that is actively using the PERL variable.

Those uses might actually not even need a full perl installation, but
for now, let's go with what's easy.

Differential Revision: https://phabricator.services.mozilla.com/D177579
2023-05-10 22:12:49 +00:00
Mike Hommey
b96b543a5a Bug 1832182 - Stop passing PERL to old-configure. r=firefox-build-system-reviewers,sergesanspaille
The last PERL use was removed from old-configure in bug 1520340.

Differential Revision: https://phabricator.services.mozilla.com/D177565
2023-05-10 21:19:12 +00:00
serge-sans-paille
77973c6ab3 Bug 1830039 - Remove mach support for REQUIRES_UNIFIED_BUILD r=andi,glandium
As a consequence, rename hybrid builds into non-unified builds in tree
herder.

Differential Revision: https://phabricator.services.mozilla.com/D176545
2023-05-05 12:10:39 +00:00