OpamFile.CompCompiler version $opam/compilers/
include IO_FILEval empty : tEmpty file
val write : OpamTypes.filename -> t -> unitWrite some contents to a file
val read : OpamTypes.filename -> tRead file contents. Raise an error if the file does not exist.
val safe_read : OpamTypes.filename -> tRead file contents. Return empty if the file does not exist.
val read_from_channel : ?filename:OpamTypes.filename -> in_channel -> tRead from channel.
val read_from_string : ?filename:OpamTypes.filename -> string -> tval write_to_channel : out_channel -> t -> unitWrite to channel.
val create_preinstalled :
OpamTypes.compiler ->
OpamTypes.compiler_version ->
OpamTypes.name list ->
(string * string * string) list ->
tCreate a pre-installed compiler description file
val preinstalled : t -> boolIs it a pre-installed compiler description file
val opam_version : t -> OpamTypes.opam_versionGet OPAM version
val name : t -> OpamTypes.compilerReturn the compiler name
val version : t -> OpamTypes.compiler_versionReturn the compiler version
val src : t -> OpamTypes.address optionReturn the url of the compiler
val kind : t -> OpamTypes.repository_kindReturn the url kind
val patches : t -> OpamTypes.filename listReturn the list of patches to apply
val configure : t -> string listOptions to give to the "./configure" command
val make : t -> string listOptions to give to the "make" command
val build : t -> OpamTypes.command listOptions to give to build the package. If this one is provided, nothing should be specified for configure and make.
val packages : t -> OpamTypes.formulaPackages to install immediately after the creation of OCaml
val env : t -> (string * string * string) listEnvironment variable to set-up before running commands in the subtree
val tags : t -> string listval with_src : t -> OpamTypes.address option -> tval with_patches : t -> OpamTypes.filename list -> tval with_build : t -> OpamTypes.command list -> tval with_packages : t -> OpamTypes.formula -> tval to_1_0 : OpamTypes.file -> OpamTypes.fileConvert to OPAM 1.0