# On the build machine, in the cpython directory: cat > config.site << EOF ac_cv_file__dev_ptmx=no ac_cv_file__dev_ptc=no EOF export CONFIG_SITE=$PWD/config.site cd /tmp && rm -rf arm-install && cd - # For Parser/pgen: make distclean ./configure && make # Do the cross build: make distclean ./configure --prefix=/tmp/arm-install --without-ensurepip --host=arm-linux-gnueabi --build=x86_64 --disable-ipv6 make make install # Assuming that ssh-agent is set up, copy files to the ARM machine and run the tests: scp -r /tmp/arm-install buildbot@example.com:/tmp ssh buildbot@example.com "/tmp/arm-install/bin/python3 -m test" ssh buildbot@example.com "cd /tmp && rm -rf arm-install"