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

314 Коммитов

Автор SHA1 Сообщение Дата
J. Ryan Stinnett 0169efe167 Bug 1388103 - Clean up unused Stylo build configs. r=jmaher
Bug 1374748 removed Stylo-specific builds, but there are still a few config
files left behind that are now unused.  This cleans them up.

MozReview-Commit-ID: EAUx7YKQBmN

--HG--
extra : rebase_source : 7e2124f7e5625d25efc5e868e151dbdc02cfba65
2017-08-07 13:09:23 -05:00
Mike Hommey 03806583f5 Bug 1356926 - Enable stylo on static analysis builds. r=gps 2017-08-04 06:07:43 +09:00
Ralph Giles c7c885bcbe Bug 1384258 - Build Stylo by default. r=chmanchester
Build Stylo (the styling system from servo) by default in all
builds for win32, win64, macOS and linux64 targets. It was
previously enabled for automation builds, so this just changes
the behaviour for local developer builds.

Note that this introduces a new dependency on libclang for the
binding generator. If you're developing on a tier-1 platform,
run `./mach boostrap` to install a working copy. Otherwise
llvm+libclang 4.0.1 is recommended.

Remove the explicit --enable-stylo=build in mozconfig.stylo
in favour of the configure default.

Add mozconfig.stylo to the hazard and debug-asan mozconfigs
so LLVM_CONFIG is defined properly for those builds.

Based on a patch by Bobby Holly in bug 1356991.

MozReview-Commit-ID: C2wRNl7JHpz

--HG--
extra : rebase_source : 1ed7c36a64e25b235a26864592cd7ea969a4cd25
2017-07-25 14:29:52 -07:00
Mike Hommey f751ce9e63 Bug 1382502 - Include mozconfig.cache in most cases. r=ted
We want most builds to be actually using sccache, so we include
mozconfig.cache from mozconfig.common. However, since the --with-ccache
configure option doesn't exist on non-compile jobs (e.g. artifact
builds), we move to using the CCACHE environment variable instead, which
allows us to unset it in mozconfig.no-compile.

And since mozconfig.no-compile is always included where no_sccache is
set, we can remove that variable.

--HG--
extra : rebase_source : a8c743de1fd7a3c0fbc53f7c233df36585897767
2017-07-20 11:07:53 +09:00
Wes Kocher bc65b799ff Bug 1382525 - Followup to update a few more mozconfigs a=bustage
MozReview-Commit-ID: KqAjwoj9wSX

--HG--
extra : rebase_source : aa313e4e8bcbd24f45f4a335904a9eb905b2bf50
2017-07-20 14:35:53 -07:00
Mike Hommey 4c6aca3b5a Bug 1382525 - Move LLVM_CONFIG out of mozconfig.common. r=chmanchester
LLVM_CONFIG, per the contents of toolkit/moz.configure, is tied to
--enable-stylo, but it currently is set on all types of builds. It
currently happens to work, but it's actually not meant to, and sure
enough, the fix for bug 1374727 exacerbates that.

So we create a new mozconfig.stylo file that enables stylo and sets
LLVM_CONFIG, such that only build types that do enable stylo have
LLVM_CONFIG set.

--HG--
extra : rebase_source : 01277a79951888046c0b8e29c61cfc3b049ee0f0
2017-07-20 14:06:23 +09:00
Chris Peterson 93dde46eb7 Bug 1382130 - Build Stylo for linux64 ASAN builds. r=gps
MozReview-Commit-ID: 21TeIz1f0IX

--HG--
extra : rebase_source : 6ef78aae76c7adfa99542d9043bdb9e8d068925e
2017-07-19 00:26:32 -07:00
Rail Aliiev 05c629bd15 Bug 1380781 - Mac release promotion l10n repacks fail to download find mkfshfs r=glandium
MozReview-Commit-ID: IYSAv7VMbzF

--HG--
extra : rebase_source : 0611ca846b81138ffedb73cff13f03c8f92e2122
extra : source : 54e8fa77f5e98be992c029213caf551cda0beb32
2017-07-18 07:13:10 -04:00
Rail Aliiev 387b91c816 Bug 1380814 - buildbot linux l10n repacks generate linux64 binaries r=glandium
MozReview-Commit-ID: 1Z8JnBXeejU

