Skip to content
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

Add bounds for removed dune ctypes 0.1 extension #24506

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

emillon
Copy link
Contributor

@emillon emillon commented Sep 22, 2023

The ctypes extension in Dune is documented as experimental (and has
version 0.x) so is not subject to the same compatibility as the rest of
Dune.

Dune 3.11.0 removed versions 0.1 and 0.2 of this extension, so packages
using it need to build with dune < 3.11.

Affected packages need to migrate to version 0.3. This should be just a
matter of changing the version of the extension in dune-project, but:

The ctypes extension in Dune is documented as experimental (and has
version 0.x) so is not subject to the same compatibility as the rest of
Dune.

Dune 3.11.0 removed versions 0.1 and 0.2 of this extension, so packages
using it need to build with `dune < 3.11`.

Affected packages need to migrate to version 0.3. This should be just a
matter of changing the version of the extension in `dune-project`, but:
- it requires `(lang dune 3.7)`
- if C code refers to local include paths, these are now relative to the
  where the stanza is located. This avoids the need to specify paths
  twice. See ocaml/dune#6883.
@emillon
Copy link
Contributor Author

emillon commented Sep 22, 2023

cc:

@emillon emillon mentioned this pull request Sep 22, 2023
21 tasks
@emillon emillon marked this pull request as ready for review September 22, 2023 08:33
@emillon
Copy link
Contributor Author

emillon commented Sep 22, 2023

I'll wait until this merged to submit the 3.11.0 run.

@emillon
Copy link
Contributor Author

emillon commented Sep 22, 2023

Actually I just submitted it; I can restart the failures once this one is merged.

@mseri
Copy link
Member

mseri commented Sep 22, 2023

Thanks

@mseri mseri merged commit 1451371 into ocaml:master Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants