Skip to content

Conversation

dra27
Copy link
Member

@dra27 dra27 commented Nov 17, 2022

Final version should do this for 0.43, not for 0.42. Three packages:

  • flexdll - installs the sources only to the switch's share/flexdll directory for use with --with-flexdll in the compiler packages

  • flexdll-bin - uses a slightly modified binary release tarball containing the C sources and 32-bit flexlink.exe for use without bootstrapping in the compiler. flexlink.exe is installed to lib/flexdll-bin rather than bin, with the intention that the flexlink package then provides the correct version of flexlink.exe after the compiler has been built. In particular, that means that a 64-bit OCaml then has a 64-bit flexlink which is relevant for very large objects

  • flexlink - intended for use after flexdll-bin, recompiles and installs flexlink.exe to complete a switch.

  • CI check that the version number in the pinning opam files is consistent

The flexdll package is intended for use when building OCaml in
"bootstrapped" flexdll mode and installs the required source files to
the share folder in an opam switch.

flexdll.opam is now the primary source for the version number for the
package, and both version.ml and version.rc are compiled using the
number taken from there.

Additionally, version.rc is corrected to adopt Windows version format,
so the current release is rendered as 0.42.0.0 instead of 0.0.0.42.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant