fstar: build with OCaml 4.05.0 from OPAM (#20293)

This commit is contained in:
ilovezfs 2017-11-05 01:36:32 -08:00 committed by GitHub
parent e25fe04124
commit 8987d8c2b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,6 +45,8 @@ class Fstar < Formula
inreplace "opamroot/compilers/4.05.0/4.05.0/4.05.0.comp",
'["./configure"', '["./configure" "-no-graph"' # Avoid X11
system "opam", "switch", "4.05.0"
if build.stable?
system "opam", "config", "exec", "opam", "install", "batteries=2.7.0",
"zarith=1.5", "yojson=1.4.0", "pprint=20140424", "stdint=0.4.2",