mirage / checkseum

MIT License
15 stars 13 forks source link

Cross compile #45

Closed dinosaure closed 4 years ago

dinosaure commented 4 years ago

@pirbo can you test this PR about cross-compilation? You probably needs to use the dev version of optint when a bug appear for 32bit targets - an other point, it seems that dune-configurator is not available on my side.

pirbo commented 4 years ago

I also had trouble with dune-configurator. Opam was saiyng "installed (version 1.0.0)" but dune build complained it was missing... It looks like it was because I had dune 1.11.2 which locked dune-configurator in version 1. Once I've (force) updated dune to 2(.4.0) and therefore dune-configurator updated itself to 2(.4.0). too, everything worked well.

And by everything, i mean everything including cross-compilation using dune build -x windows!!! Thank you very much!

So, for my case, you simply need to put a version constraint on dune-configurator in your opam file and it is good to go... ~Too bad it breaks native windows compilation :-/~ (this is unrelated, this is dune that does not compile on the CI)

dinosaure commented 4 years ago

Ok, thanks, merge and release!