ReferencePlatforms/Test/Win7

From MozillaWiki
Jump to navigation Jump to search

No full reference exists, but Alice says she followed the Vista instructions when creating this ref machine.

Setup

  • disable sound

MozillaBuild 1.4

  • In bug 549458 we installed MozillaBuild 1.4
  • Checkout 'mozilla-build-1.4.zip' and 'python25win32dlls.zip' from the mofo repo. Read this comment to know where they are located.
unzip mozilla-build-1.4.zip -d C:\
unzip python25win32dlls.zip -d C:\mozilla-build\python25\Scripts
rm mozilla-build-1.4.zip
rm python25win32dlls.zip

buildbot 0.8.0

  • Download site-packages.tar.gz and scripts.tar.gz from mofo repo.
  • Unpack site-packages.tar.gz into C:\mozilla-build\python25\Lib
  • Unpack scripts.tar.gz into C:\mozilla-build\python25
  • Copy C:\mozilla-build\python25\Lib\site-packages\pywin32_system32\*.dll to C:\windows\system32

Deploy slave-alloc

  • bug 629692 - slave-side slave-alloc support for w7/32
  • Install runslave.py in C:\
    • You will need to do this with administrator privs. The only way to get these privs is to right-click "Command Prompt" on the start menu, and select "Run as Administrator". Then use 'wget' to download the file.
REMEMBER: "Run as Administrator"
wget -O c:\runslave.py http://hg.mozilla.org/build/puppet-manifests/raw-file/tip/modules/buildslave/files/runslave.py
dir C:\runslave.py
 wget -O "c:\Users\cltbld\Desktop\startTalos2.bat" http://hg.mozilla.org/build/puppet-manifests/raw-file/default/modules/buildslave/files/startTalos-w7.bat
  • set startTalos.bat to start on run
    • see https://bugzilla.mozilla.org/show_bug.cgi?id=430832#c1 although details are vague
    • In Task Manager, add a new task:
      • Run in C:\, run as cltbld, run only when logged in, run with highest priviledges
      • Triggers: at log on
      • Action: start c:\Users\cltbld\Desktop\startTalos.bat
      • Conditions: stop if idle ceases, start only on AC power, stop on switch to battery
      • Settings: Allow to run on demand, stop if running for more than 3 days, force stop if it does not stop when requested


ANGLE libraries

  • In bug 589814 we deployed the ANGLE libraries into C:\libs (revision r411)
libEGL.dll
libGLESv2.dll

Microsoft_VC80_DebugCRT_x86.msi

md5sum -> ab9907210c0f95733cb8465b4dfa28d8  Microsoft_VC80_DebugCRT_x86.msi

DirectX runtime (June 2010)

See bug 624044

wget http://download.microsoft.com/download/1/7/1/1718CCC4-6315-4D8E-9543-8E28A4E18C4C/dxwebsetup.exe
dxwebsetup.exe

NVidia drivers update (Version: 260.99; Date: 2010.10.25)

See bug 624044

wget http://us.download.nvidia.com/Windows/260.99/260.99_desktop_win7_winvista_32bit_english_whql.exe
C:\Users\cltbld\Downloads\260.99_desktop_win7_winvista_32bit_english_whql.exe

Xperf

See bug 640829. NOTE: Followed instructions from Profiling with Xperf

To install this package unto your slave:

  • Install the Windows 7 SDK
  • Install C:\Program Files\Microsoft SDKs\Windows\v7.1\Redist\Windows\wpt_x86.msi