Closed
Bug 1118873
Opened 11 years ago
Closed 11 years ago
Add support Microsoft Visual Studio 2015 (VS2015) to MozillaBuild
Categories
(Firefox Build System :: MozillaBuild, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: briansmith, Assigned: briansmith)
References
Details
Attachments
(2 files, 1 obsolete file)
|
6.38 KB,
patch
|
RyanVM
:
review+
|
Details | Diff | Splinter Review |
|
3.25 KB,
application/octet-stream
|
Details |
+++ This bug was initially created as a clone of Bug #889721 +++
The goal of this bug is to add support for building with VS2015 to MozillaBuild, similar to what was done for bug 889721. It is NOT a goal of this bug to get Firefox to build with successfully with VS2015, or any of the things that would come after that.
| Assignee | ||
Comment 1•11 years ago
|
||
It seems like there won't be any VS2015 "Express" product, so I didn't add any logic for that. ("Community" is replacing "Express" and is equivalent to "Professional".) The changes from start-shell-msvc2013*.bat to start-shell-msvc2015*.bat look larger than they actually are, because of the reformatting for simplifying the control flow given the lack of an 2015 Express, and due to the fact that a good version of the Platform SDK is already included with VS2015, just like VS2013 Pro+.
Comment 2•11 years ago
|
||
Comment on attachment 8545575 [details] [diff] [review]
vs2015-mozillabuild.patch
Review of attachment 8545575 [details] [diff] [review]:
-----------------------------------------------------------------
You'll need to add the new files to packageit.sh as well or they won't end up being included with the installer.
http://hg.mozilla.org/mozilla-build/file/58edf3344962/packageit.sh#l64
::: start-shell-msvc2015-x64.bat
@@ +26,5 @@
> +rem By default, the Windows 8.1 SDK should be automatically included via vcvars64.bat.
> +if exist "%VC14DIR%\bin\amd64\vcvars64.bat" (
> + call "%VC14DIR%\bin\amd64\vcvars64.bat"
> +) else (
> + call "%VC14DIR%\bin\x86_amd64\vcvarsx86_amd64.bat"
Isn't this cruft from the Express versions?
Attachment #8545575 -
Flags: review?(ryanvm) → review+
| Assignee | ||
Comment 3•11 years ago
|
||
Ryan:
1) In your review of the previous version, you asked if there was some leftover "Express" cruft. I don't think there is. The code you commented on switches between cross-compiling 64-bit-on-32-bit or native compiling 64-bit-on-64-bit. So, I think the patch is OK as-is. Let me know if I'm misnuderstanding something.
2) I added the two new batch files to the packaging script. Thanks for the tip on what to change.
Please re-review this to make sure we're on the same page. Thanks!
Attachment #8545575 -
Attachment is obsolete: true
Attachment #8545660 -
Flags: review?(ryanvm)
| Assignee | ||
Comment 4•11 years ago
|
||
Anybody can extract these batch files into an existing MozillaBuild instance to get VS2015 working while we wait for a new MozillaBuild release. This will overwrite the guess-msvc.bat file, but the change is purely additive.
Comment 5•11 years ago
|
||
Comment on attachment 8545660 [details] [diff] [review]
vs2015-mozillabuild.patch [v2]
Review of attachment 8545660 [details] [diff] [review]:
-----------------------------------------------------------------
Yeah, nevermind.
Attachment #8545660 -
Flags: review?(ryanvm) → review+
Comment 6•11 years ago
|
||
http://hg.mozilla.org/mozilla-build/rev/040837a79759
Not sure what release this is going to be shipping in yet other than "the next one" :P. Thanks for the patch!
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Blocks: MozillaBuild2.0
Updated•3 years ago
|
Product: mozilla.org → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•