--HG--
extra : rebase_source : c54ed60d27ed4b5869a3b77ead30fe48cc80fc1a
extra : source : acd4c78f170579858b3900c3477b1400d286c4ed
2017-07-17 16:03:28 -04:00
Rail Aliiev ef1cebc1b4 Bug 1380296 - Mac builds shouldn't force symbol uploads r=catlee
MozReview-Commit-ID: 8UtmPp4nNHt

--HG--
extra : rebase_source : 698d1b2e5c288c70cec8fa644b3f0d29e204b0b4
2017-07-13 08:42:40 -04:00
Marco Castelluccio 0f9d4e1985 Bug 1380665 - Define MOZ_CODE_COVERAGE for the entire tree. r=jmaher 2017-07-13 19:12:23 +02:00
Chris AtLee 7bed4f1a85 Bug 1371038: Add configs for doing DMD builds r=Callek
This adds the mozconfigs, mozharness configs and taskcluster changes required
to create optimized DMD builds for linux64, win32, win64 and macosx64.

These builds will happen nightly on mozilla-central

We also add support for custom build variants on Windows (or other generic
worker environments).

MozReview-Commit-ID: HrVT9PLSWVx

--HG--
extra : rebase_source : 39ac752a312afe04187728da82a4a7f722634811
2017-06-22 12:49:03 -04:00
Gregory Szorc f60fa10943 Bug 1366048 - Build stylo on win32 and win64 in automation; r=froydnj
We just did the same for Linux64. Windows CI for this configuration
appears to be happy. So let's do it.

MozReview-Commit-ID: 9MmT2jzNGhQ

--HG--
extra : rebase_source : cb2edf5ffcef5aa1937ff002a5b6f843e877b575
2017-06-21 14:36:19 -07:00
Greg Mierzwinski ad503dd5d3 Bug 1372324 - Enable talos tests on linux64-ccov. r=jmaher
This patch enables talos test suites to run on VM (taskcluster) and also enables these test suites to run with GCOV code coverage instrumentation on the linux64-ccov build.

MozReview-Commit-ID: 7p59zvra1ge

--HG--
extra : rebase_source : 990ebecb9daaee7c5030e08b0d763493103f0fe8
2017-06-09 14:51:20 -04:00
Wes Kocher d0eddcaa44 Merge m-c to autoland a=merge
MozReview-Commit-ID: 5D2HzsGopzc
2017-06-21 18:13:41 -07:00
Mike Hommey 220b0bd806 Bug 1375271 - Add necessary DMG creation tools to the osx l10n mozconfigs. r=catlee,a=catlee DONTBUILD
Bug 1373150 made toolchain-related definitions go away for l10n builds,
but we still need those DMG-related tools for l10n repacks.
2017-06-22 08:58:18 +09:00
Mike Hommey 79b2c7c3a4 Bug 1375271 - Add an explicit --target to osx l10n mozconfigs. r=catlee,a=catlee DONTBUILD
Before bug 1373150, the l10n mozconfigs would include
compilation-related mozconfigs, which include setting compiler paths,
and setting --target for cross builds. After bug 1373150, the
compilation-related mozconfigs are not included anymore, which made
--target unset for l10n builds, leaving it to configure to guess what it
is based on the host. Which for cross builds is Linux, so configure
would set things up for a linux build, which doesn't work to do osx
l10n repacks.

So we add back an explicit --target to those mozconfigs, without
including all the compilation-related things.

We set the target to x86_64-apple-darwin, which is the same as what was
set through build/macosx/cross-mozconfig.common. This is different from
what the native osx builds would get (x86_64-apple-darwin11.2.0), but
the extra version in that target is actually not relevant and native
builds shouldn't care that it's gone.
2017-06-22 07:26:41 +09:00
Mike Hommey a30f1505c7 Bug 1375271 - Add an explicit --target to osx l10n mozconfigs. r=catlee
Before bug 1373150, the l10n mozconfigs would include
compilation-related mozconfigs, which include setting compiler paths,
and setting --target for cross builds. After bug 1373150, the
compilation-related mozconfigs are not included anymore, which made
--target unset for l10n builds, leaving it to configure to guess what it
is based on the host. Which for cross builds is Linux, so configure
would set things up for a linux build, which doesn't work to do osx
l10n repacks.

