robotpy / roborio-python

CPython ipkg builds for RoboRIO
0 stars 0 forks source link
frc python

roborio-python

This repository holds builds of Python for the RoboRIO, and associated build scripts. You don't need to build this yourself, instead use the robotpy-installer and execute robotpy-installer download-python to download them.

Build process

Compiling this can eat up most of your RoboRIO's disk space, so you'll probably want to reimage it before using the RoboRIO in a competition.

There are several non-automated steps:

mkdir /media/sda1/bin
mkdir /media/sda1/include
mkdir /media/sda1/lib
mkdir /media/sda1/lib

rmdir /usr/local/lib

ln -s /media/sda1/bin /usr/local/bin
ln -s /media/sda1/include /usr/local/include
ln -s /media/sda1/lib /usr/local/lib

Once your RoboRIO is sufficiently mangled, execute this from your host:

make ROBORIO=roborio-XXXX-frc.local BUILD_HOME=/media/sda1 all

Building on a first generation RoboRIO takes about 6 to 7 hours.