These docker files and utilities will build mxnet and run tests for different architectures using cross compilation and produce runtime binary artifacts.
This utilities require that you have docker installed. Docker CE is recommended.
To compile for all the supported architectures you can run the script
To build a single arch, you can invoke docker directly:
$ docker build -f Dockerfile.build.<arch> -t <tag> .
Or call the dockerfile directly:
docker build -f <dockerfile> -t <tag> .
Or pass the architecture id to the tool:
$ ./tool.py -a ubuntu-17.04
By convention all the Dockerfiles produce the build artifacts on /work/build so they can be copied after.
The tool will leave the resulting artifacts on the build/ directory