So we add back an explicit --target to those mozconfigs, without
including all the compilation-related things.

We set the target to x86_64-apple-darwin, which is the same as what was
set through build/macosx/cross-mozconfig.common. This is different from
what the native osx builds would get (x86_64-apple-darwin11.2.0), but
the extra version in that target is actually not relevant and native
builds shouldn't care that it's gone.

--HG--
extra : rebase_source : 79d1616f0cc8291fbc3432165891fdfe8f221f95
2017-06-22 06:48:44 +09:00
Gregory Szorc 65c5851591 Bug 1374824 - Build stylo on Linux64 in automation; r=froydnj
The in-tree mozconfigs for Linux64 have been updated to build
Stylo by default. Stylo is still disabled in builds.

The existing Stylo Linux64 platform still exists. It still
uses its own mozconfigs. These mozconfigs source the mozconfigs
changed in this commit. This results in both --enable-stylo=build
and --enable-stylo being passed to configure. The latter takes
precedence.

This commit stops short of implying --enable-stylo=build as
the configure default for Linux64. I'm not sure if we're ready
to make that leap just yet.

MozReview-Commit-ID: K8rafDMlAGu

--HG--
extra : rebase_source : 7a3f7b63429bb2db18988478c0f4e7012b5ddee9
extra : source : 471a163b37d092fc5bf7a56bcf5c5295f727b8d8
2017-06-20 14:57:22 -07:00
Gregory Szorc a884ab04cf Backed out changeset 471a163b37d0 (bug 1374824) for breaking base toolchains build 2017-06-21 13:46:04 -07:00
Gregory Szorc e7086e87ce Bug 1374824 - Build stylo on Linux64 in automation; r=froydnj
The in-tree mozconfigs for Linux64 have been updated to build
Stylo by default. Stylo is still disabled in builds.

The existing Stylo Linux64 platform still exists. It still
uses its own mozconfigs. These mozconfigs source the mozconfigs
changed in this commit. This results in both --enable-stylo=build
and --enable-stylo being passed to configure. The latter takes
precedence.

This commit stops short of implying --enable-stylo=build as
the configure default for Linux64. I'm not sure if we're ready
to make that leap just yet.

MozReview-Commit-ID: K8rafDMlAGu

--HG--
extra : rebase_source : 5d32735f2574fae3bc9a396a06efa745d8fd1fb7
2017-06-20 14:57:22 -07:00
Mike Hommey 1146465d8e Bug 1373150 - Disable compile environment on l10n builds. r=Callek
--HG--
extra : rebase_source : d28920594023bfdd956d0bbdf385e8d1fafb0656
2017-06-15 15:06:45 +09:00
Chris Manchester 58eee1afda Bug 1370129 - Do not dump or pack symbols during no-opt builds. r=froydnj
MozReview-Commit-ID: 84tesHrZBIH

--HG--
extra : rebase_source : b990c5fecf3bfd22d973d99bb6c41646c94f12ff
2017-06-15 16:21:28 -07:00
Ting-Yu Chou e06ddac7f9 Bug 1361256 part 1 - Disable sccache for Win64 ASan because it doesn't actually support clang-cl. r=mshal
sccache changes "--showIncludes" to "--show-includes" which clang-cl
doesn't understand. According to the owner's comment, this is because
it doesn't actually support clang-cl, disable it for now.

MozReview-Commit-ID: 3uK0CF9Tgyv

