-
Notifications
You must be signed in to change notification settings - Fork 2
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
Set OCAMLTOP_INCLUDE_PATH
(as in ocaml.5.3.*
)
#22
base: master
Are you sure you want to change the base?
Conversation
[OCAML_TOPLEVEL_PATH = "%{toplevel}%"] | ||
] | ||
x-env-path-rewrite: [ | ||
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"] | ||
[OCAMLTOP_INCLUDE_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason why you don't do this for OCAML_TOPLEVEL_PATH
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not a PATH-like variable - it's only ever set using =
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I see :–)
Unfortunately this does also trigger a rebuild of the |
That's not really different from a dune update :–) |
looks ok to me (although I don't have time to try to reproduce the conditions in which this is an issue) |
b0632fd
to
e30e484
Compare
OCAML_TOPLEVEL_PATH is left for now as ocamlfind's stub still uses it.
e30e484
to
88f3b38
Compare
Extension of the setting of
OCAMLTOP_INCLUDE_PATH
which was trialled with ocaml#26594.4.08.0 is the first version of the compiler supporting this environment variable. Updating the remaining packages mitigates the issue seen in dbuenzli/topkg#142 and reported in ocaml#25819 (comment).
Opened here for review, as the revdeps testing impact is obviously quite large...