Support for compiler extensions
Hello!
Should we include support for compiler extensions?
e.g. introduce a variable OPAM_SWITCH_EXT to use for extension names' concatenation (strings like "+BER" or "+modular-implicits-ber") at the init command in .travis-ocaml.sh.
strymonas/staged-streams.ocaml#2
This is a little easier with travis-docker.sh, since the switches are pre-available and don't need parsing. Have you given that a try? (see e.g. mirage/ocaml-cohttp for an example)
Does adding BER support need an extra entry in the matrix in ocaml-dockerfile?
I made it work with these small changes https://github.com/ocaml/ocaml-ci-scripts/compare/master...biboudis:master
I am not sending a pull request now, though. I'll make it a bit more generic first.
Thanks!
The pull request #200 is a back-door way of approaching this (make your own compiler variant bases, put them on hub, then be able to refer to them from ocaml-ci-scripts).