Skip to end of banner
Go to start of banner

How to setup WoA machine for python buildbot

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

TODO: add link on how to access the linaro machine

Install Visual Studio Build Tools

This is the command line portion of visual studio, download it from https://visualstudio.microsoft.com/downloads/ . (“Tools for Visual Studio 2019” → “Build Tools for Visual Studio 2019”)

The following components need to be selected from “Individual Components” during the installation

  • MSVC v142 - VS 2019 C++ x64/x86 build tools (latest)

  • MSVC v142 - VS 2019 C++ ARM64 build tools (latest)

  • C++ ATL for latest v142 build tools (ARM64)

  • Windows 10 SDK

    • Versions 18362 and 19041 are known to work

Install Python

Install python 3.9.x ( 32-bit ) from the python release page. Earlier or later versions of python might also work without issues.

Note: If Python is not added by default to environment variable PATH, please go to “System Properties” -> “Environment Variables” and add the path

Install and setup Buildbot

Buildbot can be installed in any location but it is preferable to install in C:\ to avoid hitting the maximum path limit on windows.

# Create Directory for buildbot installation
mkdir C:\Workspace
cd C:\Workspace

# Create virtual venv
python -m venv venv

# Activate venv
.\venv\Scripts\activate

# Install buildbot-worker in virtual env
python -m pip install pypiwin32 buildbot-worker

Now create a worker using the following command

buildbot-worker create-worker buildarea buildbot.python.org:9020 linaro-win-arm64 <PASSWORD> 

Edit following files to add admin email address and host information

C:\Workspace\buildarea\info\admin

<waiting for mailing list allocation>

C:\Workspace\buildarea\info\host

Microsoft Surface X Pro; RAM 16GB
 
OS: Windows 10 Pro (ARM64)


  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.