ocaml-ci-scripts icon indicating copy to clipboard operation
ocaml-ci-scripts copied to clipboard

Support for compiler extensions

Open biboudis opened this issue 9 years ago • 4 comments

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

biboudis avatar Nov 18 '16 10:11 biboudis

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)

avsm avatar Nov 18 '16 13:11 avsm

Does adding BER support need an extra entry in the matrix in ocaml-dockerfile?

yallop avatar Nov 19 '16 16:11 yallop

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!

biboudis avatar Nov 21 '16 18:11 biboudis

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).

yomimono avatar Jan 25 '18 19:01 yomimono