Skip to content

Commit

Permalink
Update oasis with ppx_core dependency.
Browse files Browse the repository at this point in the history
The '-predicates' flag is necessary due to the issue here:
janestreet-deprecated/ppx_core#1

While the recommended fix is to edit the local _tags file, that
introduces a hard dependency on OCaml >= 4.02 due to some changes
in the ocamlbuild _tags syntax. To maintain compatibility with older
OCaml versions, specify the -predicates build flag as done here.
  • Loading branch information
j0sh committed Mar 3, 2016
1 parent 5981a49 commit c79966c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion _oasis
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,11 @@ Library "ppx"
Executable "ppx_sqlexpr"
Path: src/ppx/
MainIs: ppx_sqlexpr.ml
BuildDepends: unix, re.pcre, compiler-libs.common, ppx_tools.metaquot
BuildDepends: unix, re.pcre, compiler-libs.common, ppx_tools.metaquot, ppx_core, ppx_driver
CompiledObject: best
Install: true
ByteOpt: -predicates ppx_driver
NativeOpt: -predicates ppx_driver

Executable "example"
Path: tests/
Expand Down

0 comments on commit c79966c

Please sign in to comment.