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

Simplify the opam build #274

Merged
merged 4 commits into from
Aug 17, 2017
Merged

Simplify the opam build #274

merged 4 commits into from
Aug 17, 2017

Conversation

djs55
Copy link
Collaborator

@djs55 djs55 commented Aug 17, 2017

Previously the opam file invoked make which performed some watermarking and then invoked jbuilder. This PR simplifies the build by using jbuilder subst for watermarking and having the opam file directly invoke jbuilder.

Rather than invoke shell commands in the Makefile, we will rely on a
future patch invoking `jbuilder subst`.

Note this removes 2 watermarks:
- the `uwt` version
- the `hvsock` version

Neither of these has ever been useful directly, and both are implied by
the git sha hash.

Signed-off-by: David Scott <dave.scott@docker.com>
The CI will still use the `Makefile` targets and run the tests from there.
The `opam` build will invoke jbuilder directly and skip the tests
(because the tests are quite slow and jbuilder will buffer the output while
they're running, causing timeouts)

Signed-off-by: David Scott <dave.scott@docker.com>
Signed-off-by: David Scott <dave.scott@docker.com>
Signed-off-by: David Scott <dave@recoil.org>
@djs55 djs55 merged commit 60019d8 into moby:master Aug 17, 2017
@djs55 djs55 deleted the simplify-build branch August 17, 2017 14:58
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.

1 participant