-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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.v0.9.14~beta.2 #24090
Merged
mseri
merged 2 commits into
ocaml:master
from
antoinemine:opam-publish-apron.v0.9.14-beta.2
Aug 15, 2023
Merged
Package apron.v0.9.14~beta.2 #24090
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
opam-version: "2.0" | ||
synopsis: "APRON numerical abstract domain library" | ||
authors: [ | ||
"Bertrand Jeannet" | ||
"Antoine Miné" | ||
"https://github.com/antoinemine/apron/graphs/contributors" | ||
] | ||
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception" | ||
homepage: "https://antoinemine.github.io/Apron/doc/" | ||
maintainer: "Nicolas Berthier <m@nberth.space>" | ||
dev-repo: "git+https://github.com/antoinemine/apron.git" | ||
bug-reports: "https://github.com/antoinemine/apron/issues" | ||
build: [ | ||
[ | ||
"sh" | ||
"./configure" | ||
"--prefix" | ||
"%{share}%/apron" | ||
"--no-ppl" {!conf-ppl:installed} | ||
"--no-pplite" {!conf-pplite:installed} | ||
"--no-ocaml-plugins" {os = "freebsd"} | ||
"--absolute-dylibs" {os = "macos"} | ||
"--ext-dll" {os = "win32"} "dll" {os = "win32"} | ||
"--debug" | ||
"--no-strip" | ||
] | ||
[make "-j%{jobs}%"] | ||
] | ||
install: [ | ||
[make "install"] | ||
] | ||
depends: [ | ||
"ocaml" | ||
"ocamlfind" {build} | ||
"camlidl" | ||
"mlgmpidl" | ||
"ocamlbuild" {build} | ||
"conf-perl" | ||
] | ||
depopts: [ | ||
"conf-ppl" | ||
"conf-pplite" | ||
] | ||
description:""" | ||
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.""" | ||
url { | ||
src: | ||
"https://github.com/antoinemine/apron/archive/refs/tags/v0.9.14-beta.2.tar.gz" | ||
checksum: [ | ||
"md5=b7f9ea6838057458c878f46ea4c9dede" | ||
"sha512=bc2cbcf601c0d6deb75028ef7da4b485350665a09c4f9ed9146107aeed65edb055207a02a52bc279c2b506e9c5922371035fb00d0ae2cbfec3a9a760ecebf1bd" | ||
] | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's no conf-pplite package in opam-repository though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. This was copied from ppl. Given that (unlike ppl) there's no pplite package for standard distributions (that I know of), adding a
conf-pplite
package may not be very useful. I suggest we remove this, and let the./configure
script decide if pplite should be compiled in. What do you think?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A conf-pplite package might not be that unreasonable because the
./configure
check might be close to how packages like conf-ppl do the check as well. Not having system packages and depexts maybe isn't an issue for having a conf-* package.opam-repository maintainers probably know the best how they'd like things. Seems like opam and the CI don't really care that a depopt doesn't exist at all, so maybe it's fine as-is. If a conf-pplite package is created, then it'll also configure this package.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am fine with this, but I'd like to have the
conf-pplite
package as well, even if for the time being the list of depexts is empty. I think you can base it on https://github.com/ocaml/opam-repository/blob/master/packages/conf-ppl/conf-ppl.1/opam (or even simpler using conf-pkg-config if ppxlite supports pkg-config)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I know, pplite has no package installer from standard distribution, so, it's quite different from ppl. I think it is better to remove the dependency on conf-pplite until there is some more reason to include such a package.