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

feat(melange): add melange.runtime_deps field in library #7234

Merged

Conversation

anmonteiro
Copy link
Collaborator

No description provided.

@anmonteiro anmonteiro force-pushed the anmonteiro/melange-library-runtime-deps branch 3 times, most recently from a0a2d59 to 5898b56 Compare March 8, 2023 20:06
Copy link
Collaborator

@jchavarri jchavarri left a comment

Choose a reason for hiding this comment

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

I just have a few questions. Amazing work!

src/dune_rules/install_rules.ml Outdated Show resolved Hide resolved
src/dune_rules/install_rules.ml Show resolved Hide resolved
src/dune_rules/install_rules.ml Show resolved Hide resolved
@anmonteiro anmonteiro force-pushed the anmonteiro/melange-library-runtime-deps branch from aedb68a to 2e73c70 Compare March 9, 2023 19:26
let loc =
match Lib_info.melange_runtime_deps lib_info with
| Local (loc, _) -> loc
| External _ -> Loc.none
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't this be assert false as well? If the runtime deps are external, the library must have been installed. Therefore, all of the paths in it cannot be external deps.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Indeed. Fixed

anmonteiro and others added 12 commits March 13, 2023 15:42
Signed-off-by: Antonio Nuno Monteiro <anmonteiro@gmail.com>
Signed-off-by: Antonio Nuno Monteiro <anmonteiro@gmail.com>
Signed-off-by: Antonio Nuno Monteiro <anmonteiro@gmail.com>
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
Signed-off-by: Antonio Nuno Monteiro <anmonteiro@gmail.com>
Signed-off-by: Antonio Nuno Monteiro <anmonteiro@gmail.com>
Signed-off-by: Antonio Nuno Monteiro <anmonteiro@gmail.com>
Signed-off-by: Antonio Nuno Monteiro <anmonteiro@gmail.com>
Signed-off-by: Antonio Nuno Monteiro <anmonteiro@gmail.com>
Signed-off-by: Javier Chávarri <javier.chavarri@gmail.com>
Signed-off-by: Antonio Nuno Monteiro <anmonteiro@gmail.com>
@anmonteiro anmonteiro force-pushed the anmonteiro/melange-library-runtime-deps branch from 7f9eada to 647378e Compare March 13, 2023 22:42
@rgrinberg rgrinberg merged commit 66523e5 into ocaml:main Mar 13, 2023
20 checks passed
@anmonteiro anmonteiro deleted the anmonteiro/melange-library-runtime-deps branch March 14, 2023 04:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants