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

Allow to set the library path at configure time #575

Merged
4 commits merged into from Mar 6, 2018
Merged

Allow to set the library path at configure time #575

4 commits merged into from Mar 6, 2018

Conversation

ghost
Copy link

@ghost ghost commented Mar 3, 2018

This way, jbuilder never ends up calling ocamlfind while building opam packages, so we can drop the dependency on ocamlfind.

@ghost ghost requested a review from rgrinberg March 3, 2018 11:32
jeremiedimino and others added 2 commits March 5, 2018 12:48
jbuilder.opam Outdated
@@ -6,17 +6,9 @@ bug-reports: "https://github.com/ocaml/dune/issues"
dev-repo: "https://github.com/ocaml/dune.git"
license: "Apache-2.0"
build: [
["ocaml" "configure.ml" "--library-path" lib]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a typo? You mean libdir perhaps.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, fixed

@ghost ghost merged commit dfdb6c0 into ocaml:master Mar 6, 2018
andreypopp added a commit to esy-ocaml/esy-opam-override that referenced this pull request Mar 20, 2018
We override build commands to skip the configure step which memoizes the
library path during the compilation of the jbuilder itself. With opam
it's ok to memoize but not with esy as we reconfigure libpath
dynamically.

See ocaml/dune#575 for details.
This pull request was closed.
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