-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build using dune #24
build using dune #24
Conversation
023b7b7
to
ad3ef7a
Compare
c863b91
to
6d27f2b
Compare
src/dune
Outdated
(preprocess (per_module | ||
((pps ppx_deriving.std trace_ppx --trace_ppx-on) elpi_runtime_trace_on) | ||
((pps ppx_deriving.std trace_ppx --trace_ppx-off) elpi_runtime_trace_off) | ||
((action (system "camlp5o -I . -I +camlp5 pa_extend.cmo pa_lexer.cmo %{input-file}")) elpi_parser) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A bit curious about the necessity of system
here. You don't seem to be using shell features.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried with run
, but it insists in running camlp5o.opt
that is then unable to load the cmo
s.
Thanks |
This PR tries to build elpi with dune.
Current annoyances:
Dependency analysis: Unnecessary/undesired compilation unit included in executable ocaml/dune#753 to remove(happens to work after elpi 1.3)elpi_
from file name prefixesHackish workaround: