package opam-solver
Module OpamCudfSolverSource
Various implementations of the low-level CUDF resolution, most of them relying on external solvers (aspcud, etc.). Used for calling-back below Dose.
include module type of struct include OpamCudfSolverSig end
Source
type criteria_def = OpamCudfSolverSig.criteria_def = {crit_default : string;crit_upgrade : string;crit_fixup : string;crit_best_effort_prefix : string option;
}The list of supported solvers, in decreasing order of preference
Generates a custom solver implementation from a user command. Contains some magic:
- if the command matches one of the predefined ones, the default criteria are taken from there
- if the command is a singleton and matches, it is expanded similarly from the pre-defined solvers
Like custom_solver, but takes a simple command as a string
Gets the first present solver from the list. Exits with error if none was found.