File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Expand file tree Collapse file tree 1 file changed +48
-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
+ patches: [
9
+ "libatomic.patch"
10
+ ]
11
+ build: [
12
+ [ "python3" "scripts/mk_make.py" "--ml" ]
13
+ [ make "-C" "build" "-j" jobs ]
14
+ ]
15
+
16
+ install: [
17
+ [ "sh" "-c" "ocamlfind install z3 build/api/ml/* -dll build/libz3.*"]
18
+ [ "cp" "build/z3" "%{bin}%/z3"]
19
+ ]
20
+
21
+ depends: [
22
+ "ocaml" {>= "4.08.0"}
23
+ "ocamlfind" {build}
24
+ "zarith"
25
+ "conf-python-3" {build}
26
+ "conf-c++" {build}
27
+ ]
28
+ x-ci-accept-failures: [
29
+ "centos-7" "oraclelinux-7" # C compiler is too old
30
+ ]
31
+ conflicts: [
32
+ "ocaml-option-bytecode-only"
33
+ ]
34
+ synopsis: "Z3 solver"
35
+ url {
36
+ src:
37
+ "https://github.com/Z3Prover/z3/archive/refs/tags/z3-4.13.0.tar.gz"
38
+ checksum: [
39
+ "sha256=01bcc61c8362e37bb89fd2430f7e3385e86df7915019bd2ce45de9d9bd934502"
40
+ "sha512=8503787fe0b18592b5a131bcec2cacfa5f5096d76386a1c4fda7a836e472924b154433306d27600ff0d0758ddb710c965901fbfc2e5605919b624b9d4d1bc4fd"
41
+ ]
42
+ }
43
+ extra-source "libatomic.patch" {
44
+ src:
45
+ "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/z3/libatomic.patch"
46
+ checksum:
47
+ "sha256=4c07050a7f437179fd349d0bd62c03d43844c0f7273fbe0dc35f77dda777d5e4"
48
+ }
You can’t perform that action at this time.
0 commit comments