Skip to content

Commit

Permalink
Update myocamlbuild.ml
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentMazare authored Feb 17, 2017
1 parent 4bbe016 commit e17d7f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion myocamlbuild.ml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ let () =
Cmd (A(env "src/wrapper/%_gen.byte")));
ocaml_lib "tensorflow";
ocaml_lib "tensorflow_core";
dep ["link"; "ocaml"; "use_tensorflowcstubs"] ["libtensorflowcstubs.a"];
flag ["link"; "ocaml"; "use_tensorflowcstubs"]
(S[A"-cclib"; A"-ltensorflowcstubs"; A"-cclib"; A"-ltensorflow"]);
flag ["link"; "ocaml"; "use_tensorflow"]
(S[A"-ccopt"; A"-L../lib"; A"-cclib"; A"-ltensorflow"]);
flag ["link"; "ocaml"; "use_tensorflow_core"]
Expand Down

0 comments on commit e17d7f1

Please sign in to comment.