-
Notifications
You must be signed in to change notification settings - Fork 348
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
Support MSYS2 #4813
Support MSYS2 #4813
Conversation
Thanks very much for all the work you're doing both on this and OCaml on Windows in general! Would it be OK to split this up:
|
2b60006
to
7d40698
Compare
Thanks for the PR and the update. On the changelog, you cant just add it in
|
7d40698
to
b2b91b2
Compare
Added the change and added access for you and @dra27 (can add others if needed). Thanks! |
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.
Good to go with CI, thanks!
Thanks, although this gives more access to us than you should really want! I don't know if it's officially documented by GitHub, but it seems to be an issue with making pull requests from one organisation's repositories to another, so you might find it easier when upstreaming to push the branches to a fork on @jonahbeckford instead. |
This is a follow-up to the announcement made at https://discuss.ocaml.org/t/ann-windows-friendly-ocaml-4-12-distribution-diskuv-ocaml-0-1-0/8358
Key Changes:
msys-2.0.dll
.tar.exe
may fail on these same source packages; I can't use the two-pass trick. There isn't a problem if the.tar
is packaged in topological order (referents come before the symlinks) but that presumes a lot. For now I'm just creating branches of the problematic source packages (ex. https://github.com/diskuv/ocp-indent/commits/windows-support), but I suspect a real solution may require a patch to tar.exe on Windows to add an option to skip symlinks.eval $(opam env)
that I've included in this PRExtra guidance needed:
os.distribution
should be defined asmsys2
or evendiskuvocaml
so that OCaml package maintainers can use Opam filters. For example I've seen https://github.com/ocamllabs/ocaml-ctypes/blob/261fe071fad17ab323d8d2b82df2aec593e64e3f/ctypes-foreign.opam#L13 use["libffi"] {os = "win32" & os-distribution = "cygwinports"}
. Do you think it is a good idea to changeos.distribution
, or perhaps another variable?I'm not sure which section to put these changes.