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

149 Коммитов

Автор SHA1 Сообщение Дата
Nathan Froyd a27737c07d Bug 1506180 - part 2 - delete VS2015 mozconfigs; r=RyanVM
We no longer support MSVC 2015.
2018-11-09 14:04:29 -05:00
Nathan Froyd 9ec0626140 Bug 1506180 - part 1 - factor out a win_sdk_version variable; r=RyanVM
This change makes the lines a little longer, but ideally makes changes
easier and nicer to read.
2018-11-09 14:04:29 -05:00
Jeff Gilbert f2e0b47bd4 Bug 1499844 - Fix win64 clang-cl -Wformat warnings. r=ted
Differential Revision: https://phabricator.services.mozilla.com/D9027

--HG--
extra : moz-landing-system : lando
2018-10-23 14:18:15 +00:00
Mike Hommey de511e5cee Bug 1414287 - Use a 64-bits clang-cl for 32-bits static analysis builds r=dmajor
This also requires the 64-bits rust compiler and some build system
tweaks.

And since we make the 32-bits builds cross-compiles on CI, we also need
to adjust the MSVC build mozconfigs such that the host compiler points
to the right MSVC cl. Likewise, the DIA SDK is used for host things, so
use the 64-bits version or it.

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

--HG--
extra : moz-landing-system : lando
2018-10-10 17:53:06 +00:00
Noemi Erli 8e3fe95bfb Backed out 3 changesets (bug 1414287) for causing bug 1497029 a=backout
Backed out changeset b8da3d4e6da0 (bug 1414287)
Backed out changeset 273e84414434 (bug 1414287)
Backed out changeset 76fafdaa9216 (bug 1414287)
2018-10-09 05:07:54 +03:00
Mike Hommey 10ee195be0 Bug 1414287 - Use a 64-bits clang-cl for 32-bits static analysis builds r=dmajor
This also requires the 64-bits rust compiler and some build system
tweaks.

Differential Revision: https://phabricator.services.mozilla.com/D7845
2018-10-06 19:57:11 +09:00
Ted Mielczarek de99592416 Bug 1399870 - make DEFFILE a Path instead of a string; r=gps
All but one of the current uses of DEFFILE use `SRCDIR + '/file.def'` to
get a srcdir-relative path anyway, and the other one wants an
objdir-relative path, so using Path makes everything clearer.

This makes it more straightforward to translate the paths for the WSL
build.
2018-09-18 15:50:19 -04:00
Masatoshi Kimura 762361579f Bug 1485224 - Update Windows builders to VS 2017 15.8.4 and Windows SDK 17134. r=glandium
--HG--
extra : rebase_source : 15906168b0e2e2d545ea841cb3e11e7102bc9b39
2018-09-07 07:15:19 +09:00
Margareta Eliza Balazs f79a9159ca Backed out 2 changesets (bug 1485224) for perma bc3 failures e.g.: Error getting fileid for Z:\task_1536750533ad] WARNING: NS_ENSURE_TRUE CLOSED TREE
Backed out changeset fe2c607f4af7 (bug 1485224)
Backed out changeset f7a6e536532e (bug 1485224)
2018-09-12 15:37:19 +03:00
Masatoshi Kimura c7adec1ec3 Bug 1485224 - Update Windows builders to VS 2017 Update 8 and Windows SDK 17134. r=glandium
--HG--
extra : source : 2face0081dbf1ba256f6f533eea8b865e8360b78
2018-09-07 07:15:19 +09:00
Masatoshi Kimura 3b21b7868b Bug 1090497 - Re-enable warnings as errors on clang-cl. r=froydnj
--HG--
extra : rebase_source : c09366fb93e5b0f72abe1e99d3094e3d96a934fb
extra : intermediate-source : 5950c9d63c3b4fd63a25464a7b50944aaec7079f
extra : source : ca1b9a2bcc4381795f556fea2fb59066567c30f3
2018-07-31 22:10:07 +09:00
David Major 2c005280e2 Bug 1475384: Use lld-link for official Windows builds. r=gps 2018-07-15 21:01:50 -04:00
David Major e2cdb30639 Bug 1443590: Use clang-cl for official Windows builds. r=gps 2018-07-10 16:25:47 -04:00
Sylvestre Ledru dcfef841a7 bug 1463425 - Fix flake8/pep8 issue by hand in build/ r=gps
MozReview-Commit-ID: AZdcEWyVV6e

