forked from ocaml/opam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopamBuiltinMccs.dummy.ml
35 lines (26 loc) · 1.15 KB
/
opamBuiltinMccs.dummy.ml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
(**************************************************************************)
(* *)
(* Copyright 2017-2018 OCamlPro *)
(* *)
(* All rights reserved. This file is distributed under the terms of the *)
(* GNU Lesser General Public License version 2.1, with the special *)
(* exception on linking described in the file LICENSE. *)
(* *)
(**************************************************************************)
open OpamCudfSolverSig
module S = struct
let name = "builtin-dummy-solver"
let is_present () = false
let ext = ref None
let preemptive_check = false
let command_name = None
let default_criteria = {
crit_default = "";
crit_upgrade = "";
crit_fixup = "";
crit_best_effort_prefix = None;
}
let call ~criteria:_ ?timeout:_ ?tolerance:_ _cudf =
failwith "This opam was compiled without a solver built in"
end
let all_backends = [ (module S: S) ]