Re: PSA: Support for building with Windows SDK 8.1 removed from Gecko 37

2015-01-09 Thread Gregory Szorc
I recommend a 4+ physical core Ivy Bridge or newer i5/i7 CPU, 8+ GB of RAM
(16 GB preferred), and an SSD. If you work for Mozilla and don't have that
(e.g. you are building on a MacBook Air), please order a new machine right
now.

Anyone with less is going to have a bad time. I'm inclined to consider any
setup with 4 or less GB of RAM unsupported.

These are requirements today. Unless it got scrapped in Q1 goal setting,
there are plans to ship a build mode that downloads pre-built binaries. If
you don't touch C++, your system requirements will essentially drop to
nothing since there will be very little system-intensive parts of the
build. This will, of course, require a decent internet connection in order
to not be super annoying. But I'm guessing most people have that, so no big
deal.


On Fri, Jan 9, 2015 at 11:17 AM, Mike Hoye mh...@mozilla.com wrote:

 On 2015-01-09 8:59 AM, Neil wrote:


 2GB builds, although I expect it's on the slow side. 1GB isn't enough
 though, unless you enable shared gkmedias and js (and shared js builds are
 broken anyway because we don't link to js when we should).

  1GB is the bare minimum require to run VS2013 Community at all, and
 that's only for Win7x86 nonvirtual. On VMs you need 1.5 min, say the specs,
 and x64 are 2GB.

 I've put a 2GB minimum in the docs; I'm curious what the real disk space
 minimums are for Linux? Those numbers haven't been updated in a while,
 looks like.

 - mhoye



 ___
 dev-platform mailing list
 dev-platform@lists.mozilla.org
 https://lists.mozilla.org/listinfo/dev-platform

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: PSA: Support for building with Windows SDK 8.1 removed from Gecko 37

2015-01-09 Thread Mike Hoye

On 2015-01-09 8:59 AM, Neil wrote:


2GB builds, although I expect it's on the slow side. 1GB isn't enough 
though, unless you enable shared gkmedias and js (and shared js builds 
are broken anyway because we don't link to js when we should).


1GB is the bare minimum require to run VS2013 Community at all, and 
that's only for Win7x86 nonvirtual. On VMs you need 1.5 min, say the 
specs, and x64 are 2GB.


I've put a 2GB minimum in the docs; I'm curious what the real disk space 
minimums are for Linux? Those numbers haven't been updated in a while, 
looks like.


- mhoye


___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: PSA: Support for building with Windows SDK 8.1 removed from Gecko 37

2015-01-09 Thread Joshua Cranmer 

On 1/9/2015 1:17 PM, Mike Hoye wrote:
I'm curious what the real disk space minimums are for Linux? Those 
numbers haven't been updated in a while, looks like.




The most disk-heavy build configuration uses 7-10GB of disk space for 
srcdir + objdir; the least probably 2-3GB.


--
Joshua Cranmer
Thunderbird and DXR developer
Source code archæologist

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: PSA: Support for building with Windows SDK 8.1 removed from Gecko 37

2015-01-09 Thread Neil

Joshua Cranmer  wrote:


On 1/8/2015 10:05 AM, Mike Hoye wrote:

I'm revisiting our docs in light of this to figure out what our real 
minimum hardware/ram/disk requirements are. The temptation to start 
adding If you try to build Firefox with 2 gigs of RAM, you're gonna 
have a bad time memes to the docs is severe.


One of my machines is a 2-core, 2GB machine. I've built Firefox on it 
somewhat recently (~months), but that is without optimization or debug 
symbols. IIRC, it failed to build in debug + debug symbols, but that 
was last tried before we supported debug symbol fission or unified 
file compilation.


2GB builds, although I expect it's on the slow side. 1GB isn't enough 
though, unless you enable shared gkmedias and js (and shared js builds 
are broken anyway because we don't link to js when we should).


--
Warning: May contain traces of nuts.
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: PSA: Support for building with Windows SDK 8.1 removed from Gecko 37

2015-01-08 Thread Ryan VanderMeulen

On 1/8/2015 11:56 AM, Joshua Cranmer  wrote:

In practice, if you're building infrequently (say, provisioning a VM for
Windows or Linux for occasional builds, not primary development), then 4
cores and 4GB of RAM appear to suffice (I've used 4GB for a Linux VM on
my laptop and 8GB for a Windows VM on my desktop). For primary
development that involves frequent invocation of mach build binaries,
8GB of RAM or more would be recommended.


FWIW, our build slaves have 4GB of physical RAM and 4GB of swap and we 
occasionally OOM our Win8 x64 PGO builds (worst-case scenario, I know). 
So yeah, 8GB plus swap sounds like a good idea :)

https://bugzilla.mozilla.org/show_bug.cgi?id=1093664
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: PSA: Support for building with Windows SDK 8.1 removed from Gecko 37

2015-01-08 Thread Joshua Cranmer 

On 1/8/2015 10:05 AM, Mike Hoye wrote:
I'm revisiting our docs in light of this to figure out what our real 
minimum hardware/ram/disk requirements are. The temptation to start 
adding If you try to build Firefox with 2 gigs of RAM, you're gonna 
have a bad time memes to the docs is severe.


One of my machines is a 2-core, 2GB machine. I've built Firefox on it 
somewhat recently (~months), but that is without optimization or debug 
symbols. IIRC, it failed to build in debug + debug symbols, but that was 
last tried before we supported debug symbol fission or unified file 
compilation. Note that buildable doesn't mean convenient--if you do 
something else while building, such as have a web browser open, you will 
meet the OOM killer. This suggests that 2GB of RAM is the absolute 
minimum requirement for building.


In practice, if you're building infrequently (say, provisioning a VM for 
Windows or Linux for occasional builds, not primary development), then 4 
cores and 4GB of RAM appear to suffice (I've used 4GB for a Linux VM on 
my laptop and 8GB for a Windows VM on my desktop). For primary 
development that involves frequent invocation of mach build binaries, 
8GB of RAM or more would be recommended.