--HG--
extra : rebase_source : b1c45028c8d46be5ba590a27a2f9f20e248a26b1
2018-05-21 23:58:19 +02:00
Sylvestre Ledru 8cd16bb55b bug 1463425 - autopep8 on build/ r=gps
MozReview-Commit-ID: ETzx4HsjbEF

--HG--
extra : rebase_source : 7e27a4cfe2bb358d513a18a33c245bcc6d559c46
2018-05-21 23:56:34 +02:00
Sylvestre Ledru 7bc7122170 Bug 1463465 - Remove procmem.py; now unused r=dmajor
MozReview-Commit-ID: I0ygHwVn1PA

--HG--
extra : rebase_source : f24bb459f90d501f81a85d5d427515ecdc935ef7
2018-05-22 08:29:38 -07:00
David Major 1e59fef758 Bug 1457523: Add msdia140.dll to the package on Windows ASan CI builds. r=ted 2018-05-03 15:53:53 -04:00
Ryan VanderMeulen 6af8d937a0 Bug 1453317 - Update VS2017 used in automation to version 15.6.6. r=froydnj
CLOSED TREE
2018-04-11 09:24:02 -04:00
David Major 347060a2cd Bug 1448306: Run Binscope on more files. r=froydnj 2018-03-29 15:11:42 -04:00
David Major 7e5935899c Bug 1448306: Newer Binscope no longer communicates status via return code. r=froydnj 2018-03-29 15:11:42 -04:00
David Major 194936ff52 Bug 1448306: Allow BinScope to run on clang-cl builds. r=froydnj 2018-03-29 15:11:41 -04:00
David Major 7175be67e3 Bug 1448306: Update checks for BinScope 2014. r=froydnj 2018-03-29 15:11:41 -04:00
Ryan VanderMeulen dde54aa578 Bug 1424281 - Use Visual Studio 2017 15.6.0 for Windows builds. r=froydnj
--HG--
extra : rebase_source : 2d5abb19c1f2b2e2f142b849bd4d0ba9ab46ccbe
2018-03-12 19:24:44 -04:00
Ted Mielczarek 24f3ed4b74 bug 1401647 - use a 64-bit Rust toolchain for win32 builds. r=nalexander,rillian
We currently use a 32-bit Rust toolchain for win32 builds, but this can lead
to OOM situations. This patch makes win32 builds use a 64-bit Rust toolchain,
which requires a little bit of extra configuration because rustc needs to
be able to find a link.exe that produces 64-bit binaries for building
things like build scripts, which are host binaries.

We will now generate a batch file that sets LIB to the paths to 64-bit
libraries and invokes the x64-targeting link.exe, and add a section to the
.cargo/config file to instruct cargo to use that batch file as the linker
when producing 64-bit binaries.

MozReview-Commit-ID: 9vKBbm7Gvra

--HG--
extra : rebase_source : 599b3b661c7a8a5db1f32a2a9732fc202fb55e1e
2017-12-14 10:20:33 -06:00
David Major c49eaa95ac Bug 1413675 - Downgrade to Windows SDK 10.0.15063.0 to fix clang builds. r=froydnj
The new VS package is now based on update 15.4.2, although that release didn't affect any files in our package. I'm picking up the update mostly just to make filename unique.
2017-11-03 09:26:58 -04:00
Sebastian Hengst 841ee307e6 merge mozilla-central to autoland. r=merge a=merge 2017-10-27 23:32:15 +02:00
David Major e247435916 Bug 1408789 - Switch Windows builders to VS2017 15.4.1 with SDK 10.0.16299.0. r=gps 2017-10-27 11:15:58 -04:00
Tom Ritter cc4335e0ce Bug 1411743 Resolve warnings in tests for MinGW: Cast -1 to DWORD, and ignore a result explicitly r=jimm
MozReview-Commit-ID: 82r05lMszXd

