在 2024-04-25 20:36, Antonin Décimo 写道:
Do you wish to create a separate repository for winpthreads, and commit 
.gitignore there?

We're maintaining a separate repository at
https://github.com/ocaml/winpthreads, with instructions on how to
embed the subtree as a submodule in the ocaml sources at
https://github.com/ocaml/ocaml/blob/trunk/HACKING.adoc#the-winpthreads-library-for-the-msvc-port.
The subtree with these instructions allow us to keep the same commit
id as the upstream in our winpthreads submodule. Fancy.

Wow, haven't heard of `git subtree` at all! Thanks for the idea. Pushed to 
master now.

May I ask: it doesn't seem that winpthreads, or other
mingw-w64-libraries are tied to a specific commit of mingw. Maybe they
don't need to be in the mingw-w64 "monorepo"? I understand it wouldn't
be easy if they're used for instance to build mingw.

This has been the case since SVN days. One advantage of SVN over Git is that it allows checking out subdirectories, so this was not an issue. Not sure about the precise reason though.



--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to