File tree Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Original file line number Diff line number Diff line change 1+ opam-version: "2.0"
2+ 3+ authors: "MSR"
4+ homepage: "https://github.com/Z3prover/z3"
5+ bug-reports: "https://github.com/Z3prover/z3/issues"
6+ license: "MIT"
7+ dev-repo: "git+https://github.com/Z3prover/z3.git"
8+ depexts: [
9+ ["python3-distutils"] {os-family = "debian"}
10+ ]
11+ patches: [
12+ "gccstd-2a.patch" { (os-family = "opensuse" | os-family = "suse") | (os-distribution = "ubuntu" & os-version <= "20.04") }
13+ ]
14+ build: [
15+ [ "python3" "scripts/mk_make.py" "--ml" ]
16+ [ make "-C" "build" "-j" jobs ]
17+ ]
18+
19+ install: [
20+ [ "sh" "-c" "ocamlfind install z3 build/api/ml/* -dll build/libz3.*"]
21+ [ "cp" "build/z3" "%{bin}%/z3"]
22+ ]
23+
24+ depends: [
25+ "ocaml" {>= "4.08.0"}
26+ "ocamlfind" {build}
27+ "zarith"
28+ "conf-python-3" {build}
29+ "conf-c++" {build}
30+ ]
31+ x-ci-accept-failures: [
32+ "centos-7" "oraclelinux-7" "opensuse-15.6" # C compiler is too old
33+ ]
34+ conflicts: [
35+ "ocaml-option-bytecode-only"
36+ ]
37+ synopsis: "Z3 solver"
38+ url {
39+ src:
40+ "https://github.com/Z3Prover/z3/archive/refs/tags/z3-4.15.1.tar.gz"
41+ checksum: [
42+ "sha256=ebf6eed5f2cb217d62abddaa94526189ae40bf3c415fb9c2e2128e099f16fda0"
43+ "sha512=50af354056b3e796a39f1e53525c1fb4039f4a76c13fbf2ce5d57dc62a941acb5ecc7436a519898ae0af3cc5660bfb50100e0532b3a3b7d6f932308fb639b642"
44+ ]
45+ }
46+ extra-source "gccstd-2a.patch" {
47+ src:
48+ "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/z3/gccstd-2a.patch"
49+ checksum:
50+ "sha256=ae4088ff14739bcc2cadc90bc428f08277e898b832f6b859a46e23c584d513c8"
51+ }
You can’t perform that action at this time.
0 commit comments