--HG--
extra : rebase_source : 628cdfe9b3743f4b107bef2977cb0a833032915c
2017-10-25 15:40:35 -05:00
David Major bdb8de11b6 Bug 1411600: Add VS2017 mozconfigs (not used yet). r=rillian 2017-10-25 17:56:30 -04:00
David Major 406287685a Bug 1391420: Set NO_PGO on a bunch of binaries that we don't ship. r=ted 2017-08-23 15:05:40 -04:00
Sebastian Hengst 142b3bf28b Backed out changeset 109e89a7d561 (bug 1391420) for busting Linux pgo builds. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 6a4421254e4de31071785b73abdd1186638e31f2
2017-08-23 18:12:46 +02:00
David Major 8cb2cb650a Bug 1391420: Set NO_PGO on a bunch of binaries that we don't ship. r=ted 2017-08-23 11:10:39 -04:00
Ted Mielczarek e0a932a9ba bug 1318143 - add support for detecting Visual Studio 2017 to configure. r=gps
This patch adds a copy of vswhere.exe to build/win32, downloaded from the
current latest release (1.0.62):
https://github.com/Microsoft/vswhere/releases/download/1.0.62/vswhere.exe

It changes toolchain.configure to invoke vswhere.exe instead of reading
the registry, since that no longer works for VS2017 (but vswhere can locate
VS2015). It also removes a layer of complexity in that code by dropping
support for non-64-bit host systems, since we don't really support building
on 32-bit Windows anymore anyway.

There's a little bit of fixup in windows.configure where some LIB paths
have changed in 2017.

MozReview-Commit-ID: 5XLWjidS6W4

--HG--
extra : rebase_source : 90f79b6f4a2d8d925dd20eb0bf6ab96262c227d5
2017-04-26 15:18:48 -04:00
Mike Hommey 25b39c3581 Bug 1343713 - Avoid mozconfig failures when clang-cl/msvc are not present. r=ted
The `cd $PATH && pwd` pattern doesn't work when $PATH doesn't exist, so
move them in a block only executed when the directory exists.

--HG--
extra : rebase_source : 53bd2959dbd9825526a386b6ab5b40a7f67a5d20
2017-03-01 11:10:14 +09:00
Gregory Szorc 99515b1b1a Bug 1283203 - Update to Visual Studio 2015 Update 3, SDK 10.14393.0; r=glandium
Visual Studio 2015 Update 3 has been out for a few months. It appears
stable. So let's start using it.

As part of this, we also update the Windows SDK to the version
corresponding with the Windows 10 Anniversary Update (10.14393.0).

MozReview-Commit-ID: C36sRlKqa8t

--HG--
extra : rebase_source : 2fd46d6053d3eaf62dd8b2b291881c5172cc6056
2016-09-09 10:35:15 -07:00
Mike Hommey ba7c817059 Bug 1289638 - Update the MSVC tooltool package. r=gps
- Update the tooltool manifests to use the new package.
- Update mozconfig paths to reflect MSVC tooltool package changes.
2016-08-02 13:17:15 +09:00
Mike Hommey 620b77568c Bug 1289638 - Set WINDOWSSDKDIR for "autospider" builds. r=gps
autospider builds set VSPATH before sourcing
build/win*/mozconfig.vs-latest, so VSWINPATH was never set. Furthermore,
the way it sets variables for the build system relies on the variable
going through and export from mk_add_options, which
mk_export_correct_style conveniently does for us.
2016-08-02 13:17:08 +09:00
Carsten "Tomcat" Book 732be475c8 Backed out changeset 07e0af7fc5d9 (bug 1289638) 2016-08-01 09:12:38 +02:00
Mike Hommey 75ca7fed2b Bug 1289638 - Update the MSVC tooltool package. r=gps
- Update the tooltool manifests to use the new package.
- Update mozconfig paths to reflect MSVC tooltool package changes.

