ocaml / flexdll

a dlopen-like API for Windows
Other
97 stars 30 forks source link

opam package for flexdll sources #135

Closed dra27 closed 3 months ago

dra27 commented 3 months ago

This is the first commit from #111, split into two sub-commits for slightly easier reviewing. This deals with OCaml 4.03+, which is all that's needed for the first batch of opam-repository updates.

dra27 commented 3 months ago

The opam package can in fact be tested from Linux with:

$ opam pin add git+https://github.com/dra27/flexdll.git#flexdll-source-packaging
...
$ ls -l $(opam var flexdll:share)
# All the source files needed for flexdll bootstrapping
dra27 commented 3 months ago

Thanks, @shym! I've re-ordered the commits to better reflect what's actually happening (and what I had been testing)... the .install file is correct for FlexDLL 0.43, so I've moved the bit to harmonise the version number to the last commit (which will ultimately be FlexDLL 0.44).

dra27 commented 3 months ago

Out of an abundance of caution brought on by that error in the .install, I have tested the opam packaging of 4.14.1 with 0.36-0.43 (which use tarballs, and grab the .install files from these commits) and then pinned this branch as well! Out of even more caution, I quickly upgraded ocaml-base-compiler.4.05.0 and confirmed that the 0.35 source package works too!

dra27 commented 3 months ago

I'll merge this once CI catches up - thank you very much for the very careful reviewing!