--HG--
extra : rebase_source : dabef27962fb3406e2c1f3c29aa6fe9c0174e2e5
2017-05-15 10:36:07 +08:00
Nathan Froyd 313ec2e5f6 Bug 1341404 - add win32/64 noopt debug builds; r=dustin,mshal 2017-06-02 16:56:56 -04:00
Nathan Froyd a8a13545db Bug 1341404 - add macosx64 noopt debug builds; r=dustin,mshal 2017-06-02 16:56:56 -04:00
Nathan Froyd 83ccb044ca Bug 1341404 - add linux64 noopt debug builds; r=dustin,mshal
A number of developers find it convenient to build with
--disable-optimize --enable-debug for an improved debugging experience.
We don't currently have a configuration in CI that ensures this
combination of options works, so various changes break builds with this
configuration every so often.  We should test such configurations to
ensure they build to provide a smooth experience for developers.
2017-06-02 16:56:56 -04:00
Kartikaya Gupta 9d07ec5e27 Bug 1368684 - Stop building webrender-enabled builds in automation. r=dustin
As of bug 1342503 being fixed, all of our desktop firefox builds have
webrender compiled in by default. Webrender can therefore be enabled at
runtime either by a pref or environment variable on any desktop firefox
build. The old builds that we originally used to stand up webrender are
no longer needed, as the *only* difference between them and the regular
builds are that they build with the pref turned on instead of turned
off. This doesn't warrant keeping around these extra builds, and this
patch removes them along with all the associated goop that was needed to
configure them.

MozReview-Commit-ID: 5wlOWo11fEk

--HG--
extra : rebase_source : 696afdd2d9fb5f7932d0737a7d71c3aa6af0bd64
2017-05-30 09:41:19 -04:00
rforbes 143cf68be3 Bug 1359328 - disable libstdc++ compat check for fuzzing tc build r=aobreja,decoder
MozReview-Commit-ID: 4ZgdtnG2ayx

--HG--
extra : rebase_source : 42c1316008b93cc40f059ee05a2ccbe73686bde2
2017-05-25 16:35:57 -07:00
rforbes 3e2112c609 Bug 1359328 - Updates for fuzzing taskcluster build r=aobreja,decoder
MozReview-Commit-ID: 1RDQYnGTE2s

--HG--
extra : rebase_source : 77d2bdd37931d2c324cd07f4d6c7b996c1845a1c
2017-05-25 15:36:21 -07:00
rforbes 451575f139 Bug 1359328 - Add a fuzzing build to taskcluster r=aobreja,decoder
MozReview-Commit-ID: BYbycnB5wdV

--HG--
extra : rebase_source : e05e0b0b0241a4731e8275fbe25c4b032d1fa733
2017-05-25 12:47:59 -07:00
Andreas Tolfsen e3554fa5ae Bug 1340637 - Skip geckodriver in hazard builds; r=ted
One of the Rust crates that is built as part of geckodriver's dependency
chain uses a build script to compile some C code.

Because mozbuild does not yet pass the compiler wrapper down to where
the gcc crate can find it, we need to avoid building on geckodriver when
this is the case.

When compiling the browser for the rooting hazard analysis build (labelled
H on Treeherder), the MOZ_HAZARD environment variable will be set and
available to moz.build descriptions.

MozReview-Commit-ID: GprFKtvXvOE

--HG--
extra : rebase_source : f45aa5d8c86673c8287371efcfa703755c2b2073
2017-05-23 14:59:58 +01:00
Nathan Froyd 9bd7ba44b3 Bug 1364428 - disable stylo for valgrind builds; r=rillian 2017-05-18 18:39:39 -04:00
Bobby Holley 40e3831e71 Bug 1364428 - Disable stylo for static analysis builds that use llvm38; r=froydnj 2017-05-18 18:39:39 -04:00
Bobby Holley 4d7d95016d Bug 1364428 - Pass LLVM_CONFIG everywhere; r=froydnj 2017-05-18 18:39:39 -04:00
Jordan Lund 9bf70967d9 Bug 1365588 - fix l10n repacks for DevEdition on Beta, gecko, DONTBUILD, r=rail
MozReview-Commit-ID: 1arksrFhsv9

