# Module OpamFile.Comp

    module Comp: sig .. end

Compiler version `$opam/compilers/`

    include OpamFile.IO_FILE

    val create_preinstalled : OpamTypes.compiler ->
           OpamTypes.compiler_version ->
           OpamTypes.name list -> (string * string * string) list -> t

Create a pre-installed compiler description file

    val preinstalled : t -> bool

Is it a pre-installed compiler description file

    val opam_version : t -> OpamTypes.opam_version

Get OPAM version

    val name : t -> OpamTypes.compiler

Return the compiler name

    val version : t -> OpamTypes.compiler_version

Return the compiler version

    val src : t -> OpamTypes.address option

Return the url of the compiler

    val kind : t -> OpamTypes.repository_kind

Return the url kind

    val patches : t -> OpamTypes.filename list

Return the list of patches to apply

    val configure : t -> string list

Options to give to the "./configure" command

    val make : t -> string list

Options to give to the "make" command

    val build : t -> OpamTypes.command list

Options to give to build the package. If this one is provided, nothing should be specified for `configure` and `make`.

    val packages : t -> OpamTypes.formula

Packages to install immediately after the creation of OCaml

    val env : t -> (string * string * string) list

Environment variable to set-up before running commands in the subtree

    val with_src : t -> OpamTypes.address option -> t

    val with_patches : t -> OpamTypes.filename list -> t

    val with_configure : t -> string list -> t

    val with_make : t -> string list -> t

    val with_build : t -> OpamTypes.command list -> t

    val with_packages : t -> OpamTypes.formula -> t

    val to_1_0 : OpamTypes.file -> OpamTypes.file

Convert to OPAM 1.0