# Install chocolatey
c:/> @powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
choco install visualstudiocommunity2013
choco install vcredist2008
$client = new-object net.webclient
# Enable dotnet 3.5
# https://technet.microsoft.com/en-us/library/Dn482071.aspx
# install directx sdk
$client.DownloadFile("http://download.microsoft.com/download/A/E/7/AE743F1F-632B-4809-87A9-AA1BB3458E31/DXSDK_Jun10.exe", "DXSDK_Jun10.exe")
Start-Process "DXSDK_Jun10.exe" -ArgumentList "/silent"
# Install mozillabuild
$client.DownloadFile("https://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/MozillaBuildSetup-Latest.exe", "MozillaBuildSetup-Latest.exe")
Start-Process "MozillaBuildSetup-Latest.exe"
#install dependenencies for source
choco install nodejs.install
npm install -g [email protected]
-
Following both the Win64 Machine Setup on the wiki, and the build prerequisites on MDN.
I figure that we don't need some of the packages on the first image, so I'm installing dependencies as I go. ffledgling gave me access to one of his images, but I may or may not use it pending on the difficulty of installing the current dependencies. It seems managable so far. I may decide to follow mrrrgn's linux64 script, which seems to be relatively clean. If mozharness ends up being cross platform in terms of configuration, I can probably reuse a lot of it.
-
Running on an m3.large instance. This will probably change to a m3.xlarge instance once I have all the setup done.
jonasfj> amiyaguchi, for development just launch one... we like c3.xlarge or c3.2xlarge for building... just use whatever you think you'll use in production...
-
Ran out of space on the m3.large instance, which is limited to 35GBs. Followed the directions on how to expand the ebs-volume
A minor update with progress on this issue.
With the image I got from the relops (spot-y-2008-2015-08-13-08-57, a try image), I've managed to get closer to a working builder. Currently, I am still unable to build anything successfully.
I'll outline a few of the work arounds I've had to make in order to get a semi working build.
Update mozilla-build from 1.9 to 1.10
This resolves a puzzling issue where
mach configure
(and in turnmach build
) fails to read the nightly mozconfig pulled frombrowser/config/mozconfigs/win32/nightly
during a mozharness build. The error looks like the following when run withstart-shell-msvc-2013.bat
.0:07.47 client.mk:117: *** missing separator (did you mean TAB instead of 8 spaces?). Stop.
When started with
start-shell-l10n.bat
, configuration succeeds, but compilation fails since none of the compilers have been added to the path.This involves setting
SCCACHE_DIR=
to a local directory, otherwise boto will fail due to authorization errors. This is probably due to the lack of a .boto with valid keys, which can otherwise be solved later.