fastest-matrices icon indicating copy to clipboard operation
fastest-matrices copied to clipboard

dockerized build

Open ocramz opened this issue 6 years ago • 3 comments

  • add makefile
  • add docker/dev/Dockerfile
  • add travis

ocramz avatar Jul 12 '19 10:07 ocramz

Now the base image is Phusion, which is based on Ubuntu 16.

make docker-dev-build will build a development image wherease make build will build fastest-matrices within that image, so they should be run in this sequence.

ocramz avatar Jul 12 '19 10:07 ocramz

Hi! Thanks a lot for that PR. Is it complete or you still have something to add?

Magalame avatar Jul 14 '19 08:07 Magalame

Hi! Yes it's complete, you can see one run here: https://travis-ci.com/ocramz/fastest-matrices/builds/119026040

For the sake of time, I turned the two executables into benchmarks because stack on travis was having trouble finding the binary files (with stack exec -- bench-runtime).

Also, I'm not sure how to harvest the benchmark data for further processing and plotting. But at least the docker-based installation works! When the dependencies settle we might want to upload a ready-made image to Docker Hub as well.

ocramz avatar Jul 14 '19 09:07 ocramz