Skip to content
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

Merged
merged 10 commits into from
Jun 20, 2019
Merged

build using dune #24

merged 10 commits into from
Jun 20, 2019

Conversation

gares
Copy link
Contributor

@gares gares commented Jan 3, 2019

This PR tries to build elpi with dune.

Current annoyances:

Hackish workaround:

src/dune Outdated Show resolved Hide resolved
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)
Copy link
Contributor

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.

Copy link
Contributor Author

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 cmos.

elpi.install Outdated Show resolved Hide resolved
@gares
Copy link
Contributor Author

gares commented Apr 21, 2019

Thanks

@gares gares merged commit 7464fc5 into master Jun 20, 2019
@gares gares deleted the dune branch June 20, 2019 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants