-
Notifications
You must be signed in to change notification settings - Fork 1.2k
frama-clang Version 0.0.19~beta #28843
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
Open
frama-ci-bot
wants to merge
2
commits into
ocaml:master
Choose a base branch
from
Frama-C:publish-frama-clang-0.0.19-beta
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
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 hidden or 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,47 @@ | ||
| opam-version: "2.0" | ||
| synopsis: "Frama-C plug-in based on Clang for parsing C++ files" | ||
| description: | ||
| "This Frama-C plug-in parse C++ files that may contain ACSL++ annotations." | ||
| maintainer: "Virgile.Prevosto@cea.fr" | ||
| authors: "Virgile Prevosto" | ||
| license: "LGPL-2.1-only" | ||
| tags: ["formal specification" "C++" "plugins" "ACSL" "ACSL++"] | ||
| homepage: "https://frama-c.com/frama-clang.html" | ||
| bug-reports: "https://git.frama-c.com/pub/frama-clang/-/issues" | ||
| depends: [ | ||
| "dune" {>= "3.13" & != "3.13.0"} | ||
| "frama-c" {>= "32.0~" & < "33.0~"} | ||
| "zarith" {>= "1.5"} | ||
| "camlp5" | ||
| "camlp-streams" | ||
| "conf-libclang" {>= "11.0.0" & < "20"} | ||
| "conf-clang" | ||
| "conf-cmake" | ||
| "odoc" {with-doc} | ||
| ] | ||
| build: [ | ||
| ["dune" "subst"] {dev} | ||
| [ | ||
| "dune" | ||
| "build" | ||
| "-p" | ||
| name | ||
| "-j" | ||
| jobs | ||
| "--promote-install-files=false" | ||
| "@install" | ||
| "@runtest" {with-test} | ||
| "@doc" {with-doc} | ||
| ] | ||
| ["dune" "install" "-p" name "--create-install-files" name] | ||
| ] | ||
| dev-repo: "git+https://git.frama-c.com/pub/frama-clang.git" | ||
| url { | ||
| src: | ||
| "https://git.frama-c.com/pub/frama-clang/-/archive/0.0.19-beta/frama-clang-0.0.19-beta.tar.bz2" | ||
| checksum: [ | ||
| "md5=2075190f6b1e760a241117d0b184a0b6" | ||
| "sha512=69ec73d483435b549fc9c8b785faeb7baf5968c77d938b5386437202cd42bd492a3e39f6d706ff5422de42183e05054b785e25d4c715fa5e901a566677ebdb5c" | ||
| ] | ||
| } | ||
| x-ci-accept-failures: ["debian-11" "ubuntu-20.04"] | ||
Oops, something went wrong.
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.
I now realize a new all-green
conf-libclang.21is not going to help here! 😅Could you explain why there is such a conservative upper bound here?
We generally try to avoid them unless there is a good reason for it https://github.com/ocaml/opam-repository/tree/master/governance/policies#5-strict-dependency-constraints-should-be-avoided---or-preventive-upper-bounds
Up until #28950
conf-libclang.15was the repo's max version... 🤔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 are known incompatibilities with clang 21. I have a branch to work on that, but it is not planned to be merged for this release of frama-clang, especially as it involves some changes to the architecture of the plug-in to better abide with clang's guidelines. Generally speaking, there are very often a few changes in libclang's API that break frama-clang between two major versions, hence the upper bound.
By the way, thanks for your efforts on this topic!
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.
Ah, thanks for clarrifying! Sounds like we should roll a
conf-libclang.19as we also discussed...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.
Added in #28968