Skip to content

Commit 9ddad6a

Browse files
authored
Merge pull request #26147 from wintersteiger/christoph/z3-4.13.0-3
Z3: remove dependency on gmp
2 parents cd6f5ac + f13072c commit 9ddad6a

File tree

1 file changed

+48
-0
lines changed
  • packages/z3/z3.4.13.0-3

1 file changed

+48
-0
lines changed

packages/z3/z3.4.13.0-3/opam

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
opam-version: "2.0"
2+
maintainer: "[email protected]"
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+
}

0 commit comments

Comments
 (0)