--
Joshua Cranmer
Thunderbird and DXR developer
Source code archæologist

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: PSA: Support for building with Windows SDK 8.1 removed from Gecko 37

2015-01-08 Thread Mike Hoye

On 2015-01-08 12:15 AM, Botond Ballo wrote:

​Building Firefox​*for*  Windows XP (and running it on Windows XP) is
unaffected.

Building Firefox*on*  Windows XP, however, is - I believe - no longer
supported, and in fact hasn't been since we bumped the minimum required
MSVC version to 2012, since 2010 is the latest MSVC version that XP can run.

VS2013 won't run* on Windows earlier than Win7, Service Pack 1.

I'm revisiting our docs in light of this to figure out what our real 
minimum hardware/ram/disk requirements are. The temptation to start 
adding If you try to build Firefox with 2 gigs of RAM, you're gonna 
have a bad time memes to the docs is severe.


- mhoye

* - (Well, not entirely true - it'll run on Server 2008 R2, but that's 
x64 only and also will never actually happen.)

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: PSA: Support for building with Windows SDK 8.1 removed from Gecko 37

2015-01-07 Thread Botond Ballo
On Wed, Jan 7, 2015 at 10:24 PM, Ryan VanderMeulen rya...@gmail.com wrote:

 On 1/7/2015 10:20 PM, Yonggang Luo wrote:

 Does that means windows xp doesn't support anymore?


 It has no effect on that, same as how dropping support for all MSVC
 versions prior to 2013 didn't.


​Building Firefox​ *for* Windows XP (and running it on Windows XP) is
unaffected.

Building Firefox *on* Windows XP, however, is - I believe - no longer
supported, and in fact hasn't been since we bumped the minimum required
MSVC version to 2012, since 2010 is the latest MSVC version that XP can run.

Cheers,
Botond
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: PSA: Support for building with Windows SDK 8.1 removed from Gecko 37

2015-01-07 Thread Yonggang Luo
Does that means windows xp doesn't support anymore?
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: PSA: Support for building with Windows SDK 8.1 removed from Gecko 37

2015-01-07 Thread Ryan VanderMeulen

On 1/7/2015 10:20 PM, Yonggang Luo wrote:

Does that means windows xp doesn't support anymore?


It has no effect on that, same as how dropping support for all MSVC 
versions prior to 2013 didn't.


-Ryan
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


PSA: Support for building with Windows SDK 8.1 removed from Gecko 37

2015-01-07 Thread Ryan VanderMeulen
This was already implicit by making MSVC2013 the minimum supported compiler
(since the 8.1 SDK ships with it anyway), but it's now explicitly been made
a hard requirement in the build system as well.

Various code that was obviously conditioned on older SDK versions was also
cleaned up, but it's possible that other cleanups are now possible.

I didn't see any obvious changes required for any of our existing build
docs for this change. We should probably wait to update
https://developer.mozilla.org/En/Windows_SDK_versions until we no longer
have any supported releases the permit older compilers/SDKs (i.e. esr31
EOL).

Enjoy!

-Ryan
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform