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

Package apron.0.9.14-beta1 #24074

Closed

Conversation

antoinemine
Copy link
Contributor

apron.0.9.14-beta1

APRON numerical abstract domain library
Apron is a library to represent properties of numeric variables, such as variable bounds or linear relations between variables, and to manipulate these properties through semantic operations, such as variable assignments, tests, conjunctions, entailment. Apron is intended to be used in static program analyzers, in order to infer invariants of numeric variables, i.e., properties that hold for all executions of a program. It is based on the theory of Abstract Interpretation.



🐫 Pull-request generated by opam-publish v2.2.0

@antoinemine
Copy link
Contributor Author

It should be OK to remove the references to Stdlib. so that the package compiles for OCaml < 4.07 (no need to add a dependency if it's not useful).

For elina 1.3, the checksum is wrong (or maybe the archive changed since the Opam package was made). I guess it should be fixed on the elina package?

For the macos-homebrew-ocaml-4.14-arm64, GMP is not found. No sure how to fix this.

For OCaml 5, it is supported by this version of Apron, but the mlgmpidl version with OCaml 5 support (on which Apron depends) does not seem to be in Opam yet. See nberth/mlgmpidl#17

@mseri
Copy link
Member

mseri commented Jul 7, 2023

For elina 1.3, the checksum is wrong (or maybe the archive changed since the Opam package was made). I guess it should be fixed on the elina package?

Yes, we should look for the old tarball on the cache or software heritage, upload it on opam-source-archives and link to that. This can be done separately and does not depend on this PR

@mseri
Copy link
Member

mseri commented Jul 7, 2023

@antoinemine can you move the opam file from packages/apron/apron.0.9.14-beta1/opam to packages/apron/apron.0.9.14~beta1/opam? Otherwise the beta will have higher version than the final version once released

@antoinemine
Copy link
Contributor Author

@antoinemine can you move the opam file from packages/apron/apron.0.9.14-beta1/opam to packages/apron/apron.0.9.14~beta1/opam? Otherwise the beta will have higher version than the final version once released

I'm following the instructions at https://opam.ocaml.org/doc/Packaging.html for packages developed on GitHub.
~ does not seem to be accepted as git tag: https://git-scm.com/docs/git-check-ref-format

@mseri
Copy link
Member

mseri commented Jul 7, 2023

You can keep the tag with a dash, but use the tilde for the opam folder

@mseri
Copy link
Member

mseri commented Jul 7, 2023

I think opam publish --version=0.9.14~beta1 https://github.com/antoinemine/apron/archive/refs/tags/v0.9.14-beta1.tar.gz should do the trick, or something like that (I am more familiar with dune release and don't have opam publish installed at the moment)

@antoinemine
Copy link
Contributor Author

OK, I will try a new opam publish -v .... And also fix the Stdlib issue. I guess this will open a new PR.

@antoinemine
Copy link
Contributor Author

#24090 should take care of this. Closing...

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.

2 participants