1
+ opam-version: "2.0"
2
+ synopsis:
3
+ "MOPSA: A Modular and Open Platform for Static Analysis using Abstract Interpretation"
4
+ description: """\
5
+ MOPSA is a generic framework for building sound static analyzers based on Abstract Interpretation.
6
+ It features a modular architecture to support different kinds of languages, iterators, and abstract domains.
7
+ For the moment, MOPSA can analyze programs written in a subset of C and Python.
8
+ It reports run-time errors on C programs and uncaught exceptions on Python programs."""
9
+ maintainer: [
10
+ "Antoine Miné <antoine.mine@lip6.fr>"
11
+ "Abdelraouf Ouadjaout <ouadjaout@gmail.com>"
12
+ "Raphaël Monat <raphael.monat@inria.fr>"
13
+ ]
14
+ authors: [
15
+ "Antoine Miné"
16
+ "Abdelraouf Ouadjaout"
17
+ "Matthieu Journault"
18
+ "Aymeric Fromherz"
19
+ "Raphaël Monat"
20
+ "Francesco Parolini"
21
+ "Marco Milanese"
22
+ "Jérôme Boillot"
23
+ ]
24
+ license: "LGPL-3.0-or-later"
25
+ homepage: "https://mopsa.lip6.fr"
26
+ doc: "https://mopsa.gitlab.io/mopsa-analyzer/user-manual/"
27
+ bug-reports: "https://gitlab.com/mopsa/mopsa-analyzer/issues"
28
+ depends: [
29
+ "ocaml" {>= "4.13.0"}
30
+ "dune" {>= "3.7"}
31
+ "ocamlfind"
32
+ "apron" {>= "0.9.15"}
33
+ "menhir" {>= "20180528"}
34
+ "mlgmpidl"
35
+ "yojson" {>= "1.6.0"}
36
+ "zarith" {>= "1.10"}
37
+ "odoc" {with-doc}
38
+ "arg-complete" {>= "0.2.1"}
39
+ "qcheck-core" {>= "0.26"}
40
+ ]
41
+ depopts: ["elina"]
42
+ available:
43
+ !(arch = "x86_32") & !(os-family = "windows") & opam-version >= "2.1.0"
44
+ build: [
45
+ ["./configure"] {os != "macos"}
46
+ [
47
+ "./configure"
48
+ "CLANG=/usr/local/opt/llvm/bin/clang"
49
+ "LLVMCONFIG=/usr/local/opt/llvm/bin/llvm-config"
50
+ ] {os = "macos" & arch = "x86_64"}
51
+ [
52
+ "./configure"
53
+ "CLANG=/opt/homebrew/opt/llvm/bin/clang"
54
+ "LLVMCONFIG=/opt/homebrew/opt/llvm/bin/llvm-config"
55
+ ] {os = "macos" & arch = "arm64"}
56
+ [make]
57
+ [make "tests"] {with-test}
58
+ ]
59
+ install: [make "install"]
60
+ post-messages:
61
+ """\
62
+ Mopsa installed.
63
+
64
+ If you want to enable **bash completion features**, please:
65
+ 1. Install bash-completion, if you do not have it already
66
+ 2. echo "source $OPAM_SWITCH_PREFIX/share/bash_completion/completions/mopsa-completion" >> ~/.bash_completion"""
67
+ {success}
68
+ depexts: [
69
+ ["clang" "libclang-cpp-dev" "libclang-dev" "llvm-dev"]
70
+ {os-distribution = "ubuntu" & os-version >= "21.04"}
71
+ ["clang" "libclang-11-dev" "libclang-cpp11-dev" "llvm-11-dev"]
72
+ {os-distribution = "ubuntu" & os-version = "20.10"}
73
+ ["clang" "libclang-12-dev" "libclang-cpp12-dev" "llvm-12-dev"]
74
+ {os-distribution = "ubuntu" & os-version = "20.04"}
75
+ ["clang" "libclang-cpp-dev" "libclang-dev" "llvm-dev"]
76
+ {os-distribution = "debian" & os-version >= "13"}
77
+ ["clang" "libclang-14-dev" "libclang-cpp14-dev" "llvm-14-dev"]
78
+ {os-distribution = "debian" & os-version = "12"}
79
+ ["clang-13" "libclang-13-dev" "libclang-cpp13-dev" "llvm-13-dev"]
80
+ {os-distribution = "debian" & os-version = "11"}
81
+ ["clang-13" "libclang-13-dev" "libclang-cpp13-dev" "llvm-13-dev"]
82
+ {os-distribution = "debian" & os-version = "10"}
83
+ ["clang-devel" "llvm-devel" "redhat-rpm-config"] {os-family = "fedora"}
84
+ ["clang" "llvm"] {os-family = "arch"}
85
+ ["clang17-dev" "llvm17-dev"]
86
+ {os-distribution = "alpine" & os-version >= "3.19"}
87
+ ["clang16-dev" "llvm16-dev"]
88
+ {os-distribution = "alpine" & os-version >= "3.18" & os-version < "3.19"}
89
+ ["clang15-dev" "llvm15-dev"]
90
+ {os-distribution = "alpine" & os-version >= "3.17" & os-version < "3.18"}
91
+ ["clang" "clang-devel" "llvm" "llvm-devel" "mpfr-devel"]
92
+ {os-distribution = "opensuse-tumbleweed"}
93
+ ["clang" "clang-devel" "llvm" "llvm-devel" "mpfr-devel"]
94
+ {os-distribution = "opensuse-leap"}
95
+ ["llvm-core/clang"] {os-distribution = "gentoo"}
96
+ ["llvm"] {os = "macos"}
97
+ ["devel/llvm"] {os = "freebsd"}
98
+ ]
99
+ dev-repo: "git+https://gitlab.com/mopsa/mopsa-analyzer.git"
100
+ url {
101
+ src:
102
+ "https://www.gitlab.com/mopsa/mopsa-analyzer/-/archive/v1.2/mopsa-analyzer-v1.2.tar.gz"
103
+ checksum: [
104
+ "md5=37966e98ffeebcedc09bd6e9b2b81f69"
105
+ "sha512=40d4d826c25f680766c07eccbabdf5e8a4fa023016e8a164e4e4f6b3781c8484dc4df437055721dfd19b9db8fb7fe3b61236c4833186d346fc7204a68d01eaaa"
106
+ ]
107
+ }
108
+ x-maintenance-intent: ["(latest)"]
0 commit comments