--HG--
rename : browser/config/mozconfigs/linux32/l10n-mozconfig => browser/config/mozconfigs/linux32/l10n-mozconfig-devedition
rename : browser/config/mozconfigs/linux64/l10n-mozconfig => browser/config/mozconfigs/linux64/l10n-mozconfig-devedition
rename : browser/config/mozconfigs/macosx64/l10n-mozconfig => browser/config/mozconfigs/macosx64/l10n-mozconfig-devedition
rename : browser/config/mozconfigs/win32/l10n-mozconfig => browser/config/mozconfigs/win32/l10n-mozconfig-devedition
rename : browser/config/mozconfigs/win64/l10n-mozconfig => browser/config/mozconfigs/win64/l10n-mozconfig-devedition
rename : testing/mozharness/configs/single_locale/dev-mozilla-beta.py => testing/mozharness/configs/single_locale/dev-mozilla-beta_devedition.py
rename : testing/mozharness/configs/single_locale/linux64.py => testing/mozharness/configs/single_locale/linux64_devedition.py
rename : testing/mozharness/configs/single_locale/linux.py => testing/mozharness/configs/single_locale/linux_devedition.py
rename : testing/mozharness/configs/single_locale/macosx64.py => testing/mozharness/configs/single_locale/macosx64_devedition.py
rename : testing/mozharness/configs/single_locale/mozilla-beta.py => testing/mozharness/configs/single_locale/mozilla-beta_devedition.py
rename : testing/mozharness/configs/single_locale/win32.py => testing/mozharness/configs/single_locale/win32_devedition.py
rename : testing/mozharness/configs/single_locale/win64.py => testing/mozharness/configs/single_locale/win64_devedition.py
extra : rebase_source : c1242ce513624d519756d1628896f3343a047d00
extra : amend_source : f434761fe2f88cfc4af97229d5bdbe07becf75a2
extra : source : 9cee0e8b00d28d7e977df6ee3e1adc9680004b8d
2017-05-17 17:24:01 -07:00
Mike Hommey c617726cfa Bug 1364613 - Disable replace-malloc on hazard builds. r=sfink
This avoids some known hazard from replace-malloc itself, and unhides
--disable-replace-malloc hazards if there are any (and there is one from
bug 1361258), which wouldn't be caught until riding trains
(replace-malloc being only enabled on nightly).

The hazard from bug 1361258 that disappears is this one:
  Error: Indirect call malloc_hook_table_t.jemalloc_thread_local_arena_hook
  Location: replace_jemalloc_thread_local_arena @memory/replace/replace/ReplaceMalloc.cpp#261
  Stack Trace:
  jemalloc_thread_local_arena @ memory/build/replace_malloc.c#287
  Gecko_SetJemallocThreadLocalArena @ layout/style/ServoBindings.cpp#2062

The new hazard from that bug is:
  Error: Variable assignment jemalloc.c:arenas_map
  Location: jemalloc_thread_local_arena @memory/mozjemalloc/jemalloc.c#3068
  Stack Trace:
  Gecko_SetJemallocThreadLocalArena @ layout/style/ServoBindings.cpp#2048

Where arenas_map is a thread-local variable, so there really is no
hazard.

--HG--
extra : rebase_source : bea3d2f862ede8c0b90775b6ec9cebb657b9b455
2017-05-16 08:20:46 +09:00
Marco Castelluccio 4d753fcb37 Bug 1362478 - Disable sandbox in the code coverage build, as it prevents content processes from updating gcda files. r=jmaher
--HG--
extra : rebase_source : 42cfc10c7628f6f0fb9479dcc2bcb8b38477b4b5
2017-05-05 18:31:45 +02:00
Ben Hearsum d27afef6b0 bug 1358601: set up CI builds and tests for DevEdition on mozilla-beta - fix build configuration and signing of DevEdition-on-beta builds. r=aki,rail
MozReview-Commit-ID: 2oaCCHJWU8W
2017-05-05 16:56:57 -04:00
Ben Hearsum 3fc6f41c38 bug 1358601: set up CI builds and tests for DevEdition on mozilla-beta - enable pgo, fix Linux treeherder symbols, use correct mozconfigs for Mac and Windows. r=rail
MozReview-Commit-ID: LQAzdw7paGf
2017-05-01 16:26:26 -04:00
Rail Aliiev a6777e7838 Bug 1358601 - add Developer Edition mozconfigs r=bhearsum DONTBUILD
MozReview-Commit-ID: 2DSftgqOB9u

