-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
ocamlbuild for windows OCaml 5.2 #25939
Conversation
I've tested this in ocsigen/js_of_ocaml#1615 |
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.
I'd rather avoid having a separate package for this.
I think we should either have the patch applied conditionally on Windows in the 0.14.3 package or wait a couple weeks to have an upstream version (this is next on my todo-list after the release of opam 2.2.0~rc1)
I don't think we should wait before making ocamlbuild available on windows 5.2. There are enough issues on the windows side already. We could make it part of the main opam file. I don't know the rational for splitting the files initially. I just kept the setup in place to unlock the situation as fast as possible. |
I think it would be enough to merge this into https://github.com/ocaml-opam/opam-repository-mingw Maybe we should move ocamlbuild.0.14.2+win as well. What do you think ? |
Packages can't be removed until #23789 is implemented/formally accepted. But overall I think it would be fine as part of the main opam file. I really don't understand why it was split in the first place.
|
I guess the |
That said, if you prefer to merge the patch in the main opam, it's fine. |
We have anouther ocamlbuild +win version already published, right? As much as I don't like this, I think we could go on with this and look for a better solution for the future? |
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.
fair enough
Can we unlock the situation on windows and merge this ? |
Done. Is there any chance this patch could be reviewed and merged into upstream ocamlbuild any time soon? Windows support shouldn't be an ad-hoc opam-repo thing imho |
The problem is that this patch is a hodge-podge of stuff that was only ever tested on Windows, so it feels very unsafe (to me) to merge as-is for everyone. Just splitting this into proper patches and understanding the intent of each change is a substantial amount of work. In principle I would be delighted to see this work being done, but in practice few people have the energy to do it. @hhugo has done some of it in the last few weeks, and we try to make his contributions as pleasant as possible to keep him motivated to do more :-) |
This PR provides a windows variant of ocamlbuild.0.14.3.
It re-uses the patch used to fix ocamlbuild.0.14.2 for windows and make ocamlbuild.0.14.3 available on windows with OCaml 5.02.