Compilation for Cavium Octeon mips64 linux

How to compile python 3 for Cavium Octeon mips64 linux