Repository navigation
Conversation
When there's no OCaml defined in the lock directory, we should try to get the OCaml toolchain without loading any packages. Signed-off-by: Rudi Grinberg <[email protected]> <!-- ps-id: 023875b8-4109-4824-a017-71f841ba2bdb -->
rgrinberg
deleted the
ps/rr/fix_pkg___allow_ocaml_syntax_in_dune_files_with_lock_dirs
branch
October 19, 2024 21:38
anmonteiro
pushed a commit
to anmonteiro/dune
that referenced
this pull request
Nov 17, 2024
When there's no OCaml defined in the lock directory, we should try to get the OCaml toolchain without loading any packages. Signed-off-by: Rudi Grinberg <[email protected]>
punchagan
added a commit
to punchagan/dune
that referenced
this pull request
Oct 9, 2026
Resolving the findlib configuration runs `ocamlfind` to locate findlib.conf. That lookup only runs when cross compiling: a findlib toolchain is configured and OCAMLFIND_CONF is unset. Package management has no cross compilation support. We switch to the lookup that does not consult the lock directory similar to Ocaml_toolchain.of_env_with_findlib (ocaml#11026). Signed-off-by: Puneeth Chaganti <[email protected]>
punchagan
added a commit
to punchagan/dune
that referenced
this pull request
Oct 9, 2026
Resolving the findlib configuration runs `ocamlfind` to locate findlib.conf. That lookup only runs when cross compiling: a findlib toolchain is configured and OCAMLFIND_CONF is unset. Package management has no cross compilation support. We switch to the lookup that does not consult the lock directory similar to Ocaml_toolchain.of_env_with_findlib (ocaml#11026). Signed-off-by: Puneeth Chaganti <[email protected]>
punchagan
added a commit
to punchagan/dune
that referenced
this pull request
Oct 13, 2026
Resolving the findlib configuration runs `ocamlfind` to locate findlib.conf. That lookup only runs when cross compiling: a findlib toolchain is configured and OCAMLFIND_CONF is unset. Package management has no cross compilation support. We switch to the lookup that does not consult the lock directory similar to Ocaml_toolchain.of_env_with_findlib (ocaml#11026). Signed-off-by: Puneeth Chaganti <[email protected]>
punchagan
added a commit
to punchagan/dune
that referenced
this pull request
Oct 16, 2026
Resolving the findlib configuration runs `ocamlfind` to locate findlib.conf. That lookup only runs when cross compiling: a findlib toolchain is configured and OCAMLFIND_CONF is unset. Package management has no cross compilation support. We switch to the lookup that does not consult the lock directory similar to Ocaml_toolchain.of_env_with_findlib (ocaml#11026). It's tricky to write a test that demonstrates this, though. Signed-off-by: Puneeth Chaganti <[email protected]>
punchagan
added a commit
to punchagan/dune
that referenced
this pull request
Oct 26, 2026
Resolving the findlib configuration runs `ocamlfind` to locate findlib.conf. That lookup only runs when cross compiling: a findlib toolchain is configured and OCAMLFIND_CONF is unset. Package management has no cross compilation support. We switch to the lookup that does not consult the lock directory similar to Ocaml_toolchain.of_env_with_findlib (ocaml#11026). It's tricky to write a test that demonstrates this, though. Signed-off-by: Puneeth Chaganti <[email protected]>
punchagan
added a commit
to punchagan/dune
that referenced
this pull request
Oct 28, 2026
Resolving the findlib configuration runs `ocamlfind` to locate findlib.conf. That lookup only runs when cross compiling: a findlib toolchain is configured and OCAMLFIND_CONF is unset. Package management has no cross compilation support. We switch to the lookup that does not consult the lock directory similar to Ocaml_toolchain.of_env_with_findlib (ocaml#11026). It's tricky to write a test that demonstrates this, though. Signed-off-by: Puneeth Chaganti <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When there's no OCaml defined in the lock directory, we should try to get the OCaml toolchain without loading any packages.
Signed-off-by: Rudi Grinberg [email protected]