--HG--
rename : browser/config/mozconfigs/linux32/nightly => browser/config/mozconfigs/linux32/devedition
rename : browser/config/mozconfigs/linux64/nightly => browser/config/mozconfigs/linux64/devedition
rename : browser/config/mozconfigs/macosx64/nightly => browser/config/mozconfigs/macosx64/devedition
rename : browser/config/mozconfigs/win32/nightly => browser/config/mozconfigs/win32/devedition
rename : browser/config/mozconfigs/win64/nightly => browser/config/mozconfigs/win64/devedition
extra : rebase_source : 818c430e28f93e24524c981b2235543ee8476798
2017-04-26 11:23:50 -04:00
Marco Castelluccio 7eb7732ff7 Bug 1358201 - Make linux64-ccov a debug build. r=jmaher 2017-04-25 11:32:52 +02:00
Ted Mielczarek a8bba22342 bug 1355099 - Disable sccache on clang-cl builds. r=mshal
sccache doesn't actually support clang-cl currently, so we're just making
our clang-cl builds slower by enabling it. Also, I'm trying to update to
a newer version of sccache and something broke running sccache+clang-cl
entirely so my try builds are busted, so disabling it entirely until
we actually support this configuration seems sensible.

MozReview-Commit-ID: LMkVuBRclCp

--HG--
extra : rebase_source : 76357d16190a6d2b2c5f177874de00ed3e636a76
2017-04-10 11:16:47 -04:00
Ting-Yu Chou 270fef8c41 Bug 1333003 part 1 - Add Windows x64 ASan mozconfigs to the tree. r=mshal
MozReview-Commit-ID: KuXcyL6yqH7

--HG--
extra : rebase_source : 8e77a7858f28f4b8f4052c3235c7b5daee828053
2017-03-10 14:13:07 +08:00
Justin Wood 485886c025 Bug 1347579 - run configure before doing repack. r=aki
MozReview-Commit-ID: 4uBwqwtN3i0

--HG--
extra : rebase_source : f067fa3b33157a1afc0906412fb7b4f7e5fe24f3
extra : intermediate-source : 727ed2b44031fd71780ed0d0c27a0950633f41dc
extra : source : dda6cc82c28204967a2012a13de9bcdaf94f9418
2017-03-28 16:26:56 -04:00
Wes Kocher 93d11e3441 Backed out 7 changesets (bug 1333003) for windows asan failures a=backout
Backed out changeset 3d2b2eeda8d3 (bug 1333003)
Backed out changeset 400d409ba4ca (bug 1333003)
Backed out changeset 1ba027abdfc9 (bug 1333003)
Backed out changeset 70114135bd8c (bug 1333003)
Backed out changeset 5715b15e33c0 (bug 1333003)
Backed out changeset 375e952bd738 (bug 1333003)
Backed out changeset d5d4112599f2 (bug 1333003)

MozReview-Commit-ID: DZUHJTdjX7V
2017-03-23 11:01:44 -07:00
Mike Shal 07382b6617 Bug 1342911 - Remove macosx-universal mozconfigs & mozharness configs; r=jlund
These mozconfigs are no longer used since we stopped doing universal
builds in bug 1295375.

MozReview-Commit-ID: Izz9q1dRskH

--HG--
extra : rebase_source : a7b6f84d56812f0946c78aa054f116747e798300
2017-02-28 09:38:43 -05:00
Ting-Yu Chou 334e9c13ad Bug 1333003 part 1 - Add Windows x64 ASan mozconfigs to the tree. r=mshal
MozReview-Commit-ID: KuXcyL6yqH7

--HG--
extra : rebase_source : 8e77a7858f28f4b8f4052c3235c7b5daee828053
2017-03-10 14:13:07 +08:00
Mitchell Hentges 7f4ee8b5f3 Bug 1332917: Replace linux64-ccov compile/link gcov flags with the more-consistent '--coverage' r=gmierz,jmaher+560562
MozReview-Commit-ID: I4qUUVGZ9q2

--HG--
extra : rebase_source : bb8cdb8b78501d38d1dde04bf5f4b1bf3e8c353e
2017-01-22 10:06:58 -08:00
Carsten "Tomcat" Book 946d74d723 Backed out changeset a89806ba0faa (bug 1333003) for bustage 2017-03-23 10:38:48 +01:00