Skip to content

Virtual OCaml package definition for custom sytem OCaml compilers

Notifications You must be signed in to change notification settings

AltGr/ocaml-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Virtual package definition for custom OCaml system compilers

Assuming you have installed a custom compiler version, e.g. 4.08.0+foo, to your PATH and want to use it in opam without recompilation, you can use this package to treat it as a system compiler:

opam pin ocaml-system.$(opam var sys-ocaml-version) git+https://github.com/AltGr/ocaml-system

The trick is that this allows you to specify the custom version of your compiler, which is normally rejected by the ocaml-system package from the repository.

The package definition here is similar, except that it refers to its version dynamically in the available: field.

About

Virtual OCaml package definition for custom sytem OCaml compilers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published