Skip to content

Commit 915054f

Browse files
authored
Merge pull request ocaml#23434 from MSoegtropIMC/z3_tptp.4.11.2
Add new version 4.11.2 for the TPTP front end for Z3
2 parents aadd037 + aec089a commit 915054f

File tree

1 file changed

+37
-0
lines changed
  • packages/z3_tptp/z3_tptp.4.11.2

1 file changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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+
# OK, this is really ugly, but it is quite hard to do this via z3's make system
9+
# using an already installed opam z3.
10+
# Also this should be quite robust with just source 2 files and opam knowns the
11+
# library folder better than any configure script.
12+
build: [
13+
[ "g++"
14+
"-I./src/api/c++"
15+
"-I./src/api"
16+
"-std=c++11"
17+
"-L%{lib}%/stublibs"
18+
"-o" "z3_tptp"
19+
"examples/tptp/tptp5.cpp" "examples/tptp/tptp5.lex.cpp"
20+
"-lz3"
21+
"-Wl,-rpath"
22+
"-Wl,%{lib}%/stublibs"
23+
]
24+
]
25+
install: [ "cp" "z3_tptp" "%{bin}%/z3_tptp" ]
26+
depends: [
27+
"z3" { = "4.11.2" }
28+
"conf-g++" {build}
29+
]
30+
synopsis: "TPTP front end for Z3 solver"
31+
url {
32+
src: "https://github.com/Z3Prover/z3/archive/refs/tags/z3-4.11.2.tar.gz"
33+
checksum: [
34+
"sha512=be2573d38c0e50b46fcb025d50335e016769fdeab3c26f5dc2a13102fae889d23039258ea8d38de3f53daa4cf073704d8639ac291e781a74633194adedaae21a"
35+
"sha256=e3a82431b95412408a9c994466fad7252135c8ed3f719c986cd75c8c5f234c7e"
36+
]
37+
}

0 commit comments

Comments
 (0)