mirror of
https://github.com/Z3Prover/z3
synced 2025-04-13 04:28:17 +00:00
Big_int is no longer a part of OCaml's standard library and must be
included via the num package: https://github.com/ocaml/num
This commit is contained in:
parent
53976d0ddf
commit
c198b12743
|
@ -1932,6 +1932,12 @@ class MLComponent(Component):
|
|||
OCAML_FLAGS = ''
|
||||
if DEBUG_MODE:
|
||||
OCAML_FLAGS += '-g'
|
||||
|
||||
if OCAMLFIND:
|
||||
# Load Big_int, which is no longer part of the standard library, via the num package: https://github.com/ocaml/num
|
||||
OCAMLCF = OCAMLFIND + ' ' + 'ocamlc -package num' + ' ' + OCAML_FLAGS
|
||||
OCAMLOPTF = OCAMLFIND + ' ' + 'ocamlopt -package num' + ' ' + OCAML_FLAGS
|
||||
else:
|
||||
OCAMLCF = OCAMLC + ' ' + OCAML_FLAGS
|
||||
OCAMLOPTF = OCAMLOPT + ' ' + OCAML_FLAGS
|
||||
|
||||
|
|
Loading…
Reference in a new issue