Skip to content

[new release] ancient (0.10.0) #27965

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

Merged
merged 3 commits into from
Jun 24, 2025
Merged

Conversation

Halbaroth
Copy link
Contributor

Use data structures larger than available memory

CHANGES:

Build

Features

CHANGES:

### Build
- Install the dynamic library (PR OCamlPro/ocaml-ancient#12)
- Build the library with Dune (PR OCamlPro/ocaml-ancient#13)
- Prevent installation of the opam package on Windows (PR OCamlPro/ocaml-ancient#13, OCamlPro/ocaml-ancient#15)
- Add ocaml-option-nnp as dependency (PR OCamlPro/ocaml-ancient#16)

### Features
- Support for OCaml 5 (PR OCamlPro/ocaml-ancient#7, OCamlPro/ocaml-ancient#10)
@Halbaroth
Copy link
Contributor Author

Halbaroth commented May 30, 2025

I want to ensure that ocaml-option-nnp is installed if the ancient is installed in a switch using OCaml 4. The ocaml-option-nnp package is only available for OCaml 4, while base-nnp is for OCaml 5. I know that no-naked-pointer is the default behavior in OCaml 5. How can I express this condition in the opam file?

@mseri mseri added the question label Jun 2, 2025
@Leonidas-from-XIV
Copy link
Contributor

@Halbaroth Maybe something like this?

depends: [
  (("ocaml" {< "5"} & "ocaml-option-nnp") | "ocaml" {>= "5"})
]

@Halbaroth
Copy link
Contributor Author

Thanks, it works :)

@mseri mseri merged commit 09bd432 into ocaml:master Jun 24, 2025
2 of 3 checks passed
@mseri
Copy link
Member

mseri commented Jun 24, 2025

Thanks

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.

3 participants