--HG--
extra : rebase_source : 2f2da35ec1d1b3fb5ca9210951d9ac3a38a2bd75
2016-07-27 09:38:45 +09:00
Mike Hommey b504123eaf Bug 1289291 - Set WINDOWSSDKDIR as a Windows path instead of msys path. r=chmanchester
--HG--
extra : rebase_source : de10ea1eb7956bd74b9784e760094356fc27364e
2016-07-26 11:03:30 +09:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Gregory Szorc 5030a743a1 Bug 1186064 - Require Visual Studio 2015 Update 2; r=glandium
Per froydnj in bug 1186064 comment #23, "it makes sense to proceed with removing
MSVC 2013 support." This commit does that.

We also go a step further and require VS2015 Update 2 instead of just
update 1. This temporarily brings us down to just 1 officially supported
Visual Studio version. However, VS2015u3 was just released and is
unofficially supported.

Since MOZ_CRT is no longer set, references to it have been removed.

MozReview-Commit-ID: 8MUR6qLzQA5

--HG--
extra : rebase_source : 8f5061080a3d56dd484f9be03649fb65f0145f67
2016-07-06 09:01:38 -07:00
Wes Kocher a425a052c1 Backed out changeset d7f98208809f (bug 1186064) for breaking SM(pkg) jobs a=backout 2016-07-06 10:11:04 -07:00
Gregory Szorc 6e4d0edfbc Bug 1186064 - Require Visual Studio 2015 Update 2; r=glandium
Per froydnj in bug 1186064 comment #23, "it makes sense to proceed with removing
MSVC 2013 support." This commit does that.

We also go a step further and require VS2015 Update 2 instead of just
update 1. This temporarily brings us down to just 1 officially supported
Visual Studio version. However, VS2015u3 was just released and is
unofficially supported.

Since MOZ_CRT is no longer set, references to it have been removed.

MozReview-Commit-ID: 8MUR6qLzQA5

--HG--
extra : rebase_source : 22ab4f47661ead4995d0c5261104abfb02b82aa2
2016-07-06 09:01:38 -07:00
Carsten "Tomcat" Book 169daf64c7 Backed out changeset 96b590321c21 (bug 1186064) for bustage 2016-07-01 08:41:24 +02:00
Gregory Szorc ecce5714c1 Bug 1186064 - Require Visual Studio 2015 Update 2; r=glandium
Per froydnj in bug 1186064 comment #23, "it makes sense to proceed with removing
MSVC 2013 support." This commit does that.

We also go a step further and require VS2015 Update 2 instead of just
update 1. This temporarily brings us down to just 1 officially supported
Visual Studio version. However, VS2015u3 was just released and is
unofficially supported.

Since MOZ_CRT is no longer set, references to it have been removed.

MozReview-Commit-ID: 8MUR6qLzQA5

--HG--
extra : rebase_source : 94527a0be3f107991998185903f1c6cf6e190f9f
2016-05-31 09:19:00 -07:00
Chris Manchester d4291f218b Bug 1278700 - Skip checks and build steps causing artifact builds to fail in automation. r=mshal
MozReview-Commit-ID: 6r1qiFC96hz
2016-06-17 00:58:36 -07:00
Gregory Szorc d66e0376ba Bug 1259782 - Build with Visual Studio 2015 Update 2; r=ted
Should be a drop-in replacement for VS2015u1.

MozReview-Commit-ID: HSmdikYPR0j

--HG--
extra : rebase_source : 30a63dd245cbab99de849004f975b9104272dbfc
2016-04-22 12:51:23 -07:00
Jeff Gilbert 8728cc55d6 Bug 1264499 - s/mozconfig.vs2013/mozconfig.vs2015/ where not yet updated. - r=gps,sfink 2016-04-19 11:51:24 -07:00
Jeff Gilbert 0b554f96bd Bug 982928 - Remove mozconfig.vs2010. - r=gps,sfink sr=ted.mielczarek 2016-04-14 13:37:27 -07:00