Remove extlib dependency

Reviewed By: jvillard

Differential Revision: D4232436

fbshipit-source-id: c77ce2a
master
Josh Berdine 8 years ago committed by Facebook Github Bot
parent de2e6c9d88
commit 7708fc7c56

@ -184,7 +184,6 @@ AC_ASSERT_OCAML_PKG([atdgen], [], [1.6.0])
AC_ASSERT_OCAML_PKG([biniou])
AC_ASSERT_OCAML_PKG([camlzip], [zip])
AC_ASSERT_OCAML_PKG([easy-format])
AC_ASSERT_OCAML_PKG([extlib], [], [1.5.4])
AC_ASSERT_OCAML_PKG([oUnit], [], [2.0.0])
AC_ASSERT_OCAML_PKG([reason])
AC_ASSERT_OCAML_PKG([yojson])

@ -2,7 +2,6 @@ S src/**
B _build/infer/**
PKG atdgen
PKG core
PKG extlib
PKG javalib
PKG ounit
PKG ppx_compare

@ -37,7 +37,7 @@ OCAMLBUILD_OPTIONS = \
-tag-line "<*{clang/clang_ast_*,backend/jsonbug_*,checkers/stacktree_*}>: warn(-27-32-35-39)" \
-tag-line "<*/{,*/}*.{ml,re}{,i}>: package(ppx_compare)" \
-tag thread \
-pkgs atdgen,core,ctypes.foreign,extlib,oUnit,str,unix,yojson,zip
-pkgs atdgen,core,ctypes.foreign,oUnit,str,unix,yojson,zip
ifeq ($(ENABLE_OCAML_ANNOT),yes)
OCAMLBUILD_OPTIONS += -cflags -annot
@ -228,10 +228,10 @@ test_build: init $(STACKTREE_ATDGEN_STUBS) $(INFERPRINT_ATDGEN_STUBS) $(CLANG_AT
# to generate interface file.mli from implementation file.ml execute:
# make M=file mli
mli:
ocamlfind ocamlc -package atdgen,extlib,oUnit,str,unix,yojson,zip $(addprefix -I ../_build/infer/,$(DEPENDENCIES)) -i $(M).ml > $(M).mli
ocamlfind ocamlc -package atdgen,oUnit,str,unix,yojson,zip $(addprefix -I ../_build/infer/,$(DEPENDENCIES)) -i $(M).ml > $(M).mli
rei:
ocamlfind ocamlc -package atdgen,extlib,oUnit,str,unix,yojson,zip $(addprefix -I ../_build/infer/,$(DEPENDENCIES)) -i -pp refmt -impl $(M).re > $(M).rei
ocamlfind ocamlc -package atdgen,oUnit,str,unix,yojson,zip $(addprefix -I ../_build/infer/,$(DEPENDENCIES)) -i -pp refmt -impl $(M).re > $(M).rei
# convert to reason
%.re : %.ml

@ -104,7 +104,7 @@ let get_compilation_database_files_buck () =
let buck_targets_list = buck :: "targets" :: "--show-output" :: args_with_flavor in
let buck_targets = String.concat ~sep:" " buck_targets_list in
try
match fst @@ Utils.with_process_in buck_targets Std.input_list with
match fst @@ Utils.with_process_in buck_targets In_channel.input_lines with
| [] -> Logging.stdout "There are no files to process, exiting."; exit 0
| lines ->
Logging.out "Reading compilation database from:@\n%s@\n" (String.concat ~sep:"\n" lines);

@ -31,7 +31,6 @@ depends: [
"conf-autoconf"
"ctypes" {>="0.9.2"}
"ctypes-foreign" {>="0.4.0"}
"extlib-compat" {>="1.5.4"}
"javalib" {>="2.3.3"}
"ocamlfind" {build}
"ounit" {="2.0.0"}

@ -19,7 +19,6 @@
"@opam-alpha/sawja": "^ 1.5.2",
"@opam-alpha/atdgen": "^ 1.10.0",
"@opam-alpha/javalib": "^ 2.3.3",
"@opam-alpha/extlib-compat": "1.7.0",
"@opam-alpha/ounit": "2.0.0",
"@opam-alpha/ocp-indent": "1.5.3",
"reason-ide-toolkit": "^ 1.2.0",

@ -6,7 +6,6 @@
#require "ctypes.foreign";;
#require "sawja";;
#require "atdgen";;
#require "extlib";;
(* load infer code *)
#load_rec "toplevel.cmo";;

Loading…
Cancel
Save